cvs: phpweb /manual add-note.php
| From: | Gabor Hojtsy | Date: | Wed, 13 Aug 2003 12:20:47 +0000 |
| Subject: | cvs: phpweb /manual add-note.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20203@lists.php.net to get a copy of this message | ||
goba Wed Aug 13 08:20:47 2003 EDT
Modified files:
/phpweb/manual add-note.php
Log:
Use the standard table layout plus new header and footer
Index: phpweb/manual/add-note.php
diff -u phpweb/manual/add-note.php:1.52 phpweb/manual/add-note.php:1.53
--- phpweb/manual/add-note.php:1.52 Sat Aug 9 11:09:48 2003
+++ phpweb/manual/add-note.php Wed Aug 13 08:20:47 2003
@@ -1,10 +1,10 @@
<?php
-// $Id: add-note.php,v 1.52 2003/08/09 15:09:48 goba Exp $
+// $Id: add-note.php,v 1.53 2003/08/13 12:20:47 goba Exp $
$_SERVER['BASE_PAGE'] = 'manual/add-note.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/posttohost.inc';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
-commonHeader("Manual Notes");
+site_header("Manual Notes");
// Copy over "sect" and "redirect" from GET to POST
if (!isset($_POST['sect']) && isset($_GET['sect'])) {
@@ -228,7 +228,7 @@
<form method="post" action="/manual/add-note.php">
<input type="hidden" name="sect" value="<?php echo
clean($_POST['sect']); ?>" />
<input type="hidden" name="redirect" value="<?php echo
clean($_POST['redirect']); ?>" />
- <table border="0" cellpadding="5" cellspacing="0"
bgcolor="#d0d0d0">
+ <table border="0" cellpadding="3" class="standard">
<tr>
<td colspan="2">
<b>
@@ -240,21 +240,21 @@
</b>
</td>
</tr>
- <tr valign="top">
- <td><b>Your email address (or name):</b></td>
+ <tr>
+ <th class="subr">Your email address (or name):</th>
<td><input type="text" name="user" size="60"
maxlength="40" value="<?php echo clean($_POST['user']); ?>"
/></td>
</tr>
- <tr valign="top">
- <td><b>Your notes:</b></td>
+ <tr>
+ <th class="subr">Your notes:</th>
<td><textarea name="note" rows="20" cols="60"
wrap="virtual"><?php if (isset($_POST['note'])) { echo
clean($_POST['note']); } ?></textarea>
<br />
</td>
</tr>
<tr>
- <td colspan="2" align="right">
+ <th colspan="2">
<input type="submit" name="action" value="Preview" />
<input type="submit" name="action" value="Add Note" />
- </td>
+ </th>
</tr>
</table>
</form>
@@ -262,5 +262,5 @@
}
// Print out common footer
-commonFooter();
+site_footer();
?>