cvs: php-master-web /manage user-notes.php
| From: | Mehdi Achour | Date: | Sun, 05 Oct 2003 18:29:19 +0000 |
| Subject: | cvs: php-master-web /manage user-notes.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-21398@lists.php.net to get a copy of this message | ||
didou Sun Oct 5 14:29:19 2003 EDT
Modified files:
/php-master-web/manage user-notes.php
Log:
display the manual page
keep the keyword displayed
Index: php-master-web/manage/user-notes.php
diff -u php-master-web/manage/user-notes.php:1.25 php-master-web/manage/user-notes.php:1.26
--- php-master-web/manage/user-notes.php:1.25 Fri Oct 3 07:12:48 2003
+++ php-master-web/manage/user-notes.php Sun Oct 5 14:29:19 2003
@@ -90,7 +90,8 @@
echo "<p
class=\"notepreview\">",clean_note(stripslashes($row['note'])),
"<br /><span class=\"author\">",date("d-M-Y
h:i",$row['ts'])," ",
clean($row['user']),"</span>",
- "<br /><a href=\"http://master.php.net/manage/user-notes.php?action=edit+$id\"
target=\"_blank\">Edit Note</a><br />",
+ "<br /><a href=\"http://www.php.net/manual/en/" ,
$row['sect'], ".php\">Manual page</a>"<br />\n"
+ "<a href=\"http://master.php.net/manage/user-notes.php?action=edit+$id\"
target=\"_blank\">Edit Note</a><br />",
"<a href=\"http://master.php.net/manage/user-notes.php?action=delete+$id\"
target=\"_blank\">Delete Note</a><br />",
"<a href=\"http://master.php.net/manage/user-notes.php?action=reject+$id\"
target=\"_blank\">Reject Note</a>",
"</p>",
@@ -105,13 +106,16 @@
exit;
}
}
+
+ $searched = isset($keyword) ? $keyword : '';
+
?>
<p>Search the notes table.</p>
<form method="post" action="<?php echo $PHP_SELF;?>">
<table>
<tr>
<th align="right">Keyword :</th>
- <td><input type="text" name="keyword" value=""
size="10" maxlength="32" /></td>
+ <td><input type="text" name="keyword" value="<?php echo
$searched; ?>" size="10" maxlength="32" /></td>
</tr>
<tr>
<td align="center" colspan="2">