dolibarr/htdocs/admin/tools/index.php

63 lines
1.8 KiB
PHP
Raw Normal View History

2006-08-20 19:15:47 +00:00
<?php
2012-08-02 08:07:55 +00:00
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2006 Laurent Destailleur <eldy@users.sourceforge.net>
2018-10-27 12:43:12 +00:00
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@inodbox.com>
2006-08-20 19:15:47 +00: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
* the Free Software Foundation; either version 3 of the License, or
2006-08-20 19:15:47 +00: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
2019-09-23 19:55:30 +00:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2006-08-20 19:15:47 +00:00
*/
/**
2009-07-26 11:19:11 +00:00
* \file htdocs/admin/tools/index.php
* \brief Page d'accueil de l'espace outils admin
*/
2006-08-20 19:15:47 +00:00
require '../../main.inc.php';
2006-08-20 19:15:47 +00:00
2018-09-08 08:30:10 +00:00
// Load translation files required by the page
$langs->loadLangs(array("companies", "admin"));
2006-08-20 19:15:47 +00:00
2021-02-26 21:04:03 +00:00
if (!$user->admin) {
2012-08-02 08:07:55 +00:00
accessforbidden();
2021-02-26 21:04:03 +00:00
}
2006-08-20 19:15:47 +00:00
/*
2009-07-26 11:19:11 +00:00
* View
2006-08-20 19:15:47 +00:00
*/
$form = new Form($db);
$title = $langs->trans("AdminTools");
//if (GETPOST('leftmenu',"aZ09") == 'admintools') $title=$langs->trans("ModulesSystemTools");
2012-09-05 14:20:51 +00:00
2016-04-09 14:04:07 +00:00
llxHeader('', $title);
2006-08-20 19:15:47 +00:00
print load_fiche_titre($title, '', 'title_setup');
2006-08-20 19:15:47 +00:00
2006-12-08 23:35:28 +00:00
print $langs->trans("SystemToolsAreaDesc").'<br>';
print "<br>";
2006-12-08 23:35:28 +00:00
print info_admin($langs->trans("SystemAreaForAdminOnly")).'<br>';
2006-08-20 19:15:47 +00:00
2013-01-14 14:18:15 +00:00
print '<br><br>';
2013-01-16 14:54:07 +00:00
// Show logo
2015-05-31 14:36:11 +00: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>
2015-05-31 14:36:11 +00:00
2018-07-28 12:29:28 +00:00
// End of page
llxFooter();
2012-08-02 08:07:55 +00:00
$db->close();