Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a4eb2a16
Commit
a4eb2a16
authored
18 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Modif esthétiques mineures
parent
7cdf6ae6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/admin/syslog.php
+5
-2
5 additions, 2 deletions
htdocs/admin/syslog.php
htdocs/langs/en_US/admin.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/en_US/admin.lang
htdocs/langs/fr_FR/admin.lang
+1
-0
1 addition, 0 deletions
htdocs/langs/fr_FR/admin.lang
with
7 additions
and
2 deletions
htdocs/admin/syslog.php
+
5
−
2
View file @
a4eb2a16
<?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
' '
;
print
$langs
->
trans
(
"SyslogLevel"
)
.
': <select class="flat" name="level">'
;
print
'<option value="'
.
LOG_EMERG
.
'" '
.
(
SYSLOG_LEVEL
==
LOG_EMERG
?
'SELECTED'
:
''
)
.
'>LOG_EMERG ('
.
LOG_EMERG
.
')</option>'
;
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/en_US/admin.lang
+
1
−
0
View file @
a4eb2a16
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
htdocs/langs/fr_FR/admin.lang
+
1
−
0
View file @
a4eb2a16
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment