diff --git a/htdocs/admin/syslog.php b/htdocs/admin/syslog.php index 5f48b0d2896..33914d295b7 100644 --- a/htdocs/admin/syslog.php +++ b/htdocs/admin/syslog.php @@ -1,6 +1,6 @@ - * Copyright (C) 2007 Rodolphe Quiedeville +/* Copyright (C) 2005-2007 Laurent Destailleur + * Copyright (C) 2007 Rodolphe Quiedeville * * 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 @@ -44,6 +44,7 @@ if ($optionlogoutput == "syslog") dolibarr_set_const($db,"SYSLOG_LEVEL",$_POST["level"]); dolibarr_syslog("Admin Syslog: New level ".$_POST["level"]); Header("Location: syslog.php"); + exit; } else { @@ -68,6 +69,7 @@ if ($optionlogoutput == "file") $langs->load("admin"); $langs->load("other"); + llxHeader(); print_fiche_titre($langs->trans("SyslogSetup"),'','setup'); @@ -96,6 +98,7 @@ $var=true; $var=!$var; print " ".$langs->trans("SyslogSyslog").""; print ''.$langs->trans("SyslogFacility").': '; +print '   '; print $langs->trans("SyslogLevel").':