* Copyright (C) 2004-2012 Laurent Destailleur * * 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 * (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, see . */ /** * \file htdocs/admin/index.php * \brief Page d'accueil de l'espace administration/configuration */ require '../main.inc.php'; $langs->load("admin"); $langs->load("companies"); if (!$user->admin) accessforbidden(); $mesg=''; /* * View */ $wikihelp='EN:First_setup|FR:Premiers_paramétrages|ES:Primeras_configuraciones'; llxHeader('',$langs->trans("Setup"),$wikihelp); $form = new Form($db); print_fiche_titre($langs->trans("SetupArea"),'','setup'); if ($mesg) print $mesg.'
'; print $langs->trans("SetupDescription1").' '; print $langs->trans("AreaForAdminOnly").' '; //print "
"; //print "
"; print $langs->trans("SetupDescription2")."

"; print '
'; //print '
'; if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INFO_SOCIETE_PAYS)) $setupcompanynotcomplete=1; print img_picto('','puce').' '.$langs->trans("SetupDescription3",DOL_URL_ROOT.'/admin/company.php?mainmenu=home'); if (! empty($setupcompanynotcomplete)) { $langs->load("errors"); $warnpicto=img_warning($langs->trans("WarningMandatorySetupNotComplete")); print '
'; } print '
'; print '
'; print '
'; //print '
'; print img_picto('','puce').' '.$langs->trans("SetupDescription4",DOL_URL_ROOT.'/admin/modules.php?mainmenu=home'); if (count($conf->modules) <= 1) // If only user module enabled { $langs->load("errors"); $warnpicto=img_warning($langs->trans("WarningMandatorySetupNotComplete")); print '
'; } print '
'; print '
'; print '
'; //print '
'; print $langs->trans("SetupDescription5")."
"; //print '
'; print "
"; /* print ''; print '"; print '"; print '"; print '
'.img_picto('','puce').' '.$langs->trans("SetupDescription3")."
'.img_picto('','puce').' '.$langs->trans("SetupDescription4")."
'.img_picto('','puce').' '.$langs->trans("SetupDescription5")."
'; */ //print '
'; //print info_admin($langs->trans("OnceSetupFinishedCreateUsers")).'
'; llxFooter(); $db->close(); ?>