Ignore:
Timestamp:
Mar 18, 2016, 9:18:56 PM (8 years ago)
Author:
ddtddt
Message:

[extensions] - title - 2.8

File:
1 edited

Legend:

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

    r29793 r31456  
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=507
    77Author: ddtddt
    8 Author URI: http://piwigo.org/
     8Author URI: http://temmii.com/piwigo/
    99*/
     10
     11// +-----------------------------------------------------------------------+
     12// | Title 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// +-----------------------------------------------------------------------+
    1030
    1131if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    1838define('TITLE_PHOTO_TABLE' , $prefixeTable . 'title_photo');
    1939define('TITLE_ALBUM_TABLE' , $prefixeTable . 'title_album');
     40define('TITLE_ADMIN',get_root_url().'admin.php?page=plugin-'.TITLE_DIR);
     41
     42add_event_handler('loading_lang', 'title_loading_lang');         
     43function title_loading_lang(){
     44  load_language('plugin.lang', TITLE_PATH);
     45}
    2046
    2147//prefiltre for change <title>
Note: See TracChangeset for help on using the changeset viewer.