Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
3fc56330
Commit
3fc56330
authored
Jul 15, 2014
by
José Luis Gutiérrez
Committed by
Alessandro Rubini
Jul 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
www: ntp server fix
ntp UTC combobox fixed.
parent
002a61fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
management.php
userspace/rootfs_override/var/www/management.php
+3
-2
No files found.
userspace/rootfs_override/var/www/management.php
View file @
3fc56330
...
...
@@ -57,9 +57,10 @@
<?php
$selected_utc
=
$_SESSION
[
'utc'
];
$selected_utc
=
str_replace
(
"UTC"
,
""
,
$selected_utc
);
$selected_utc
=
trim
(
$selected_utc
);
for
(
$op
=
-
12
;
$op
<
0
;
$op
++
){
if
(
$selected_utc
==
$op
){
if
(
$selected_utc
==
$op
&&
!
empty
(
$selected_utc
)
){
echo
'<option selected="UTC'
.
$op
.
'" class="btn" value="UTC'
.
(
$op
)
.
'"><center>UTC'
.
(
$op
)
.
'</center></option>'
;
}
else
{
echo
'<option class="btn" value="UTC'
.
(
$op
)
.
'"><center>UTC'
.
(
$op
)
.
'</center></option>'
;
...
...
@@ -73,7 +74,7 @@
}
for
(
$op
=
1
;
$op
<
15
;
$op
++
){
if
(
$selected_utc
==
$op
){
if
(
$selected_utc
==
$op
&&
!
empty
(
$selected_utc
)
){
echo
'<option elected="UTC'
.
$op
.
'" class="btn" value="UTC+'
.
(
$op
)
.
'"><center>UTC+'
.
(
$op
)
.
'</center></option>'
;
}
else
{
echo
'<option class="btn" value="UTC+'
.
(
$op
)
.
'"><center>UTC+'
.
(
$op
)
.
'</center></option>'
;
...
...
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