Skip to content
Snippets Groups Projects
Commit a4eb2a16 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Modif esthétiques mineures

parent 7cdf6ae6
No related branches found
No related tags found
No related merge requests found
<?php
/* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
/* Copyright (C) 2005-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* 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 "<tr ".$bc[$var]."><td width=\"140\"><input type=\"radio\" name=\"optionlogoutput\" value=\"syslog\" ".($syslogfacility?" checked":"")."> ".$langs->trans("SyslogSyslog")."</td>";
print '<td colspan="2">'.$langs->trans("SyslogFacility").': <input type="text" class="flat" name="facility" value="'.$defaultsyslogfacility.'">';
print ' &nbsp; ';
print $langs->trans("SyslogLevel").': <select class="flat" name="level">';
print '<option value="'.LOG_EMERG.'" '.(SYSLOG_LEVEL==LOG_EMERG?'SELECTED':'').'>LOG_EMERG ('.LOG_EMERG.')</option>';
......
......@@ -622,6 +622,7 @@ SyslogSetup=Syslog module setup
SyslogOutput=Log output
SyslogSyslog=Syslog
SyslogFacility=Facility
SyslogLevel=Level
SyslogSimpleFile=File
SyslogFilename=File name and path
ErrorUnknownSyslogConstant=Constant %s is not a known syslog constant
......
......@@ -622,6 +622,7 @@ SyslogSetup=Configuration du module Syslog
SyslogOutput=Sortie des log
SyslogSyslog=Syslog
SyslogFacility=Facility
SyslogLevel=Niveau
SyslogSimpleFile=Fichier
SyslogFilename=Nom et chemin du fichier
ErrorUnknownSyslogConstant=La constante %s n'est pas une constante syslog connue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment