Changeset 29664 for trunk/plugins/TakeATour/main.inc.php
- Timestamp:
- Sep 20, 2014, 1:36:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/TakeATour/main.inc.php
r29646 r29664 109 109 } 110 110 111 /** After a Piwigo Update **/112 add_event_handler('list_check_integrity', 'TAT_prompt');113 function TAT_prompt($c13y)114 {115 global $page;116 $version_=str_replace('.','_',PHPWG_VERSION);117 if (file_exists('tours/'.$version_.'/config.inc.php'))118 {119 $page['infos'][] = '<a href="'.get_root_url().'admin.php?submited_tour_path=tours/'.$version_.'&pwg_token='.get_pwg_token().'">'.l10n('Discover what is new in the version %s of Piwigo', PHPWG_VERSION).'</a>';120 }121 }122 123 111 /** Add admin menu link **/ 124 112 add_event_handler('get_admin_plugin_menu_links', 'TAT_admin_menu' );
Note: See TracChangeset
for help on using the changeset viewer.