Parent Directory
|
Revision Log
|
Revision Graph
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 |