From 55679210c2e7c4f9755907d1672cc7b682eb350e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 13 Jan 2001 08:29:50 +0000 Subject: - created 2 new functions; check_textfield() and check_textarea() and integrated them were appropriate. It works better and the code is more readable then it used to be: (see http://drop.org/discussion.php?id=44&pid=0#0) - story authors can no longer moderate their own stories (requested by Natrak) - fix inie-winnie small detail in theme marvin --- modules/diary.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/diary.module') diff --git a/modules/diary.module b/modules/diary.module index eb3610b75..4f9f39203 100644 --- a/modules/diary.module +++ b/modules/diary.module @@ -107,7 +107,7 @@ function diary_page_edit($id) { $output .= "

\n"; $output .= " Edit diary entry:
\n"; - $output .= "
\n"; + $output .= "
\n"; $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; $output .= "

\n"; @@ -133,7 +133,7 @@ function diary_page_preview($text, $timestamp, $id = 0) { $output .= "

\n"; $output .= " Preview diary entry:
\n"; - $output .= "
\n"; + $output .= "
\n"; $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; $output .= "

\n"; @@ -256,7 +256,7 @@ function diary_admin_edit($id) { $output .= "

\n"; $output .= "Diary entry:
\n"; - $output .= "
\n"; + $output .= "
\n"; $output .= "

\n"; $output .= "

\n"; -- cgit v1.2.3