cvs: pearweb /public_html account-edit.php accounts.php admin.php release-upload.php
| From: | Stig Bakken | Date: | Fri, 28 Dec 2001 03:51:33 +0000 |
| Subject: | cvs: pearweb /public_html account-edit.php accounts.php admin.php release-upload.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1718@lists.php.net to get a copy of this message | ||
ssb Thu Dec 27 22:51:33 2001 EDT
Modified files:
/pearweb/public_html account-edit.php accounts.php admin.php
release-upload.php
Log:
* border-box updates
Index: pearweb/public_html/account-edit.php
diff -u pearweb/public_html/account-edit.php:1.4 pearweb/public_html/account-edit.php:1.5
--- pearweb/public_html/account-edit.php:1.4 Wed Dec 26 14:54:25 2001
+++ pearweb/public_html/account-edit.php Thu Dec 27 22:51:33 2001
@@ -105,7 +105,7 @@
print " </tr>\n";
print " <tr>\n";
- print " <th bgcolor=\"#CCCCCC\">EMail:</th>\n";
+ print " <th bgcolor=\"#CCCCCC\">Email:</th>\n";
print " <td bgcolor=\"#e8e8e8\">";
HTML_Form::displayText("email", $row['email']);
print " </td>\n";
@@ -133,7 +133,7 @@
print " </tr>\n";
print " <tr>\n";
- print " <th bgcolor=\"#CCCCCC\">Show EMail
adress:</th>\n";
+ print " <th bgcolor=\"#CCCCCC\">Show Email
adress:</th>\n";
print " <td bgcolor=\"#e8e8e8\">";
HTML_Form::displayCheckbox("showemail", $row['showemail']);
print " </td>\n";
Index: pearweb/public_html/accounts.php
diff -u pearweb/public_html/accounts.php:1.2 pearweb/public_html/accounts.php:1.3
--- pearweb/public_html/accounts.php:1.2 Sat Dec 15 10:46:12 2001
+++ pearweb/public_html/accounts.php Thu Dec 27 22:51:33 2001
@@ -122,8 +122,8 @@
} else {
print '<td> </td>';
}
- print "\n <td><a
href=\"account-edit.php?handle=".$row['handle']."\">[E]</a>
- <a
href=\"account-info.php?handle=".$row['handle']."\">[I]</A></td>\n";
+ print "\n <td><a
href=\"account-edit.php?handle=".$row['handle']."\">[Edit]</a>
+ <a
href=\"account-info.php?handle=".$row['handle']."\">[Info]</A></td>\n";
print " </tr>\n";
}
Index: pearweb/public_html/admin.php
diff -u pearweb/public_html/admin.php:1.3 pearweb/public_html/admin.php:1.4
--- pearweb/public_html/admin.php:1.3 Sun Oct 7 10:14:07 2001
+++ pearweb/public_html/admin.php Thu Dec 27 22:51:33 2001
@@ -98,7 +98,7 @@
}
list($purpose, $moreinfo) = @unserialize($requser->userinfo);
- border_box_start("Account request from $requser->name
<$requser->email>");
+ $bb = new BorderBox("Account request from $requser->name
<$requser->email>");
?> <table cellpadding="2" cellspacing="0" border="0">
<tr>
<td>Requested User Name:</td>
@@ -127,9 +127,9 @@
</table>
<?php
- border_box_end();
+ $bb->end();
print "<br />\n";
- border_box_start("Notes for user $requser->handle");
+ $bb = new BorderBox("Notes for user $requser->handle");
$notes = $dbh->getAssoc("SELECT id,nby,ntime,note FROM notes ".
"WHERE uid = ? ORDER BY ntime", true,
array($requser->handle));
@@ -171,7 +171,7 @@
print "$i</table>\n";
print "$i</form>\n";
- border_box_end();
+ $bb->end();
?>
<form action="<?= $PHP_SELF ?>" method="POST">
@@ -197,7 +197,7 @@
// {{{ admin menu
} else {
- border_box_start("Account Requests", "30%");
+ $bb = new BorderBox("Account Requests", "30%");
$requests = $dbh->getAssoc("SELECT handle,name,email FROM users ".
"WHERE registered = 0");
if (is_array($requests) && sizeof($requests) > 0) {
@@ -208,7 +208,7 @@
} else {
print "No account requests.";
}
- border_box_end();
+ $bb->end();
}
// }}}
Index: pearweb/public_html/release-upload.php
diff -u pearweb/public_html/release-upload.php:1.2 pearweb/public_html/release-upload.php:1.3
--- pearweb/public_html/release-upload.php:1.2 Tue Dec 25 22:38:26 2001
+++ pearweb/public_html/release-upload.php Thu Dec 27 22:51:33 2001
@@ -108,8 +108,8 @@
}
// print "<pre>\n"; var_dump($info); print "</pre>\n";
// XXX ADD MASSIVE SANITY CHECKS HERE
- border_box_start("Please verify that the following release information ".
- "is correct:");
+ $bb = new BorderBox("Please verify that the following release ".
+ "information is correct:");
print "<table border=\"0\" cellpadding=\"3\"
cellspacing=\"0\">\n";
print "<tr><th
align=\"right\">Package:</th><td>$info[package]</td></tr>\n";
print "<tr><th
align=\"right\">Version:</th><td>$info[version]</td></tr>\n";
@@ -120,7 +120,7 @@
print "<tr><th align=\"right\">Release
Notes:</th><td>$info[release_notes]</td></tr>\n";
print "</table>\n";
$form->display();
- border_box_end();
+ $bb->end();
}
response_footer();