dolibarr/htdocs/admin/index.php

88 lines
2.5 KiB
PHP
Raw Normal View History

<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
2009-01-21 14:20:26 +01:00
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
2003-01-18 18:15:23 +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 2 of the License, or
* (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-01 00:21:57 +02:00
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2003-01-18 18:15:23 +01:00
*/
/**
* \file htdocs/admin/index.php
* \brief Page d'accueil de l'espace administration/configuration
*/
require("../main.inc.php");
2003-01-18 18:15:23 +01:00
$langs->load("admin");
$langs->load("companies");
if (!$user->admin)
accessforbidden();
2009-01-21 14:20:26 +01:00
$mesg='';
/*
2009-01-21 14:20:26 +01:00
* View
*/
2009-05-18 01:54:07 +02:00
$wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones';
2010-05-26 13:42:29 +02:00
llxHeader('',$langs->trans("Setup"),$wikihelp);
2004-07-21 11:08:44 +02:00
$form = new Form($db);
print_fiche_titre($langs->trans("SetupArea"),'','setup');
2009-01-21 14:20:26 +01:00
if ($mesg) print $mesg.'<br>';
print $langs->trans("SetupDescription1").' ';
2009-09-07 03:06:05 +02:00
print $langs->trans("AreaForAdminOnly").' ';
2009-09-07 03:06:05 +02:00
//print "<br>";
//print "<br>";
print $langs->trans("SetupDescription2")."<br><br>";
2009-11-11 15:14:06 +01:00
print "<br>";
2009-08-21 22:22:46 +02:00
print "<br>";
2009-08-20 03:39:54 +02:00
//print '<hr style="color: #DDDDDD;">';
print img_picto('','puce').' '.$langs->trans("SetupDescription3")."<br>";
2009-08-20 03:39:54 +02:00
print '<br>';
2009-11-11 15:14:06 +01:00
print "<br>";
2009-08-20 03:39:54 +02:00
//print '<hr style="color: #DDDDDD;">';
print img_picto('','puce').' '.$langs->trans("SetupDescription4")."<br>";
2009-11-11 15:14:06 +01:00
print "<br>";
2009-08-20 03:39:54 +02:00
print '<br>';
//print '<hr style="color: #DDDDDD;">';
print img_picto('','puce').' '.$langs->trans("SetupDescription5")."<br>";
2009-08-20 03:39:54 +02:00
//print '<hr style="color: #DDDDDD;">';
print "<br>";
/*
print '<table width="100%">';
print '<tr '.$bc[false].'><td '.$bc[false].'>'.img_picto('','puce').' '.$langs->trans("SetupDescription3")."</td></tr>";
print '<tr '.$bc[true].'><td '.$bc[true].'>'.img_picto('','puce').' '.$langs->trans("SetupDescription4")."</td></tr>";
print '<tr '.$bc[false].'><td '.$bc[false].'>'.img_picto('','puce').' '.$langs->trans("SetupDescription5")."</td></tr>";
print '</table>';
*/
2009-08-20 03:39:54 +02:00
//print '<br>';
//print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'<br>';
2003-01-18 18:15:23 +01:00
2009-08-24 21:29:52 +02:00
$db->close();
llxFooter();
2003-01-18 18:15:23 +01:00
?>