Changeset 29664


Ignore:
Timestamp:
Sep 20, 2014, 1:36:34 PM (10 years ago)
Author:
plg
Message:

remove link to tour 2.7.0 on list_check_integrity trigger (it will always be shown), we will have a link at the end of the upgrade instead (much more visible)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TakeATour/main.inc.php

    r29646 r29664  
    109109}
    110110
    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 
    123111/** Add admin menu link **/
    124112add_event_handler('get_admin_plugin_menu_links', 'TAT_admin_menu' );
Note: See TracChangeset for help on using the changeset viewer.