2004-10-19 20:58:50 +02:00
|
|
|
<?php
|
2012-09-19 17:18:52 +02:00
|
|
|
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2015-06-04 13:32:21 +02:00
|
|
|
* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
2012-12-30 15:13:49 +01:00
|
|
|
* Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>
|
2004-02-13 23:42:47 +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
|
2013-01-16 15:36:08 +01:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2004-02-13 23:42:47 +01:00
|
|
|
* (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/>.
|
2004-02-13 23:42:47 +01:00
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2005-01-01 20:48:22 +01:00
|
|
|
/**
|
2008-11-26 20:37:25 +01:00
|
|
|
* \file htdocs/admin/ihm.php
|
2009-09-29 19:14:52 +02:00
|
|
|
* \brief Page to setup GUI display options
|
2008-11-26 20:37:25 +01:00
|
|
|
*/
|
2004-08-29 14:01:58 +02:00
|
|
|
|
2012-08-22 23:24:21 +02:00
|
|
|
require '../main.inc.php';
|
2012-08-22 23:11:24 +02:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/usergroups.lib.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/admin.lib.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
|
|
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formadmin.class.php';
|
2004-02-13 23:42:47 +01:00
|
|
|
|
2004-09-04 12:11:17 +02:00
|
|
|
$langs->load("admin");
|
2010-02-18 15:39:51 +01:00
|
|
|
$langs->load("languages");
|
2008-01-07 03:03:22 +01:00
|
|
|
$langs->load("other");
|
2004-08-14 00:10:58 +02:00
|
|
|
|
2008-12-08 16:07:11 +01:00
|
|
|
$langs->load("companies");
|
|
|
|
|
$langs->load("products");
|
|
|
|
|
$langs->load("members");
|
2015-08-13 02:13:34 +02:00
|
|
|
$langs->load("projects");
|
2015-10-10 08:34:15 +02:00
|
|
|
$langs->load("hrm");
|
2008-12-08 16:07:11 +01:00
|
|
|
|
2011-11-02 20:24:51 +01:00
|
|
|
if (! $user->admin) accessforbidden();
|
|
|
|
|
|
|
|
|
|
$action = GETPOST('action');
|
2004-02-15 01:05:21 +01:00
|
|
|
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2005-08-11 20:51:38 +02:00
|
|
|
if (! defined("MAIN_MOTD")) define("MAIN_MOTD","");
|
|
|
|
|
|
2008-12-08 16:07:11 +01:00
|
|
|
// List of supported permanent search area
|
2015-10-26 12:50:32 +01:00
|
|
|
$searchform=array();
|
2016-01-03 19:34:19 +01:00
|
|
|
/* deprecated
|
2015-10-26 12:50:32 +01:00
|
|
|
if (empty($conf->use_javascript_ajax))
|
|
|
|
|
{
|
2016-01-03 18:46:10 +01:00
|
|
|
$searchform=array("MAIN_SEARCHFORM_SOCIETE", "MAIN_SEARCHFORM_CONTACT", "MAIN_SEARCHFORM_PRODUITSERVICE", "MAIN_SEARCHFORM_ADHERENT", "MAIN_SEARCHFORM_PROJECT", "MAIN_SEARCHFORM_EMPLOYEE");
|
|
|
|
|
$searchformconst=array($conf->global->MAIN_SEARCHFORM_SOCIETE,$conf->global->MAIN_SEARCHFORM_CONTACT,$conf->global->MAIN_SEARCHFORM_PRODUITSERVICE,$conf->global->MAIN_SEARCHFORM_ADHERENT,$conf->global->MAIN_SEARCHFORM_PROJECT,$conf->global->MAIN_SEARCHFORM_EMPLOYEE);
|
|
|
|
|
$searchformtitle=array($langs->trans("Companies"), $langs->trans("Contacts"), $langs->trans("ProductsAndServices"), $langs->trans("Members"), $langs->trans("Projects"), $langs->trans("Users"));
|
|
|
|
|
$searchformmodule=array('Module1Name','Module1Name','Module50Name','Module310Name','Module400Name');
|
2015-10-26 12:50:32 +01:00
|
|
|
}
|
2016-01-03 19:34:19 +01:00
|
|
|
*/
|
2004-08-14 00:10:58 +02:00
|
|
|
|
2015-11-15 18:23:42 +01:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Action
|
|
|
|
|
*/
|
|
|
|
|
|
2015-11-15 19:29:18 +01:00
|
|
|
if (GETPOST('cancel'))
|
2015-11-15 18:23:42 +01:00
|
|
|
{
|
|
|
|
|
$action='';
|
|
|
|
|
}
|
|
|
|
|
|
2011-11-02 20:24:51 +01:00
|
|
|
if ($action == 'update')
|
2004-02-13 23:42:47 +01:00
|
|
|
{
|
2014-11-29 07:07:27 +01:00
|
|
|
dolibarr_set_const($db, "MAIN_LANG_DEFAULT", $_POST["main_lang_default"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_MULTILANGS", $_POST["main_multilangs"],'chaine',0,'',$conf->entity);
|
|
|
|
|
|
|
|
|
|
dolibarr_set_const($db, "MAIN_THEME", $_POST["main_theme"],'chaine',0,'',$conf->entity);
|
|
|
|
|
|
2015-11-15 18:23:42 +01:00
|
|
|
$val=(join(',',(colorStringToArray(GETPOST('THEME_ELDY_BACKBODY'),array()))));
|
|
|
|
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_BACKBODY', $conf->entity);
|
|
|
|
|
else dolibarr_set_const($db, 'THEME_ELDY_BACKBODY', join(',',colorStringToArray(GETPOST('THEME_ELDY_BACKBODY'),array())),'chaine',0,'',$conf->entity);
|
|
|
|
|
|
|
|
|
|
$val=(join(',',(colorStringToArray(GETPOST('THEME_ELDY_TOPMENU_BACK1'),array()))));
|
2015-06-26 16:21:09 +02:00
|
|
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_TOPMENU_BACK1', $conf->entity);
|
|
|
|
|
else dolibarr_set_const($db, 'THEME_ELDY_TOPMENU_BACK1', join(',',colorStringToArray(GETPOST('THEME_ELDY_TOPMENU_BACK1'),array())),'chaine',0,'',$conf->entity);
|
|
|
|
|
|
|
|
|
|
$val=(join(',',(colorStringToArray(GETPOST('THEME_ELDY_BACKTITLE1'),array()))));
|
|
|
|
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_BACKTITLE1', $conf->entity);
|
|
|
|
|
else dolibarr_set_const($db, 'THEME_ELDY_BACKTITLE1', join(',',colorStringToArray(GETPOST('THEME_ELDY_BACKTITLE1'),array())),'chaine',0,'',$conf->entity);
|
|
|
|
|
|
2015-12-13 14:39:12 +01:00
|
|
|
$val=(join(',',(colorStringToArray(GETPOST('THEME_ELDY_TEXTTITLENOTAB'),array()))));
|
|
|
|
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_TEXTTITLENOTAB', $conf->entity);
|
|
|
|
|
else dolibarr_set_const($db, 'THEME_ELDY_TEXTTITLENOTAB', join(',',colorStringToArray(GETPOST('THEME_ELDY_TEXTTITLENOTAB'),array())),'chaine',0,'',$conf->entity);
|
|
|
|
|
|
|
|
|
|
if (GETPOST('THEME_ELDY_USE_HOVER') == '') dolibarr_del_const($db, "THEME_ELDY_USE_HOVER", $conf->entity);
|
2015-11-15 18:23:42 +01:00
|
|
|
else dolibarr_set_const($db, "THEME_ELDY_USE_HOVER", $_POST["THEME_ELDY_USE_HOVER"], 'chaine', 0, '', $conf->entity);
|
|
|
|
|
|
|
|
|
|
$val=(join(',',(colorStringToArray(GETPOST('THEME_ELDY_TEXTLINK'),array()))));
|
|
|
|
|
if ($val == '') dolibarr_del_const($db, 'THEME_ELDY_TEXTLINK', $conf->entity);
|
|
|
|
|
else dolibarr_set_const($db, 'THEME_ELDY_TEXTLINK', join(',',colorStringToArray(GETPOST('THEME_ELDY_TEXTLINK'),array())),'chaine',0,'',$conf->entity);
|
|
|
|
|
|
|
|
|
|
dolibarr_set_const($db, "MAIN_SIZE_LISTE_LIMIT", $_POST["main_size_liste_limit"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_SIZE_SHORTLISTE_LIMIT", $_POST["main_size_shortliste_limit"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_DISABLE_JAVASCRIPT", $_POST["main_disable_javascript"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_BUTTON_HIDE_UNAUTHORIZED", $_POST["MAIN_BUTTON_HIDE_UNAUTHORIZED"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_START_WEEK", $_POST["MAIN_START_WEEK"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_DEFAULT_WORKING_DAYS", $_POST["MAIN_DEFAULT_WORKING_DAYS"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_DEFAULT_WORKING_HOURS", $_POST["MAIN_DEFAULT_WORKING_HOURS"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_SHOW_LOGO", $_POST["MAIN_SHOW_LOGO"],'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_FIRSTNAME_NAME_POSITION", $_POST["MAIN_FIRSTNAME_NAME_POSITION"],'chaine',0,'',$conf->entity);
|
|
|
|
|
|
2014-11-29 07:07:27 +01:00
|
|
|
dolibarr_set_const($db, "MAIN_HELPCENTER_DISABLELINK", $_POST["MAIN_HELPCENTER_DISABLELINK"],'chaine',0,'',0); // Param for all entities
|
|
|
|
|
dolibarr_set_const($db, "MAIN_MOTD", dol_htmlcleanlastbr($_POST["main_motd"]),'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_HOME", dol_htmlcleanlastbr($_POST["main_home"]),'chaine',0,'',$conf->entity);
|
|
|
|
|
dolibarr_set_const($db, "MAIN_HELP_DISABLELINK", $_POST["MAIN_HELP_DISABLELINK"],'chaine',0,'',0); // Param for all entities
|
2015-05-12 21:10:32 +02:00
|
|
|
dolibarr_set_const($db, "MAIN_BUGTRACK_ENABLELINK", $_POST["MAIN_BUGTRACK_ENABLELINK"],'chaine',0,'',$conf->entity);
|
2012-09-19 13:39:47 +02:00
|
|
|
|
|
|
|
|
// This one is not always defined
|
|
|
|
|
if (isset($_POST["MAIN_USE_PREVIEW_TABS"])) dolibarr_set_const($db, "MAIN_USE_PREVIEW_TABS", $_POST["MAIN_USE_PREVIEW_TABS"],'chaine',0,'',$conf->entity);
|
2009-08-09 21:25:17 +02:00
|
|
|
|
2006-03-22 00:47:01 +01:00
|
|
|
$_SESSION["mainmenu"]=""; // Le gestionnaire de menu a pu changer
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2012-08-31 05:58:38 +02:00
|
|
|
header("Location: ".$_SERVER["PHP_SELF"]."?mainmenu=home&leftmenu=setup");
|
2006-03-22 00:47:01 +01:00
|
|
|
exit;
|
2004-02-13 23:42:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2008-10-25 19:27:15 +02:00
|
|
|
/*
|
|
|
|
|
* View
|
|
|
|
|
*/
|
|
|
|
|
|
2009-11-02 19:53:26 +01: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-02-13 23:42:47 +01:00
|
|
|
|
2011-11-08 10:18:45 +01:00
|
|
|
$form=new Form($db);
|
2011-05-20 17:59:18 +02:00
|
|
|
$formother=new FormOther($db);
|
2008-10-25 19:27:15 +02:00
|
|
|
$formadmin=new FormAdmin($db);
|
2008-01-06 16:39:47 +01:00
|
|
|
|
2015-09-24 18:33:48 +02:00
|
|
|
print load_fiche_titre($langs->trans("GUISetup"),'','title_setup');
|
2004-02-13 23:42:47 +01:00
|
|
|
|
2006-08-12 19:53:18 +02:00
|
|
|
print $langs->trans("DisplayDesc")."<br>\n";
|
|
|
|
|
print "<br>\n";
|
|
|
|
|
|
2004-02-13 23:42:47 +01:00
|
|
|
|
2011-11-02 20:24:51 +01:00
|
|
|
if ($action == 'edit') // Edit
|
2004-02-13 23:42:47 +01:00
|
|
|
{
|
2012-07-27 21:27:03 +02:00
|
|
|
//WYSIWYG Editor
|
2012-08-22 23:11:24 +02:00
|
|
|
require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
2012-07-27 21:27:03 +02:00
|
|
|
|
2007-04-10 21:21:22 +02:00
|
|
|
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
2009-05-17 10:01:54 +02:00
|
|
|
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
|
2005-09-26 03:09:14 +02:00
|
|
|
print '<input type="hidden" name="action" value="update">';
|
|
|
|
|
|
|
|
|
|
clearstatcache();
|
2005-04-26 00:55:49 +02:00
|
|
|
$var=true;
|
|
|
|
|
|
2015-02-10 10:52:48 +01:00
|
|
|
print '<br>';
|
2009-11-02 19:53:26 +01:00
|
|
|
print '<table summary="edit" class="noborder" width="100%">';
|
2014-11-29 07:07:27 +01:00
|
|
|
print '<tr class="liste_titre"><td>'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td>';
|
2008-01-06 15:15:28 +01:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2005-04-26 00:55:49 +02:00
|
|
|
|
2010-07-15 23:15:51 +02:00
|
|
|
// Default language
|
2005-04-26 00:55:49 +02:00
|
|
|
$var=!$var;
|
2005-09-26 03:09:14 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultLanguage").'</td><td>';
|
2015-07-15 16:27:01 +02:00
|
|
|
print $formadmin->select_language($conf->global->MAIN_LANG_DEFAULT, 'main_lang_default', 1, 0, 0, 0, 0, 'minwidth300');
|
2008-01-06 15:15:28 +01:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2005-09-26 03:09:14 +02:00
|
|
|
|
2008-09-05 02:05:45 +02:00
|
|
|
// Multilangual GUI
|
2006-03-22 00:47:01 +01:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("EnableMultilangInterface").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('main_multilangs',$conf->global->MAIN_MULTILANGS,1);
|
2008-01-06 15:15:28 +01:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2005-09-26 03:09:14 +02:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</table><br>'."\n";
|
|
|
|
|
|
2015-06-26 16:21:09 +02:00
|
|
|
// Themes and themes options
|
2014-11-22 16:57:08 +01:00
|
|
|
show_theme(null,1);
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<br>';
|
|
|
|
|
|
|
|
|
|
// Liste des zone de recherche permanantes supportees
|
2015-10-26 12:50:32 +01:00
|
|
|
if (! empty($searchform))
|
2010-09-15 10:36:13 +02:00
|
|
|
{
|
2015-10-26 12:50:32 +01:00
|
|
|
print '<table summary="search" class="noborder" width="100%">';
|
|
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("PermanentLeftSearchForm").'</td><td colspan="2">'.$langs->trans("Activated").'</td></tr>';
|
|
|
|
|
$var=True;
|
|
|
|
|
foreach ($searchform as $key => $value)
|
|
|
|
|
{
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$searchformtitle[$key].'</td><td colspan="2">';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno($searchform[$key],$searchformconst[$key],1);
|
2015-10-26 12:50:32 +01:00
|
|
|
print '</td></tr>';
|
|
|
|
|
}
|
|
|
|
|
print '</table>';
|
|
|
|
|
print '<br>';
|
2010-09-15 10:36:13 +02:00
|
|
|
}
|
2015-10-26 12:50:32 +01:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
// Other
|
|
|
|
|
print '<table summary="edit" class="noborder" width="100%">';
|
2014-11-29 07:41:51 +01:00
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td>';
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2010-01-13 12:22:26 +01:00
|
|
|
// Show logo
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("EnableShowLogo").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_SHOW_LOGO',$conf->global->MAIN_SHOW_LOGO,1);
|
2010-01-13 12:22:26 +01:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2015-01-24 15:36:47 +01:00
|
|
|
|
2014-08-08 10:44:10 +02:00
|
|
|
// Max size of lists
|
2008-09-05 02:05:45 +02:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMaxSizeList").'</td><td><input class="flat" name="main_size_liste_limit" size="4" value="' . $conf->global->MAIN_SIZE_LISTE_LIMIT . '"></td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2015-10-19 19:05:04 +02:00
|
|
|
// Max size of short lists on customer card
|
|
|
|
|
$var=!$var;
|
2015-10-26 12:37:36 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMaxSizeShortList").'</td><td><input class="flat" name="main_size_shortliste_limit" size="4" value="' . $conf->global->MAIN_SIZE_SHORTLISTE_LIMIT . '"></td>';
|
2015-10-19 19:05:04 +02:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2014-08-08 10:44:10 +02:00
|
|
|
// Disable javascript and ajax
|
2005-09-26 03:09:14 +02:00
|
|
|
$var=!$var;
|
2006-09-16 15:19:13 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableJavascript").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('main_disable_javascript',isset($conf->global->MAIN_DISABLE_JAVASCRIPT)?$conf->global->MAIN_DISABLE_JAVASCRIPT:0,1);
|
2008-01-06 15:15:28 +01:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2009-09-29 19:14:52 +02:00
|
|
|
// Activate preview tab on element card
|
2011-03-04 13:27:40 +01:00
|
|
|
if (class_exists("Imagick"))
|
2008-04-17 13:34:08 +02:00
|
|
|
{
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("UsePreviewTabs").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_USE_PREVIEW_TABS',isset($conf->global->MAIN_USE_PREVIEW_TABS)?$conf->global->MAIN_USE_PREVIEW_TABS:0,1);
|
2008-04-17 13:34:08 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
}
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2009-09-29 19:14:52 +02:00
|
|
|
// First day for weeks
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
2011-05-20 17:59:18 +02:00
|
|
|
print $formother->select_dayofweek((isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'),'MAIN_START_WEEK',0);
|
2010-06-23 21:17:38 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2014-08-08 10:44:10 +02:00
|
|
|
// DefaultWorkingDays
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultWorkingDays").'</td><td>';
|
|
|
|
|
print '<input type="text" name="MAIN_DEFAULT_WORKING_DAYS" size="5" value="'.(isset($conf->global->MAIN_DEFAULT_WORKING_DAYS)?$conf->global->MAIN_DEFAULT_WORKING_DAYS:'1-5').'">';
|
|
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
// DefaultWorkingHours
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultWorkingHours").'</td><td>';
|
|
|
|
|
print '<input type="text" name="MAIN_DEFAULT_WORKING_HOURS" size="5" value="'.(isset($conf->global->MAIN_DEFAULT_WORKING_HOURS)?$conf->global->MAIN_DEFAULT_WORKING_HOURS:'9-18').'">';
|
|
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
// Firstname/Name
|
2010-06-23 21:17:38 +02:00
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("FirstnameNamePosition").'</td><td>';
|
2010-12-31 00:42:33 +01:00
|
|
|
$array=array(0=>$langs->trans("Firstname").' '.$langs->trans("Lastname"),1=>$langs->trans("Lastname").' '.$langs->trans("Firstname"));
|
2016-03-25 15:34:37 +01:00
|
|
|
print $form->selectarray('MAIN_FIRSTNAME_NAME_POSITION',$array,(isset($conf->global->MAIN_FIRSTNAME_NAME_POSITION)?$conf->global->MAIN_FIRSTNAME_NAME_POSITION:0));
|
2009-09-29 19:14:52 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2012-07-09 18:09:44 +02:00
|
|
|
|
2012-07-02 19:30:37 +02:00
|
|
|
// Hide unauthorized button
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("ButtonHideUnauthorized").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_BUTTON_HIDE_UNAUTHORIZED',isset($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)?$conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED:0,1);
|
2012-07-02 19:30:37 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
2012-06-14 20:07:35 +02:00
|
|
|
print '</tr>';
|
2009-11-02 19:53:26 +01:00
|
|
|
|
2009-11-04 07:33:08 +01:00
|
|
|
// Hide helpcenter link on login page
|
2005-09-26 03:09:14 +02:00
|
|
|
$var=!$var;
|
2009-06-03 21:50:17 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableLinkToHelpCenter").'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_HELPCENTER_DISABLELINK',isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0,1);
|
2009-11-04 07:33:08 +01:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2010-01-13 12:22:26 +01:00
|
|
|
|
2009-11-04 07:33:08 +01:00
|
|
|
// Hide wiki link on login page
|
|
|
|
|
$var=!$var;
|
2012-04-10 11:18:01 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/helpdoc.png','',1)).'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_HELP_DISABLELINK', isset($conf->global->MAIN_HELP_DISABLELINK)?$conf->global->MAIN_HELP_DISABLELINK:0,1);
|
2009-06-03 21:50:17 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2015-05-12 21:10:32 +02:00
|
|
|
// Show bugtrack link
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("ShowBugTrackLink", $langs->transnoentitiesnoconv("FindBug")).'</td><td>';
|
2016-03-25 15:53:44 +01:00
|
|
|
print $form->selectyesno('MAIN_BUGTRACK_ENABLELINK',$conf->global->MAIN_BUGTRACK_ENABLELINK,1);
|
2015-05-12 21:10:32 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2012-09-19 17:18:52 +02:00
|
|
|
|
2009-06-03 21:50:17 +02:00
|
|
|
// Message on login page
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageLogin").'</td><td colspan="2">';
|
2012-09-19 13:39:47 +02:00
|
|
|
|
2015-06-04 13:32:21 +02:00
|
|
|
$doleditor = new DolEditor('main_home', (isset($conf->global->MAIN_HOME)?$conf->global->MAIN_HOME:''), '', 142, 'dolibarr_notes', 'In', false, true, true, ROWS_4, '90%');
|
2010-09-02 20:51:47 +02:00
|
|
|
$doleditor->Create();
|
2012-07-27 21:27:03 +02:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</td></tr>'."\n";
|
2007-04-30 10:12:38 +02:00
|
|
|
|
2009-06-03 21:50:17 +02:00
|
|
|
// Message of the day on home page
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageOfDay").'</td><td colspan="2">';
|
2012-09-19 13:39:47 +02:00
|
|
|
|
2015-06-04 13:32:21 +02:00
|
|
|
$doleditor = new DolEditor('main_motd', (isset($conf->global->MAIN_MOTD)?$conf->global->MAIN_MOTD:''), '', 142, 'dolibarr_notes', 'In', false, true, true, ROWS_4, '90%');
|
2010-09-02 20:51:47 +02:00
|
|
|
$doleditor->Create();
|
2012-07-27 21:27:03 +02:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</td></tr>'."\n";
|
2009-05-13 21:52:36 +02:00
|
|
|
|
2011-08-11 01:48:09 +02:00
|
|
|
print '</table>'."\n";
|
2005-09-26 03:09:14 +02:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
|
2014-11-25 20:13:43 +01:00
|
|
|
print '<br><div class="center">';
|
2015-11-15 19:29:18 +01:00
|
|
|
print '<input class="button" type="submit" name="submit" value="'.$langs->trans("Save").'">';
|
2015-11-15 18:23:42 +01:00
|
|
|
print ' ';
|
2015-11-15 19:29:18 +01:00
|
|
|
print '<input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'">';
|
2014-11-25 20:13:43 +01:00
|
|
|
print '</div>';
|
2005-09-26 03:09:14 +02:00
|
|
|
|
|
|
|
|
print '</form>';
|
|
|
|
|
}
|
2009-09-29 19:14:52 +02:00
|
|
|
else // Show
|
2005-09-26 03:09:14 +02:00
|
|
|
{
|
|
|
|
|
$var=true;
|
|
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
// Language
|
2005-09-26 03:09:14 +02:00
|
|
|
print '<table class="noborder" width="100%">';
|
2014-11-29 07:41:51 +01:00
|
|
|
print '<tr class="liste_titre"><td>'.$langs->trans("Parameters").'</td><td>'.$langs->trans("Value").'</td><td> </td></tr>';
|
2005-09-26 03:09:14 +02:00
|
|
|
|
|
|
|
|
$var=!$var;
|
2010-02-27 11:11:00 +01:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultLanguage").'</td><td>';
|
|
|
|
|
$s=picto_from_langcode($conf->global->MAIN_LANG_DEFAULT);
|
|
|
|
|
print ($s?$s.' ':'');
|
|
|
|
|
print ($conf->global->MAIN_LANG_DEFAULT=='auto'?$langs->trans("AutoDetectLang"):$langs->trans("Language_".$conf->global->MAIN_LANG_DEFAULT));
|
|
|
|
|
print '</td>';
|
2010-07-15 23:15:51 +02:00
|
|
|
print '<td width="20">';
|
2015-09-22 11:24:31 +02:00
|
|
|
if ($user->admin && $conf->global->MAIN_LANG_DEFAULT!='auto') print info_admin($langs->trans("SubmitTranslation".($conf->global->MAIN_LANG_DEFAULT=='en_US'?'ENUS':''),$conf->global->MAIN_LANG_DEFAULT),1);
|
2010-07-15 23:15:51 +02:00
|
|
|
print '</td>';
|
2008-01-06 16:39:47 +01:00
|
|
|
print "</tr>";
|
2005-09-26 03:09:14 +02:00
|
|
|
|
2005-04-26 00:55:49 +02:00
|
|
|
$var=!$var;
|
2008-01-06 16:39:47 +01:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("EnableMultilangInterface").'</td><td>' . yn($conf->global->MAIN_MULTILANGS) . '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
2006-03-22 00:47:01 +01:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</table><br>'."\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Themes
|
2014-11-22 16:57:08 +01:00
|
|
|
show_theme(null,0);
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<br>';
|
|
|
|
|
|
|
|
|
|
|
2015-10-26 12:37:36 +01:00
|
|
|
// List of search forms to show
|
|
|
|
|
if (! empty($searchform))
|
2010-09-15 10:36:13 +02:00
|
|
|
{
|
2015-10-26 12:37:36 +01:00
|
|
|
print '<table class="noborder" width="100%">';
|
|
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("PermanentLeftSearchForm").'</td><td>'.$langs->trans("Activated").'</td><td> </td></tr>';
|
|
|
|
|
$var=true;
|
|
|
|
|
foreach ($searchform as $key => $value)
|
|
|
|
|
{
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$searchformtitle[$key].'</td><td>'.yn($searchformconst[$key]).'</td>';
|
2015-10-26 12:50:32 +01:00
|
|
|
print '<td align="left">';
|
|
|
|
|
if (! empty($searchformmodule[$key])) print $langs->trans("IfModuleEnabled",$langs->transnoentitiesnoconv($searchformmodule[$key]));
|
2015-10-26 12:37:36 +01:00
|
|
|
print '</td></tr>';
|
|
|
|
|
}
|
|
|
|
|
print '</table>';
|
|
|
|
|
print '<br>';
|
2015-10-26 12:50:32 +01:00
|
|
|
}
|
2010-09-15 10:36:13 +02:00
|
|
|
|
|
|
|
|
// Other
|
|
|
|
|
$var=true;
|
|
|
|
|
print '<table class="noborder" width="100%">';
|
2014-11-29 07:41:51 +01:00
|
|
|
print '<tr class="liste_titre"><td width="35%">'.$langs->trans("Parameters").'</td><td colspan="2">'.$langs->trans("Value").'</td></tr>';
|
2010-09-15 10:36:13 +02:00
|
|
|
|
2006-03-22 00:47:01 +01:00
|
|
|
$var=!$var;
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("EnableShowLogo").'</td><td>' . yn($conf->global->MAIN_SHOW_LOGO) . '</td>';
|
2010-01-13 12:22:26 +01:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
2015-01-24 15:36:47 +01:00
|
|
|
|
2010-01-13 12:22:26 +01:00
|
|
|
$var=!$var;
|
2008-01-06 16:39:47 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMaxSizeList").'</td><td>' . $conf->global->MAIN_SIZE_LISTE_LIMIT . '</td>';
|
2015-10-19 19:05:04 +02:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
|
|
|
|
|
|
|
|
|
$var=!$var;
|
2015-10-26 12:37:36 +01:00
|
|
|
print '<tr '.$bc[$var].'><td>'.$langs->trans("DefaultMaxSizeShortList").'</td><td>' . $conf->global->MAIN_SIZE_SHORTLISTE_LIMIT . '</td>';
|
2008-01-06 16:39:47 +01:00
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
2004-07-26 14:31:16 +02:00
|
|
|
|
2008-01-07 03:03:22 +01:00
|
|
|
// Disable javascript/ajax
|
2005-09-25 00:11:04 +02:00
|
|
|
$var=!$var;
|
2009-01-31 03:55:32 +01:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableJavascript").'</td><td>';
|
2008-01-06 16:39:47 +01:00
|
|
|
print yn($conf->global->MAIN_DISABLE_JAVASCRIPT)."</td>";
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2009-09-29 19:14:52 +02:00
|
|
|
// Activate preview tab on element card
|
2011-03-04 13:27:40 +01:00
|
|
|
if (class_exists("Imagick"))
|
2008-04-17 13:34:08 +02:00
|
|
|
{
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("UsePreviewTabs").'</td><td>';
|
|
|
|
|
print yn(isset($conf->global->MAIN_USE_PREVIEW_TABS)?$conf->global->MAIN_USE_PREVIEW_TABS:0)."</td>";
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
|
|
|
|
}
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2009-09-29 19:14:52 +02:00
|
|
|
// First day for weeks
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("WeekStartOnDay").'</td><td>';
|
2009-11-04 07:55:51 +01:00
|
|
|
print $langs->trans("Day".(isset($conf->global->MAIN_START_WEEK)?$conf->global->MAIN_START_WEEK:'1'));
|
2014-08-08 10:44:10 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
// DefaultWorkingDays
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultWorkingDays").'</td><td>';
|
|
|
|
|
print isset($conf->global->MAIN_DEFAULT_WORKING_DAYS)?$conf->global->MAIN_DEFAULT_WORKING_DAYS:'1-5';
|
|
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
|
|
|
|
// DefaultWorkingHours
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DefaultWorkingHours").'</td><td>';
|
|
|
|
|
print isset($conf->global->MAIN_DEFAULT_WORKING_HOURS)?$conf->global->MAIN_DEFAULT_WORKING_HOURS:'9-18';
|
2009-09-29 19:14:52 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
|
|
|
|
|
2010-06-23 21:17:38 +02:00
|
|
|
// Firstname / Name position
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("FirstnameNamePosition").'</td><td>';
|
2010-12-31 00:42:33 +01:00
|
|
|
if (empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)) { print $langs->trans("Firstname").' '.$langs->trans("Lastname"); }
|
|
|
|
|
else { print $langs->trans("Lastname").' '.$langs->trans("Firstname"); }
|
2010-06-23 21:17:38 +02:00
|
|
|
print '</td>';
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print '</tr>';
|
2012-07-09 18:09:44 +02:00
|
|
|
|
2012-07-02 19:30:37 +02:00
|
|
|
// Hide unauthorized button
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("ButtonHideUnauthorized").'</td><td colspan="2">';
|
2012-07-09 18:09:44 +02:00
|
|
|
print yn((isset($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)?$conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED:0),1);
|
2012-06-14 20:07:35 +02:00
|
|
|
print '</td></tr>';
|
2010-06-23 21:17:38 +02:00
|
|
|
|
2009-06-03 21:50:17 +02:00
|
|
|
// Link to help center
|
2005-08-11 20:51:38 +02:00
|
|
|
$var=!$var;
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableLinkToHelpCenter").'</td><td colspan="2">';
|
2012-07-09 18:09:44 +02:00
|
|
|
print yn((isset($conf->global->MAIN_HELPCENTER_DISABLELINK)?$conf->global->MAIN_HELPCENTER_DISABLELINK:0),1);
|
2006-09-17 21:19:34 +02:00
|
|
|
print '</td></tr>';
|
2010-01-13 12:22:26 +01:00
|
|
|
|
2009-11-04 07:33:08 +01:00
|
|
|
// Link to wiki help
|
|
|
|
|
$var=!$var;
|
2012-07-09 18:09:44 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("DisableLinkToHelp",img_picto('',DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/helpdoc.png','',1)).'</td><td colspan="2">';
|
|
|
|
|
print yn((isset($conf->global->MAIN_HELP_DISABLELINK)?$conf->global->MAIN_HELP_DISABLELINK:0),1);
|
2009-11-04 07:33:08 +01:00
|
|
|
print '</td></tr>';
|
2009-01-31 03:55:32 +01:00
|
|
|
|
2015-05-12 21:10:32 +02:00
|
|
|
// Show bugtrack link
|
|
|
|
|
$var=!$var;
|
|
|
|
|
print '<tr '.$bc[$var].'"><td width="35%">'.$langs->trans("ShowBugTrackLink", $langs->transnoentitiesnoconv("FindBug")).'</td><td>';
|
|
|
|
|
print yn($conf->global->MAIN_BUGTRACK_ENABLELINK)."</td>";
|
|
|
|
|
print '<td width="20"> </td>';
|
|
|
|
|
print "</tr>";
|
2012-09-19 17:18:52 +02:00
|
|
|
|
2009-06-03 21:50:17 +02:00
|
|
|
// Message login
|
2007-04-30 10:12:38 +02:00
|
|
|
$var=!$var;
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageLogin").'</td><td colspan="2">';
|
2012-07-09 18:09:44 +02:00
|
|
|
if (isset($conf->global->MAIN_HOME)) print dol_htmlcleanlastbr($conf->global->MAIN_HOME);
|
|
|
|
|
else print ' ';
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</td></tr>'."\n";
|
2009-05-13 21:52:36 +02:00
|
|
|
|
2009-06-03 21:50:17 +02:00
|
|
|
// Message of the day
|
2009-05-13 21:52:36 +02:00
|
|
|
$var=!$var;
|
2010-09-15 10:36:13 +02:00
|
|
|
print '<tr '.$bc[$var].'><td width="35%">'.$langs->trans("MessageOfDay").'</td><td colspan="2">';
|
2012-07-09 18:09:44 +02:00
|
|
|
if (isset($conf->global->MAIN_MOTD)) print dol_htmlcleanlastbr($conf->global->MAIN_MOTD);
|
|
|
|
|
else print ' ';
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</td></tr>'."\n";
|
2009-05-13 21:52:36 +02:00
|
|
|
|
2010-09-15 10:36:13 +02:00
|
|
|
print '</table>'."\n";
|
2005-04-26 00:55:49 +02:00
|
|
|
|
|
|
|
|
print '<div class="tabsAction">';
|
2008-01-11 00:59:58 +01:00
|
|
|
print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?action=edit">'.$langs->trans("Modify").'</a>';
|
2005-04-26 00:55:49 +02:00
|
|
|
print '</div>';
|
2004-02-13 23:42:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2011-08-27 16:24:16 +02:00
|
|
|
llxFooter();
|
2012-07-09 18:09:44 +02:00
|
|
|
$db->close();
|