Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
c3f5a56f
Commit
c3f5a56f
authored
Jun 04, 2001
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder main menu options slightly.
parent
3fbbdec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
www/menu.php3
www/menu.php3
+14
-9
No files found.
www/menu.php3
View file @
c3f5a56f
...
@@ -112,10 +112,6 @@ function WRITESIDEBAR() {
...
@@ -112,10 +112,6 @@ function WRITESIDEBAR() {
if
(
$admin
)
{
if
(
$admin
)
{
WRITESIDEBARBUTTON
(
"New Project Approval"
,
WRITESIDEBARBUTTON
(
"New Project Approval"
,
$TBBASE
,
"approveproject_list.php3"
);
$TBBASE
,
"approveproject_list.php3"
);
WRITESIDEBARBUTTON
(
"Node Control"
,
$TBBASE
,
"nodecontrol_list.php3"
);
WRITESIDEBARBUTTON
(
"User List"
,
$TBBASE
,
"showuser_list.php3"
);
}
}
if
(
$trusted
)
{
if
(
$trusted
)
{
# Only group leaders can do these options
# Only group leaders can do these options
...
@@ -129,6 +125,14 @@ function WRITESIDEBAR() {
...
@@ -129,6 +125,14 @@ function WRITESIDEBAR() {
#
#
WRITESIDEBARBUTTON
(
"Project Information"
,
WRITESIDEBARBUTTON
(
"Project Information"
,
$TBBASE
,
"showproject_list.php3"
);
$TBBASE
,
"showproject_list.php3"
);
if
(
$admin
)
{
WRITESIDEBARBUTTON
(
"User List"
,
$TBBASE
,
"showuser_list.php3"
);
WRITESIDEBARBUTTON
(
"Node Control"
,
$TBBASE
,
"nodecontrol_list.php3"
);
}
WRITESIDEBARBUTTON
(
"Begin an Experiment"
,
WRITESIDEBARBUTTON
(
"Begin an Experiment"
,
$TBBASE
,
"beginexp_form.php3"
);
$TBBASE
,
"beginexp_form.php3"
);
WRITESIDEBARBUTTON
(
"Experiment Information"
,
WRITESIDEBARBUTTON
(
"Experiment Information"
,
...
@@ -382,11 +386,6 @@ function PAGEHEADER($title) {
...
@@ -382,11 +386,6 @@ function PAGEHEADER($title) {
<head>
<head>
<title>Emulab.Net -
$title
</title>
\n
"
;
<title>Emulab.Net -
$title
</title>
\n
"
;
#
# Shove the Jave code through to the output.
#
readfile
(
"java.html"
);
#
#
# If logged in, initialize the refresh process.
# If logged in, initialize the refresh process.
#
#
...
@@ -398,11 +397,17 @@ function PAGEHEADER($title) {
...
@@ -398,11 +397,17 @@ function PAGEHEADER($title) {
$timeo
*=
1000
;
$timeo
*=
1000
;
echo
"<script language=
\"
JavaScript
\"
>
echo
"<script language=
\"
JavaScript
\"
>
<!--
<!--
var sURL =
\"
$TBDOCBASE
/index.php3
\"
;
function doLoad() {
function doLoad() {
setTimeout(
\"
refresh()
\"
,
$timeo
);
setTimeout(
\"
refresh()
\"
,
$timeo
);
}
}
//-->
//-->
</script>
\n
"
;
</script>
\n
"
;
#
# Shove the rest of the Java code through to the output.
#
readfile
(
"java.html"
);
}
}
echo
" <meta HTTP-EQUIV=
\"
Pragma
\"
CONTENT=
\"
no-cache
\"
>
echo
" <meta HTTP-EQUIV=
\"
Pragma
\"
CONTENT=
\"
no-cache
\"
>
...
...
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