<?php
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
 * Copyright (C) 2004-2008 Laurent Destailleur  <eldy@users.sourceforge.net>
 *
 * 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.
 */

/**
    	\file       htdocs/admin/index.php
		\brief      Page d'accueil de l'espace administration/configuration
		\version    $Id$
*/

require("./pre.inc.php");

$langs->load("admin");
$langs->load("companies");

if (!$user->admin)
  accessforbidden();


/*
 * Affichage page
 */

llxHeader();

$form = new Form($db);


print_fiche_titre($langs->trans("SetupArea"),'','setup');

print "<br>";
print '<center><img src="'.DOL_URL_ROOT.'/theme/dolibarr_logo_2.png" alt="Dolibarr logo"></center><br>';

if ($message) print $message.'<br>';

print "<br>";
print $langs->trans("SetupDescription1")."<br>";
print $langs->trans("AreaForAdminOnly").' '.img_picto($langs->trans("Administrator"),'star').'<br>';

print "<br>";
print $langs->trans("SetupDescription2")."<br>";
print "<br>";
print img_picto('','puce').' '.$langs->trans("SetupDescription3")."<br>";
print "<br>";
print img_picto('','puce').' '.$langs->trans("SetupDescription4")."<br>";
print "<br>";

print '<br>';
print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'<br>';

$db->close();

llxFooter('$Date$ - $Revision$');
?>
