Changeset 11762 for extensions/showcase_subscribe
- Timestamp:
- Jul 17, 2011, 10:43:19 PM (13 years ago)
- Location:
- extensions/showcase_subscribe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/showcase_subscribe/admin.php
r11681 r11762 142 142 { 143 143 array_push( 144 $page[' warnings'],144 $page['infos'], 145 145 l10n('Your subscription is currently pending, if you have provided an email, you will be notified as soon as your gallery is registered') 146 146 ); … … 150 150 { 151 151 array_push( 152 $page[' warnings'],152 $page['infos'], 153 153 sprintf( 154 154 l10n('Your gallery is already registered in Piwigo Showcase, <a href="%s">see it →</a>'), -
extensions/showcase_subscribe/main.inc.php
r11761 r11762 18 18 function showcase_subscribe_menu($menu) 19 19 { 20 if (preg_match('/^2.1/', PHPWG_VERSION)) 21 { 22 $url = get_admin_plugin_menu_link(dirname(__FILE__).'/admin.php'); 23 } 24 else 25 { 26 $url = get_root_url().'admin.php?page=plugin-showcase_subscribe'; 27 } 28 20 29 array_push( 21 30 $menu, 22 31 array( 23 32 'NAME' => 'Showcase', 24 'URL' => get_root_url().'admin.php?page=plugin-showcase_subscribe'33 'URL' => $url, 25 34 ) 26 35 );
Note: See TracChangeset
for help on using the changeset viewer.