Changeset 31463 for extensions/add_head_element/main.inc.php
- Timestamp:
- Mar 19, 2016, 6:40:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/add_head_element/main.inc.php
r23583 r31463 1 1 <?php 2 2 /* 3 Plugin Name: Plugin add < head > element3 Plugin Name: Add < head > element 4 4 Version: auto 5 5 Description: Add element to tag < head > 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=582 7 7 Author: ddtddt 8 Author URI: http:// piwigo.org/8 Author URI: http://temmii.com/piwigo/ 9 9 */ 10 11 // +-----------------------------------------------------------------------+ 12 // | Add < head > element plugin for piwigo | 13 // +-----------------------------------------------------------------------+ 14 // | Copyright(C) 2011 - 2016 ddtddt http://temmii.com/piwigo/ | 15 // +-----------------------------------------------------------------------+ 16 // | This program is free software; you can redistribute it and/or modify | 17 // | it under the terms of the GNU General Public License as published by | 18 // | the Free Software Foundation | 19 // | | 20 // | This program is distributed in the hope that it will be useful, but | 21 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 22 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 23 // | General Public License for more details. | 24 // | | 25 // | You should have received a copy of the GNU General Public License | 26 // | along with this program; if not, write to the Free Software | 27 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 28 // | USA. | 29 // +-----------------------------------------------------------------------+ 10 30 11 31 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 16 36 define('AHE_PATH' , PHPWG_PLUGINS_PATH . AHE_DIR . '/'); 17 37 38 add_event_handler('loading_lang', 'Add_head_element_loading_lang'); 39 function Add_head_element_loading_lang(){ 40 load_language('plugin.lang', AHE_PATH); 41 } 42 18 43 add_event_handler('get_admin_plugin_menu_links', 'AHE_admin_menu'); 19 44 function AHE_admin_menu($menu) … … 22 47 $menu, 23 48 array( 24 'NAME' => 'Add < head > element',49 'NAME' => l10n('Add < head > element'), 25 50 'URL' => get_root_url().'admin.php?page=plugin-add_head_element' 26 51 )
Note: See TracChangeset
for help on using the changeset viewer.