2004-10-19 18:58:50 +00:00
|
|
|
<?php
|
2004-02-05 18:18:47 +00:00
|
|
|
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2009-01-21 13:20:26 +00:00
|
|
|
* Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
2003-01-18 17:15:23 +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 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
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
*/
|
2004-08-29 12:01:58 +00:00
|
|
|
|
2005-01-08 00:13:35 +00:00
|
|
|
/**
|
2009-03-09 11:28:12 +00:00
|
|
|
* \file htdocs/admin/index.php
|
|
|
|
|
* \brief Page d'accueil de l'espace administration/configuration
|
|
|
|
|
* \version $Id$
|
|
|
|
|
*/
|
2004-08-29 12:01:58 +00:00
|
|
|
|
2003-01-18 17:15:23 +00:00
|
|
|
require("./pre.inc.php");
|
|
|
|
|
|
2004-08-29 12:01:58 +00:00
|
|
|
$langs->load("admin");
|
2005-01-08 00:13:35 +00:00
|
|
|
$langs->load("companies");
|
2004-08-29 12:01:58 +00:00
|
|
|
|
2004-02-15 00:05:21 +00:00
|
|
|
if (!$user->admin)
|
|
|
|
|
accessforbidden();
|
|
|
|
|
|
2009-01-21 13:20:26 +00:00
|
|
|
$mesg='';
|
|
|
|
|
|
2004-02-05 18:18:47 +00:00
|
|
|
|
2006-05-25 17:00:00 +00:00
|
|
|
/*
|
2009-01-21 13:20:26 +00:00
|
|
|
* View
|
2006-05-25 17:00:00 +00:00
|
|
|
*/
|
|
|
|
|
|
2009-03-09 11:28:12 +00:00
|
|
|
llxHeader($langs->trans("Setup"),'','EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones');
|
2005-07-09 11:49:05 +00:00
|
|
|
|
2004-07-21 09:08:44 +00:00
|
|
|
$form = new Form($db);
|
2005-08-20 14:36:32 +00:00
|
|
|
|
|
|
|
|
|
2006-08-12 15:32:57 +00:00
|
|
|
print_fiche_titre($langs->trans("SetupArea"),'','setup');
|
2005-11-13 01:44:40 +00:00
|
|
|
|
2006-08-12 17:53:18 +00:00
|
|
|
print "<br>";
|
2009-03-13 13:14:29 +00:00
|
|
|
print '<center><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.png" alt="Dolibarr logo"></center><br>';
|
2006-08-12 17:53:18 +00:00
|
|
|
|
2009-01-21 13:20:26 +00:00
|
|
|
if ($mesg) print $mesg.'<br>';
|
2005-11-13 01:44:40 +00:00
|
|
|
|
2006-08-12 15:32:57 +00:00
|
|
|
print "<br>";
|
2009-03-13 13:12:43 +00:00
|
|
|
print $langs->trans("SetupDescription1").'<br>';
|
|
|
|
|
print $langs->trans("AreaForAdminOnly").'<br>';
|
2005-08-20 14:36:32 +00:00
|
|
|
|
2006-08-12 15:32:57 +00:00
|
|
|
print "<br>";
|
|
|
|
|
print $langs->trans("SetupDescription2")."<br>";
|
|
|
|
|
print "<br>";
|
|
|
|
|
print img_picto('','puce').' '.$langs->trans("SetupDescription3")."<br>";
|
2009-03-13 13:12:43 +00:00
|
|
|
//print "<br>";
|
2006-08-12 15:32:57 +00:00
|
|
|
print img_picto('','puce').' '.$langs->trans("SetupDescription4")."<br>";
|
|
|
|
|
print "<br>";
|
2005-08-20 14:36:32 +00:00
|
|
|
|
2006-08-12 15:32:57 +00:00
|
|
|
print '<br>';
|
2006-08-12 18:07:56 +00:00
|
|
|
print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'<br>';
|
2003-01-18 17:15:23 +00:00
|
|
|
|
2006-08-12 17:53:18 +00:00
|
|
|
$db->close();
|
|
|
|
|
|
2005-04-02 20:59:15 +00:00
|
|
|
llxFooter('$Date$ - $Revision$');
|
2003-01-18 17:15:23 +00:00
|
|
|
?>
|