2006-08-20 21:15:47 +02:00
|
|
|
<?php
|
2012-08-02 10:07:55 +02:00
|
|
|
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
|
|
|
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
2012-12-30 15:11:07 +01:00
|
|
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
2006-08-20 21:15:47 +02:00
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2006-08-20 21:15:47 +02:00
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2011-08-03 02:45:22 +02:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2006-08-20 21:15:47 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
2009-07-26 13:19:11 +02:00
|
|
|
* \file htdocs/admin/tools/index.php
|
|
|
|
|
* \brief Page d'accueil de l'espace outils admin
|
|
|
|
|
*/
|
2006-08-20 21:15:47 +02:00
|
|
|
|
2012-08-22 23:24:21 +02:00
|
|
|
require '../../main.inc.php';
|
2006-08-20 21:15:47 +02:00
|
|
|
|
|
|
|
|
$langs->load("admin");
|
|
|
|
|
$langs->load("companies");
|
|
|
|
|
|
2012-08-02 10:07:55 +02:00
|
|
|
if (! $user->admin)
|
|
|
|
|
accessforbidden();
|
2006-08-20 21:15:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
2009-07-26 13:19:11 +02:00
|
|
|
* View
|
2006-08-20 21:15:47 +02:00
|
|
|
*/
|
|
|
|
|
|
2013-09-06 12:10:09 +02:00
|
|
|
$form = new Form($db);
|
|
|
|
|
|
2017-02-22 02:19:50 +01:00
|
|
|
$title=$langs->trans("AdminTools");
|
2017-06-18 21:13:48 +02:00
|
|
|
//if (GETPOST('leftmenu',"aZ09") == 'admintools') $title=$langs->trans("ModulesSystemTools");
|
2012-09-05 16:20:51 +02:00
|
|
|
|
2016-04-09 16:04:07 +02:00
|
|
|
llxHeader('', $title);
|
2006-08-20 21:15:47 +02:00
|
|
|
|
2015-09-24 18:33:48 +02:00
|
|
|
print load_fiche_titre($title,'','title_setup');
|
2006-08-20 21:15:47 +02:00
|
|
|
|
2006-12-09 00:35:28 +01:00
|
|
|
print $langs->trans("SystemToolsAreaDesc").'<br>';
|
|
|
|
|
print "<br>";
|
2006-11-11 16:52:17 +01:00
|
|
|
|
2006-12-09 00:35:28 +01:00
|
|
|
print info_admin($langs->trans("SystemAreaForAdminOnly")).'<br>';
|
2006-08-20 21:15:47 +02:00
|
|
|
|
2013-01-14 15:18:15 +01:00
|
|
|
print '<br><br>';
|
|
|
|
|
|
|
|
|
|
|
2013-01-16 15:54:07 +01:00
|
|
|
// Show logo
|
2015-05-31 16:36:11 +02:00
|
|
|
//print '<div class="center"><div class="logo_setup"></div></div>';
|
|
|
|
|
print '<center><div class="logo_setup"></div></center>'; // For a reason I don't know, the div class="center does not works, we must keep the <center>
|
|
|
|
|
|
2006-08-20 21:15:47 +02:00
|
|
|
|
2011-08-27 16:24:16 +02:00
|
|
|
llxFooter();
|
2012-08-02 10:07:55 +02:00
|
|
|
$db->close();
|