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

Contents of /contributions/modules/jquery_media/jquery_media.install

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


Revision 1.3 - (show annotations) (download) (as text)
Wed Apr 30 00:37:48 2008 UTC (18 months, 3 weeks ago) by aaron
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-5--1-3, DRUPAL-5--1-2, HEAD
Branch point for: DRUPAL-6--1
Changes since 1.2: +10 -0 lines
File MIME type: text/x-php
latest updates
1 <?php
2 // $Id: jquery_media.install,v 1.1 2008/03/26 01:45:57 aaron Exp $
3
4 function jquery_media_install() {
5 jquery_media_reset_jq();
6 }
7
8 function jquery_media_update_1() {
9 jquery_media_reset_jq();
10 }
11
12 /**
13 * add new menu item, and register new settings to jQ
14 */
15 function jquery_media_update_2() {
16 jquery_media_reset_jq();
17 menu_rebuild();
18 }
19
20 /**
21 * update help
22 */
23 function jquery_media_update_3() {
24 menu_rebuild();
25 }
26
27 /**
28 * register this plugin with jQ
29 */
30 function jquery_media_reset_jq() {
31 cache_clear_all('jq_plugins', 'cache');
32 }

  ViewVC Help
Powered by ViewVC 1.1.2