Changeset 32418
- Timestamp:
- Jan 19, 2021, 10:29:41 PM (3 years ago)
- Location:
- extensions/most_downloaded
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/most_downloaded/initadmin.php
r31453 r32418 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // |Most Downloaded for piwigo 3 // |Most Downloaded for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016 - 2021 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/most_downloaded/language/en_UK/index.php
r31453 r32418 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | PhpWebGallery - a PHP based picture gallery |4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |6 // +-----------------------------------------------------------------------+7 // | file : $Id: index.php 1912 2007-03-16 06:30:07Z rub $8 // | last update : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $9 // | last modifier : $Author: rub $10 // | revision : $Revision: 1912 $11 // +-----------------------------------------------------------------------+12 // | This program is free software; you can redistribute it and/or modify |13 // | it under the terms of the GNU General Public License as published by |14 // | the Free Software Foundation |15 // | |16 // | This program is distributed in the hope that it will be useful, but |17 // | WITHOUT ANY WARRANTY; without even the implied warranty of |18 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |19 // | General Public License for more details. |20 // | |21 // | You should have received a copy of the GNU General Public License |22 // | along with this program; if not, write to the Free Software |23 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |24 // | USA. |25 // +-----------------------------------------------------------------------+26 27 2 // Recursive call 28 3 $url = '../'; -
extensions/most_downloaded/language/en_UK/plugin.lang.php
r31509 r32418 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // |Most Downloaded for piwigo 3 // |Most Downloaded for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016 - 2021 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/most_downloaded/language/fr_FR/index.php
r31453 r32418 1 1 <?php 2 // +-----------------------------------------------------------------------+3 // | PhpWebGallery - a PHP based picture gallery |4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |6 // +-----------------------------------------------------------------------+7 // | file : $Id: index.php 1912 2007-03-16 06:30:07Z rub $8 // | last update : $Date: 2007-03-16 07:30:07 +0100 (ven, 16 mar 2007) $9 // | last modifier : $Author: rub $10 // | revision : $Revision: 1912 $11 // +-----------------------------------------------------------------------+12 // | This program is free software; you can redistribute it and/or modify |13 // | it under the terms of the GNU General Public License as published by |14 // | the Free Software Foundation |15 // | |16 // | This program is distributed in the hope that it will be useful, but |17 // | WITHOUT ANY WARRANTY; without even the implied warranty of |18 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |19 // | General Public License for more details. |20 // | |21 // | You should have received a copy of the GNU General Public License |22 // | along with this program; if not, write to the Free Software |23 // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |24 // | USA. |25 // +-----------------------------------------------------------------------+26 27 2 // Recursive call 28 3 $url = '../'; -
extensions/most_downloaded/language/fr_FR/plugin.lang.php
r31785 r32418 1 1 <?php 2 2 // +-----------------------------------------------------------------------+ 3 // |Most Downloaded for piwigo 3 // |Most Downloaded for piwigo by TEMMII | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |5 // | Copyright(C) 2016 - 2021 ddtddt http://temmii.com/piwigo/ | 6 6 // +-----------------------------------------------------------------------+ 7 7 // | This program is free software; you can redistribute it and/or modify | -
extensions/most_downloaded/main.inc.php
r31453 r32418 10 10 11 11 // +-----------------------------------------------------------------------+ 12 // |Most Downloaded for piwigo 12 // |Most Downloaded for piwigo by TEMMII | 13 13 // +-----------------------------------------------------------------------+ 14 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |14 // | Copyright(C) 2016 - 2021 ddtddt http://temmii.com/piwigo/ | 15 15 // +-----------------------------------------------------------------------+ 16 16 // | This program is free software; you can redistribute it and/or modify | … … 38 38 } 39 39 40 $desac = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'download_counter';"));40 global $pwg_loaded_plugins; 41 41 42 if ($desac['state'] != 'active'){42 if (!isset($pwg_loaded_plugins['download_counter'])){ 43 43 if (script_basename() == 'admin'){ 44 44 include_once(dirname(__FILE__).'/initadmin.php'); 45 45 } 46 46 }else{ 47 48 47 49 48 add_event_handler('blockmanager_apply' , 'add_link_most_downloaded'); -
extensions/most_downloaded/maintain.class.php
r31453 r32418 2 2 3 3 // +-----------------------------------------------------------------------+ 4 // |Most Downloaded for piwigo 4 // |Most Downloaded for piwigo by TEMMII | 5 5 // +-----------------------------------------------------------------------+ 6 // | Copyright(C) 2016 ddtddthttp://temmii.com/piwigo/ |6 // | Copyright(C) 2016 - 2021 ddtddt http://temmii.com/piwigo/ | 7 7 // +-----------------------------------------------------------------------+ 8 8 // | This program is free software; you can redistribute it and/or modify |
Note: See TracChangeset
for help on using the changeset viewer.