Changeset 31458 for extensions/PersoFooter/main.inc.php
- Timestamp:
- Mar 18, 2016, 10:25:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PersoFooter/main.inc.php
r29271 r31458 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=554 7 7 Author: ddtddt 8 Author URI: http:// piwigo.org/8 Author URI: http://temmii.com/piwigo/ 9 9 */ 10 // +-----------------------------------------------------------------------+ 11 // | Perso Footer plugin for piwigo | 12 // +-----------------------------------------------------------------------+ 13 // | Copyright(C) 2011 - 2016 ddtddt http://temmii.com/piwigo/ | 14 // +-----------------------------------------------------------------------+ 15 // | This program is free software; you can redistribute it and/or modify | 16 // | it under the terms of the GNU General Public License as published by | 17 // | the Free Software Foundation | 18 // | | 19 // | This program is distributed in the hope that it will be useful, but | 20 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 21 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 22 // | General Public License for more details. | 23 // | | 24 // | You should have received a copy of the GNU General Public License | 25 // | along with this program; if not, write to the Free Software | 26 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 27 // | USA. | 28 // +-----------------------------------------------------------------------+ 10 29 11 30 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 13 32 define('PFT_DIR' , basename(dirname(__FILE__))); 14 33 define('PFT_PATH' , PHPWG_PLUGINS_PATH . PFT_DIR . '/'); 34 define('PFT_ADMIN',get_root_url().'admin.php?page=plugin-'.PFT_DIR); 15 35 16 36 add_event_handler('get_admin_plugin_menu_links', 'PFT_admin_menu'); … … 19 39 array_push($menu, array( 20 40 'NAME' => 'Perso Footer', 21 'URL' => get_admin_plugin_menu_link(PFT_PATH . 'admin /admin.php')));41 'URL' => get_admin_plugin_menu_link(PFT_PATH . 'admin.php'))); 22 42 return $menu; 23 43 }
Note: See TracChangeset
for help on using the changeset viewer.