dolibarr/htdocs/core/tools.php

61 lines
1.6 KiB
PHP
Raw Normal View History

2011-02-14 19:01:52 +01:00
<?php
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>
2018-10-27 14:43:12 +02:00
* Copyright (C) 2005-2010 Regis Houssin <regis.houssin@inodbox.com>
2011-02-14 19:01:52 +01: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
2011-02-14 19:01:52 +01: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 21:55:30 +02:00
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2011-02-14 19:01:52 +01:00
*/
/**
* \file htdocs/core/tools.php
* \brief Home page for top menu tools
*/
require '../main.inc.php';
2011-02-14 19:01:52 +01:00
2018-09-15 11:51:21 +02:00
// Load translation files required by the page
$langs->loadLangs(array("companies", "other"));
2011-02-14 19:01:52 +01:00
// Security check
$socid = 0;
2021-02-23 22:03:23 +01:00
if ($user->socid > 0) {
$socid = $user->socid;
}
2011-02-14 19:08:44 +01:00
2011-02-14 19:01:52 +01:00
/*
* View
*/
$socstatic = new Societe($db);
2011-02-14 19:01:52 +01:00
llxHeader("", $langs->trans("Tools"), "");
2011-02-14 19:01:52 +01:00
$text = $langs->trans("Tools");
2011-02-14 19:01:52 +01:00
2019-10-02 19:04:24 +02:00
print load_fiche_titre($text, '', 'wrench');
2011-02-14 19:01:52 +01:00
// Show description of content
2020-05-14 14:56:15 +02:00
print '<div class="justify opacitymedium">'.$langs->trans("ToolsDesc").'</div><br><br>';
2011-02-14 19:01:52 +01:00
2017-09-19 02:01:05 +02:00
// Show logo
print '<div class="center"><div class="logo_setup"></div></div>';
2011-02-14 19:01:52 +01:00
llxFooter();
$db->close();