Skip to content
GitLab
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
7004d906
Commit
7004d906
authored
Apr 11, 2003
by
Mac Newbold
Browse files
Don't nowrap the values. Some of them are long text messages that have to
wrap. Also spellchecked while I was in there.
parent
a0248828
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/editsitevars.php3
View file @
7004d906
...
...
@@ -22,7 +22,7 @@ LOGGEDINORDIE($uid);
#
$isadmin
=
ISADMIN
(
$uid
);
if
(
!
$isadmin
)
{
USERERROR
(
"You do not have admin privle
d
ges to edit site variables!"
,
1
);
USERERROR
(
"You do not have admin priv
i
leges to edit site variables!"
,
1
);
}
...
...
@@ -60,7 +60,7 @@ if (isset($edit)) {
echo
"</td></tr><tr><td> </td><td>"
;
echo
"<input type='submit' name='edited' value='Change to New Value'></input>"
;
echo
" "
;
echo
"<input type='submit' name='cancel
l
ed' value='Cancel'></input>"
;
echo
"<input type='submit' name='canceled' value='Cancel'></input>"
;
echo
"</td></tr></table>"
;
echo
"</form>"
;
echo
"</center>"
;
...
...
@@ -99,8 +99,8 @@ if (isset($defaulted)) {
return
;
}
if
(
isset
(
$cancel
l
ed
))
{
echo
"<h3>Operation cancel
l
ed.</h3>"
;
if
(
isset
(
$canceled
))
{
echo
"<h3>Operation canceled.</h3>"
;
echo
"<form action='editsitevars.php3' method='get'>"
;
echo
"<input type='submit' name='yadda' value='Return to list'></input>"
;
echo
"</form>"
;
...
...
@@ -131,7 +131,7 @@ while ($row = mysql_fetch_row($result)) {
echo
"<tr><td> <b>
$name
</b> </td>
\n
"
;
echo
"<td
nowrap='1'
> "
;
echo
"<td> "
;
if
(
isset
(
$value
))
{
if
(
0
!=
strcmp
(
$value
,
""
))
{
echo
"<code>
$value
</code> </td>"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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