Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d692193a
Commit
d692193a
authored
Aug 08, 2003
by
Leigh B. Stoller
Browse files
Move Message of the Day to a more noticeable spot!
parent
f157bae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/menu.php3
View file @
d692193a
...
...
@@ -387,9 +387,11 @@ function WRITESIDEBAR() {
#
# Login message. Set via 'web/message' site variable
#
if
(
0
)
{
$message
=
TBGetSiteVar
(
"web/message"
);
if
(
0
!=
strcmp
(
$message
,
""
))
{
WRITESIDEBARNOTICE
(
$message
);
WRITESIDEBARNOTICE
(
"<font color=red>
$message
</font>"
);
}
}
echo
"</table>
\n
"
;
...
...
@@ -550,11 +552,19 @@ function PAGEHEADER($title) {
$now
=
date
(
"D M d g:ia T"
);
echo
"
$title
</h2></td>
\n
"
;
echo
"<td class=contentheader align=right>
\n
"
;
if
(
$login_uid
)
{
echo
"<font size=-1>'<b>
$login_uid
</b>' Logged in.<br>
$now
</font>
\n
"
;
$message
=
TBGetSiteVar
(
"web/message"
);
if
(
strcmp
(
$message
,
""
))
{
echo
"<font size=+1 color=white>
$message
</font>"
;
}
else
{
echo
"
$now
"
;
if
(
$login_uid
)
{
echo
"<font size=-1>'<b>
$login_uid
</b>' Logged in."
.
"<br>
$now
</font>
\n
"
;
}
else
{
echo
"
$now
"
;
}
}
echo
"</td>"
;
echo
"</tr>
\n
"
;
...
...
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