From da8aaa7672b944d5022921b5beaef90ea29bca29 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 17 Feb 2001 15:52:40 +0000 Subject: - improved layout story.module - fixed bug in translation --- modules/story.module | 51 ++++++++++++++++++--------------------------------- 1 file changed, 18 insertions(+), 33 deletions(-) (limited to 'modules/story.module') diff --git a/modules/story.module b/modules/story.module index 822f1a7d7..47671033e 100644 --- a/modules/story.module +++ b/modules/story.module @@ -69,44 +69,29 @@ function story_add() { $output .= "
\n"; - $output .= "

\n"; - $output .= " Subject:
\n"; - $output .= "
\n"; - $output .= "

\n"; + $output .= "Subject:
\n"; + $output .= "
\n"; - $output .= "

Section:
\n"; - $output .= " \n"; - $output .= "

\n"; - - $output .= "

\n"; - $output .= " Abstract:
\n"; - $output .= "
\n"; - $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; - $output .= "

\n"; + $output .= "Section:
\n"; + foreach ($sections = section_get() as $value) $options .= " \n"; + $output .= "

\n"; - $output .= "

\n"; - $output .= " Extended story:
\n"; - $output .= "
\n"; - $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; - $output .= "

\n"; + $output .= "Abstract:
\n"; + $output .= "
\n"; + $output .= "Allowed HTML tags: ". htmlspecialchars($allowed_html) .".

\n"; - $output .= "

\n"; - $output .= " Status:
\n"; - $output .= " scheduled story for
\n"; - $output .= " posted story
\n"; - $output .= " queued story
\n"; - $output .= " dumped story
\n"; - $output .= " The textfield for scheduled stories expects a string containing an English date format of when you want to have your story automatically published.
Example input: '". date("j F Y G:i") ."', '". date("m/d/y H:i") ."', '". date("F j, Y H:i") ."', ...
\n"; - $output .= "

\n"; + $output .= "Extended story:
\n"; + $output .= "
\n"; + $output .= "Allowed HTML tags: ". htmlspecialchars($allowed_html) .".

\n"; - $output .= "

\n"; - $output .= " \n"; - $output .= "

\n"; + $output .= "Status:
\n"; + $output .= "scheduled story for
\n"; + $output .= "posted story
\n"; + $output .= "queued story
\n"; + $output .= "dumped story
\n"; + $output .= "The textfield for scheduled stories expects a string containing an English date format of when you want to have your story automatically published.
Example input: '". date("j F Y G:i") ."', '". date("m/d/y H:i") ."', '". date("F j, Y H:i") ."', ...

\n"; + $output .= "\n"; $output .= "

\n"; print $output; -- cgit v1.2.3