Ignore:
Timestamp:
Mar 18, 2016, 10:25:17 PM (8 years ago)
Author:
ddtddt
Message:

[extensions] - PersoFooter - 2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PersoFooter/main.inc.php

    r29271 r31458  
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=554
    77Author: ddtddt
    8 Author URI: http://piwigo.org/
     8Author URI: http://temmii.com/piwigo/
    99*/
     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// +-----------------------------------------------------------------------+
    1029
    1130if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    1332define('PFT_DIR' , basename(dirname(__FILE__)));
    1433define('PFT_PATH' , PHPWG_PLUGINS_PATH . PFT_DIR . '/');
     34define('PFT_ADMIN',get_root_url().'admin.php?page=plugin-'.PFT_DIR);
    1535
    1636add_event_handler('get_admin_plugin_menu_links', 'PFT_admin_menu');
     
    1939  array_push($menu, array(
    2040        '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')));
    2242  return $menu;
    2343}
Note: See TracChangeset for help on using the changeset viewer.