diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-11-20 10:27:35 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-11-20 10:27:35 +0000 |
commit | ebe3dddc564ed9900dfa3c23ff602eff7ba39ff1 (patch) | |
tree | b7c5e2258a79e7674e196c806144b9f362ec9dfd /admin.php | |
parent | a461e3696cb0021a9586ceaf735b0bb8cf4c9ab0 (diff) | |
download | brdo-ebe3dddc564ed9900dfa3c23ff602eff7ba39ff1.tar.gz brdo-ebe3dddc564ed9900dfa3c23ff602eff7ba39ff1.tar.bz2 |
amdin.php:
- fixed bug in story section
account.php:
- removed death code, clean-up, reorganization
- added "lost password?" functionality
faq.php:
- clean-up
watchdog.inc:
- improvements
- end of input-limit test period
error.php:
- improvements, still crappy layout though
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -270,7 +270,7 @@ function comment_edit($id) { $output .= "<P>\n"; $output .= " <B>Subject:</B><BR>\n"; - $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" SIZE=\"50\" VALUE=\"". check_output($comment->subject) ."\"><BR>\n"; + $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" SIZE=\"50\" VALUE=\"". check_output(check_field($comment->subject)) ."\"><BR>\n"; $output .= "</P>\n"; $output .= "<P>\n"; @@ -298,7 +298,7 @@ function comment_display($order = "date") { ### Perform SQL query: $result = db_query("SELECT c.*, u.userid FROM comments c LEFT JOIN users u ON u.id = c.author ORDER BY c.$fields[$order] LIMIT 50"); - ### Display stories: + ### Display comments: $output .= "<TABLE BORDER=\"1\" CELLPADDING=\"3\" CELLSPACING=\"0\">\n"; $output .= " <TR>\n"; $output .= " <TH ALIGN=\"right\" COLSPAN=\"5\">\n"; @@ -470,7 +470,7 @@ function story_edit($id) { $output .= "<P>\n"; $output .= " <B>Subject:</B><BR>\n"; - $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" SIZE=\"50\" VALUE=\"". check_output($story->subject) ."\"><BR>\n"; + $output .= " <INPUT TYPE=\"text\" NAME=\"subject\" SIZE=\"50\" VALUE=\"". check_output(check_field($story->subject)) ."\"><BR>\n"; $output .= "</P>\n"; $output .= "<P><B>Category:</B><BR>\n"; |