/[drupal]/contributions/modules/block_refresh/block_refresh.install
ViewVC logotype

Contents of /contributions/modules/block_refresh/block_refresh.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Feb 28 21:29:47 2008 UTC (20 months, 3 weeks ago) by aaron
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/x-php
add css & begin manual refresh ability
1 <?php
2 // $Id:$
3
4 function block_refresh_install() {
5 block_refresh_reset_jq();
6 }
7
8 // support for block_refresh plugin
9 function block_refresh_update_1() {
10 block_refresh_reset_jq();
11 }
12
13 // add settings menu item, and change access to /block_refresh
14 function block_refresh_update_2() {
15 menu_rebuild();
16 }
17
18 /**
19 * register new plugin with jQ
20 */
21 function block_refresh_reset_jq() {
22 cache_clear_all('jq_plugins', 'cache');
23 }
24

  ViewVC Help
Powered by ViewVC 1.1.2