2004-10-19 20:58:50 +02:00
|
|
|
<?php
|
2004-02-05 19:18:47 +01:00
|
|
|
/* 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
|
|
|
|
|
* 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 14:01:58 +02:00
|
|
|
|
2005-01-08 01:13:35 +01:00
|
|
|
/**
|
2009-03-09 12:28:12 +01:00
|
|
|
* \file htdocs/admin/index.php
|
|
|
|
|
* \brief Page d'accueil de l'espace administration/configuration
|
|
|
|
|
* \version $Id$
|
|
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2003-01-18 18:15:23 +01:00
|
|
|
require("./pre.inc.php");
|
|
|
|
|
|
2004-08-29 14:01:58 +02:00
|
|
|
$langs->load("admin");
|
2005-01-08 01:13:35 +01:00
|
|
|
$langs->load("companies");
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2004-02-15 01:05:21 +01:00
|
|
|
if (!$user->admin)
|
|
|
|
|
accessforbidden();
|
|
|
|
|
|
2009-01-21 14:20:26 +01:00
|
|
|
$mesg='';
|
|
|
|
|
|
2004-02-05 19:18:47 +01:00
|
|
|
|
2006-05-25 19:00:00 +02:00
|
|
|
/*
|
2009-01-21 14:20:26 +01:00
|
|
|
* View
|
2006-05-25 19:00:00 +02:00
|
|
|
*/
|
|
|
|
|
|
2009-03-09 12:28:12 +01:00
|
|
|
llxHeader($langs->trans("Setup"),'','EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones');
|
2005-07-09 13:49:05 +02:00
|
|
|
|
2004-07-21 11:08:44 +02:00
|
|
|
$form = new Form($db);
|
2005-08-20 16:36:32 +02:00
|
|
|
|
|
|
|
|
|
2006-08-12 17:32:57 +02:00
|
|
|
print_fiche_titre($langs->trans("SetupArea"),'','setup');
|
2005-11-13 02:44:40 +01:00
|
|
|
|
2006-08-12 19:53:18 +02:00
|
|
|
print "<br>";
|
2009-03-13 14:14:29 +01:00
|
|
|
print '<center><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.png" alt="Dolibarr logo"></center><br>';
|
2006-08-12 19:53:18 +02:00
|
|
|
|
2009-01-21 14:20:26 +01:00
|
|
|
if ($mesg) print $mesg.'<br>';
|
2005-11-13 02:44:40 +01:00
|
|
|
|
2006-08-12 17:32:57 +02:00
|
|
|
print "<br>";
|
2009-03-13 14:12:43 +01:00
|
|
|
print $langs->trans("SetupDescription1").'<br>';
|
|
|
|
|
print $langs->trans("AreaForAdminOnly").'<br>';
|
2005-08-20 16:36:32 +02:00
|
|
|
|
2006-08-12 17:32:57 +02:00
|
|
|
print "<br>";
|
|
|
|
|
print $langs->trans("SetupDescription2")."<br>";
|
|
|
|
|
print "<br>";
|
|
|
|
|
print img_picto('','puce').' '.$langs->trans("SetupDescription3")."<br>";
|
2009-03-13 14:12:43 +01:00
|
|
|
//print "<br>";
|
2006-08-12 17:32:57 +02:00
|
|
|
print img_picto('','puce').' '.$langs->trans("SetupDescription4")."<br>";
|
|
|
|
|
print "<br>";
|
2005-08-20 16:36:32 +02:00
|
|
|
|
2006-08-12 17:32:57 +02:00
|
|
|
print '<br>';
|
2006-08-12 20:07:56 +02:00
|
|
|
print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'<br>';
|
2003-01-18 18:15:23 +01:00
|
|
|
|
2006-08-12 19:53:18 +02:00
|
|
|
$db->close();
|
|
|
|
|
|
2005-04-02 22:59:15 +02:00
|
|
|
llxFooter('$Date$ - $Revision$');
|
2003-01-18 18:15:23 +01:00
|
|
|
?>
|