Changeset 32332
- Timestamp:
- Nov 14, 2020, 11:32:10 AM (3 years ago)
- Location:
- extensions/add_head_element
- Files:
-
- 27 added
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/add_head_element/admin.php
r31463 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Add < head > element plugin for piwigo 3 // | Add < head > element plugin for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2011 - 20 16ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/add_head_element/index.php
r31463 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 2 9 // Recursive call 3 10 $url = '../'; -
extensions/add_head_element/language/bg_BG/index.php
r19140 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/br_FR/index.php
r25468 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/ca_ES/index.php
r15000 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/da_DK/index.php
r18043 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/el_GR/index.php
r15012 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/en_UK/index.php
r31463 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 2 9 // Recursive call 3 10 $url = '../'; -
extensions/add_head_element/language/en_UK/plugin.lang.php
r31463 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Add < head > element plugin for piwigo 3 // | Add < head > element plugin for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2011 - 20 16ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/add_head_element/language/et_EE/index.php
r16872 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/fr_CA/index.php
r25269 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Piwigo - a PHP based picture gallery | 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 8 // +-----------------------------------------------------------------------+ 9 // | This program is free software; you can redistribute it and/or modify | 10 // | it under the terms of the GNU General Public License as published by | 11 // | the Free Software Foundation | 3 // | This file is part of Piwigo. | 12 4 // | | 13 // | This program is distributed in the hope that it will be useful, but | 14 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU General Public License | 19 // | along with this program; if not, write to the Free Software | 20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 21 // | USA. | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 22 7 // +-----------------------------------------------------------------------+ 23 8 -
extensions/add_head_element/language/fr_FR/index.php
r31463 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 2 9 // Recursive call 3 10 $url = '../'; -
extensions/add_head_element/language/fr_FR/plugin.lang.php
r31463 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Add < head > element plugin for piwigo 3 // | Add < head > element plugin for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2011 - 20 16ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/add_head_element/language/hu_HU/index.php
r15697 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/index.php
r12496 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Piwigo - a PHP based picture gallery | 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 8 // +-----------------------------------------------------------------------+ 9 // | This program is free software; you can redistribute it and/or modify | 10 // | it under the terms of the GNU General Public License as published by | 11 // | the Free Software Foundation | 3 // | This file is part of Piwigo. | 12 4 // | | 13 // | This program is distributed in the hope that it will be useful, but | 14 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU General Public License | 19 // | along with this program; if not, write to the Free Software | 20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 21 // | USA. | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 22 7 // +-----------------------------------------------------------------------+ 23 8 -
extensions/add_head_element/language/nb_NO/index.php
r21264 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/sk_SK/index.php
r12512 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Piwigo - a PHP based picture gallery | 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-2009 Piwigo Team http://piwigo.org | 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | 8 // +-----------------------------------------------------------------------+ 9 // | This program is free software; you can redistribute it and/or modify | 10 // | it under the terms of the GNU General Public License as published by | 11 // | the Free Software Foundation | 3 // | This file is part of Piwigo. | 12 4 // | | 13 // | This program is distributed in the hope that it will be useful, but | 14 // | WITHOUT ANY WARRANTY; without even the implied warranty of | 15 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 // | General Public License for more details. | 17 // | | 18 // | You should have received a copy of the GNU General Public License | 19 // | along with this program; if not, write to the Free Software | 20 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | 21 // | USA. | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 22 7 // +-----------------------------------------------------------------------+ 23 8 -
extensions/add_head_element/language/sr_RS/index.php
r27973 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/sv_SE/index.php
r20512 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/th_TH/index.php
r18348 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/tr_TR/index.php
r16224 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/language/zh_CN/index.php
r17478 r32332 1 1 <?php 2 // +-----------------------------------------------------------------------+ 3 // | This file is part of Piwigo. | 4 // | | 5 // | For copyright and license information, please view the COPYING.txt | 6 // | file that was distributed with this source code. | 7 // +-----------------------------------------------------------------------+ 8 9 // Recursive call 2 10 $url = '../'; 3 11 header( 'Request-URI: '.$url ); -
extensions/add_head_element/main.inc.php
r31463 r32332 10 10 11 11 // +-----------------------------------------------------------------------+ 12 // | Add < head > element plugin for piwigo 12 // | Add < head > element plugin for piwigo by TEMMII | 13 13 // +-----------------------------------------------------------------------+ 14 // | Copyright(C) 2011 - 20 16ddtddt http://temmii.com/piwigo/ |14 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 15 15 // +-----------------------------------------------------------------------+ 16 16 // | This program is free software; you can redistribute it and/or modify | … … 35 35 define('AHE_DIR' , basename(dirname(__FILE__))); 36 36 define('AHE_PATH' , PHPWG_PLUGINS_PATH . AHE_DIR . '/'); 37 define('AHE_ADMIN' , get_root_url().'admin.php?page=plugin-'.AHE_DIR); 37 38 38 39 add_event_handler('loading_lang', 'Add_head_element_loading_lang'); … … 42 43 43 44 add_event_handler('get_admin_plugin_menu_links', 'AHE_admin_menu'); 44 function AHE_admin_menu($menu) 45 { 46 array_push( 47 $menu, 48 array( 49 'NAME' => l10n('Add < head > element'), 50 'URL' => get_root_url().'admin.php?page=plugin-add_head_element' 51 ) 45 function AHE_admin_menu($menu){ 46 if (is_webmaster()){ 47 load_language('plugin.lang', AHE_PATH); 48 $menu[] = array( 49 'NAME' => l10n('Add < head > element'), 50 'URL' => AHE_ADMIN, 52 51 ); 53 52 } 54 53 return $menu; 55 54 } … … 58 57 //add in <head> 59 58 add_event_handler('loc_begin_page_header', 'AHE1',20 ); 60 61 function AHE1() 62 { 59 function AHE1(){ 63 60 global $template,$conf; 64 65 61 if (isset($conf['add_head_element_apply_on'])) 66 62 { -
extensions/add_head_element/maintain.class.php
r31463 r32332 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // | Perso About plugin for piwigo|3 // | Add < head > element plugin for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 201 0 - 2016ddtddt http://temmii.com/piwigo/ |5 // | Copyright(C) 2011 - 2020 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify |
Note: See TracChangeset
for help on using the changeset viewer.