Changeset 27129 for extensions/LCAS/trunk/main.inc.php
- Timestamp:
- Feb 1, 2014, 10:35:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/main.inc.php
r25774 r27129 2 2 /* 3 3 Plugin Name: LCAS 4 Version: 2. 2.44 Version: 2.3.0 5 5 Description: Allow to disable login/register name to be sensible to the case/accents 6 6 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=513 … … 38 38 $name = $plugin['name']; 39 39 40 // Compliance with Piwigo 2.2 41 if (version_compare(PHPWG_VERSION, '2.2', '>=') ) 42 { 43 array_push($menu, 44 array( 45 'NAME' => $name, 46 'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH) 47 ) 48 ); 49 } 50 else // Compliance with Piwigo 2.1 51 { 52 array_push($menu, 53 array( 54 'NAME' => $name, 55 'URL' => get_admin_plugin_menu_link(LCAS_PATH.'/admin/LCAS_admin.php') 56 ) 57 ); 58 } 40 array_push($menu, 41 array( 42 'NAME' => $name, 43 'URL' => get_root_url().'admin.php?page=plugin-'.basename(LCAS_PATH) 44 ) 45 ); 59 46 60 47 return $menu;
Note: See TracChangeset
for help on using the changeset viewer.