summaryrefslogtreecommitdiff
path: root/admin.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-20 10:27:35 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-20 10:27:35 +0000
commitebe3dddc564ed9900dfa3c23ff602eff7ba39ff1 (patch)
treeb7c5e2258a79e7674e196c806144b9f362ec9dfd /admin.php
parenta461e3696cb0021a9586ceaf735b0bb8cf4c9ab0 (diff)
downloadbrdo-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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin.php b/admin.php
index 0cf8bbf88..7aa5b4f75 100644
--- a/admin.php
+++ b/admin.php
@@ -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";