Changeset 32904


Ignore:
Timestamp:
Jan 15, 2023, 5:26:48 PM (16 months ago)
Author:
ddtddt
Message:

[PersoFooter] compatybilité php8

Location:
extensions/PersoFooter
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/PersoFooter/admin.php

    r32387 r32904  
    33// | Perso Footer plugin for Piwigo by TEMMII                              |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2011 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2011 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/PersoFooter/language/en_UK/plugin.lang.php

    r32387 r32904  
    33// | Perso Footer plugin for Piwigo by TEMMII                              |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2011 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2011 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/PersoFooter/language/fr_FR/plugin.lang.php

    r32387 r32904  
    33// | Perso Footer plugin for Piwigo by TEMMII                              |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2011 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2011 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
  • extensions/PersoFooter/main.inc.php

    r32387 r32904  
    1212// | Perso Footer plugin for Piwigo by TEMMII                              |
    1313// +-----------------------------------------------------------------------+
    14 // | Copyright(C) 2011 - 2021 ddtddt             http://temmii.com/piwigo/ |
     14// | Copyright(C) 2011 - 2023 ddtddt             http://temmii.com/piwigo/ |
    1515// +-----------------------------------------------------------------------+
    1616// | This program is free software; you can redistribute it and/or modify  |
     
    3434define('PFT_PATH' , PHPWG_PLUGINS_PATH . PFT_DIR . '/');
    3535define('PFT_ADMIN',get_root_url().'admin.php?page=plugin-'.PFT_DIR);
    36 /*
    37 add_event_handler('get_admin_plugin_menu_links', 'PFT_admin_menu');
    38 function PFT_admin_menu($menu){
    39   if (is_webmaster()){
    40         array_push($menu, array(
    41           'NAME' => 'Perso Footer',
    42           'URL' => PFT_ADMIN));
    43   }
    44   return $menu;
    45 }*/
    4636
    4737add_event_handler('loc_end_page_tail', 'pft');
     
    5343        $pat=trigger_change('AP_render_content', $conf['persoFooter']);
    5444         if (!empty($pat)){
    55                  $template->assign('PERSO_FOOTER2', $pat);
     45                $template->assign('PERSO_FOOTER2', $pat);
     46        }else{
     47                $template->assign('PERSO_FOOTER2', "");
    5648        }
    5749        $template->set_filename('PERSO_FOOTER', realpath(PFT_PATH.'persofooter.tpl')); 
  • extensions/PersoFooter/maintain.class.php

    r32387 r32904  
    33// | Perso Footer plugin for Piwigo by TEMMII                              |
    44// +-----------------------------------------------------------------------+
    5 // | Copyright(C) 2011 - 2021 ddtddt             http://temmii.com/piwigo/ |
     5// | Copyright(C) 2011 - 2023 ddtddt             http://temmii.com/piwigo/ |
    66// +-----------------------------------------------------------------------+
    77// | This program is free software; you can redistribute it and/or modify  |
Note: See TracChangeset for help on using the changeset viewer.