source: extensions/de_activate_all_languages/main.inc.php @ 32942

Last change on this file since 32942 was 32942, checked in by ddtddt, 22 months ago

[de_activate_all_languages] check php8 and Piwigo13

File size: 2.2 KB
Line 
1<?php
2/*
3Plugin Name: de_activate all language
4Version: auto
5Description: Add the option Deactivate / Activate all languages on the language management page
6Plugin URI: http://piwigo.org/ext/extension_view.php?eid=826
7Author: ddtddt
8Author URI: http://temmii.com/piwigo/
9*/
10
11// +-----------------------------------------------------------------------+
12// | de_activate all language plugin for piwigo by TEMMII                  |
13// +-----------------------------------------------------------------------+
14// | Copyright(C) 2010-2023 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// +-----------------------------------------------------------------------+
30
31if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
32
33// +-----------------------------------------------------------------------+
34// | Define plugin constants                                               |
35// +-----------------------------------------------------------------------+
36
37define('DAL_ID', basename(dirname(__FILE__)));
38define('DAL_PATH', PHPWG_PLUGINS_PATH.DAL_ID.'/');
39
40// Plugin for admin
41if (script_basename() == 'admin') {
42    include_once(dirname(__FILE__) . '/initadmin.php');
43}
Note: See TracBrowser for help on using the repository browser.