Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
252e73cc
Commit
252e73cc
authored
Jul 28, 2003
by
Robert Ricci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a link to the newnode_list.php3 page for admins, with the happy
little new icon if there are new nodes waiting.
parent
868a18ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
www/menu.php3
www/menu.php3
+13
-1
No files found.
www/menu.php3
View file @
252e73cc
...
...
@@ -286,7 +286,19 @@ function WRITESIDEBAR() {
WRITESIDEBARBUTTON
(
"Edit Site Variables"
,
$TBBASE
,
"editsitevars.php3"
);
}
if
(
ISADMIN
(
$login_uid
))
{
$query_result
=
DBQUeryFatal
(
"select new_node_id from new_nodes"
);
if
(
mysql_num_rows
(
$query_result
)
>
0
)
{
WRITESIDEBARBUTTON_NEW
(
"Add Testbed Nodes"
,
$TBBASE
,
"newnodes_list.php3"
);
}
else
{
WRITESIDEBARBUTTON
(
"Add Testbed Nodes"
,
$TBBASE
,
"newnodes_list.php3"
);
}
}
if
(
$login_status
&
CHECKLOGIN_CVSWEB
)
{
WRITESIDEBARBUTTON
(
"CVS Repository"
,
$TBBASE
,
"cvsweb/cvsweb.php3"
);
...
...
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