summaryrefslogtreecommitdiff
path: root/submit.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
committerDries Buytaert <dries@buytaert.net>2000-11-02 09:23:07 +0000
commit8a866e6d51ba27eecc186e7001bfcc4af42e6dfe (patch)
tree736ae0a9b4169bd96fe7f1c94d11588a989549ea /submit.php
parent70520c7b0548bd70b30b1c553bda087c7321e1dc (diff)
downloadbrdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.gz
brdo-8a866e6d51ba27eecc186e7001bfcc4af42e6dfe.tar.bz2
- Fixed quote bug in the comment tracker.
(suggestion UnConeD) - Added anchors to comment links to easy comment navigation. (suggestion UnConeD) - Fixed duplicate `you voted' after moderating a story. (suggestion UnConeD) - Fixed quote bug in administration center. - Expanded user administration with timezone information. - Improved the theme system by eliminating the "preview" function. Let's not make the system more complex then it ought to be. - Refined watchdog administration. - ...
Diffstat (limited to 'submit.php')
-rw-r--r--submit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/submit.php b/submit.php
index f255fde5b..18eeb2a42 100644
--- a/submit.php
+++ b/submit.php
@@ -58,6 +58,8 @@ function submit_enter() {
function submit_preview($subject, $abstract, $article, $category) {
global $categories, $allowed_html, $theme, $user;
+ include "includes/story.inc";
+
$output .= "<FORM ACTION=\"submit.php\" METHOD=\"post\">\n";
$output .= "<P>\n";
@@ -118,7 +120,7 @@ function submit_preview($subject, $abstract, $article, $category) {
$output .= "</FORM>\n";
$theme->header();
- $theme->preview($user->userid, check_output($subject), check_output($abstract), "", check_output($article), format_date(time(), "extra large"), check_output($category), "we-hate-typoes");
+ $theme->article(new Story($user->userid, check_output($subject), check_output($abstract), check_output($article), check_output($category), time()));
$theme->box("Submit a story", $output);
$theme->footer();
}