Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
96711031
Commit
96711031
authored
Nov 16, 2015
by
Jan-Christoph Borchardt
Browse files
clarify log level setting design, fix #20514
parent
6efa7286
Changes
1
Hide whitespace changes
Inline
Side-by-side
settings/templates/admin.php
View file @
96711031
...
...
@@ -491,15 +491,6 @@ if ($_['cronErrors']) {
<div
class=
"section"
id=
"log-section"
>
<h2>
<?php
p
(
$l
->
t
(
'Log'
));
?>
</h2>
<?php
p
(
$l
->
t
(
'Log level'
));
?>
<select
name=
'loglevel'
id=
'loglevel'
>
<?php
for
(
$i
=
0
;
$i
<
5
;
$i
++
)
:
$selected
=
''
;
if
(
$i
==
$_
[
'loglevel'
])
:
$selected
=
'selected="selected"'
;
endif
;
?>
<option
value=
'
<?php
p
(
$i
)
?>
'
<?php
p
(
$selected
)
?>
>
<?php
p
(
$levelLabels
[
$i
])
?>
</option>
<?php
endfor
;
?>
</select>
<?php
if
(
$_
[
'showLog'
]
&&
$_
[
'doesLogFileExist'
])
:
?>
<table
id=
"log"
class=
"grid"
>
<?php
foreach
(
$_
[
'entries'
]
as
$entry
)
:
?>
...
...
@@ -537,6 +528,16 @@ if ($_['cronErrors']) {
</em>
<?php
endif
;
?>
<?php
endif
;
?>
<p>
<?php
p
(
$l
->
t
(
'What to log'
));
?>
<select
name=
'loglevel'
id=
'loglevel'
>
<?php
for
(
$i
=
0
;
$i
<
5
;
$i
++
)
:
$selected
=
''
;
if
(
$i
==
$_
[
'loglevel'
])
:
$selected
=
'selected="selected"'
;
endif
;
?>
<option
value=
'
<?php
p
(
$i
)
?>
'
<?php
p
(
$selected
)
?>
>
<?php
p
(
$levelLabels
[
$i
])
?>
</option>
<?php
endfor
;
?>
</select></p>
</div>
<div
class=
"section"
id=
"admin-tips"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment