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/box.module | 6 +++--- modules/comment.module | 4 ++-- modules/comment/comment.module | 4 ++-- modules/diary.module | 6 +++--- modules/documentation.module | 2 +- modules/story.module | 8 ++++---- modules/story/story.module | 8 ++++---- 7 files changed, 19 insertions(+), 19 deletions(-) (limited to 'modules') diff --git a/modules/box.module b/modules/box.module index 70124bc31..a271462aa 100644 --- a/modules/box.module +++ b/modules/box.module @@ -111,7 +111,7 @@ function box_admin_edit($id) { $output .= "

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

\n"; $output .= "

\n"; $output .= " Content:
\n"; @@ -127,11 +127,11 @@ function box_admin_edit($id) { $output .= "

\n"; $output .= "

\n"; $output .= " Description:
\n"; - $output .= " info\">\n"; + $output .= " info) ."\">\n"; $output .= "

\n"; $output .= "

\n"; $output .= " Link:
\n"; - $output .= " link\">\n"; + $output .= " link) ."\">\n"; $output .= "

\n"; $output .= "

\n"; $output .= " \n"; diff --git a/modules/comment.module b/modules/comment.module index 85b7b54dc..db863616f 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -16,12 +16,12 @@ function comment_edit($id) { $output .= "

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

\n"; $output .= "

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

\n"; $output .= "

\n"; diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 85b7b54dc..db863616f 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -16,12 +16,12 @@ function comment_edit($id) { $output .= "

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

\n"; $output .= "

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

\n"; $output .= "

\n"; 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"; diff --git a/modules/documentation.module b/modules/documentation.module index 04d04c19f..283d6b895 100644 --- a/modules/documentation.module +++ b/modules/documentation.module @@ -38,7 +38,7 @@ function documentation() {

Make sure to consult the MySQL documentation on how to setup the correct access rights and permissions in your MySQL grant tables.

4. Once you have a proper database, dump the required tables into your database:

$ mysql -h <hostname> -u <username> -p<password> <database> < database/database.mysql
-

5. Copy the file includes/hostname.conf to match your server's hostname:

+

5. Rename the configuration file includes/hostname.conf to match your server's hostname:

$ cp includes/hostname.conf includes/www.yourdomain.com.conf

6. Edit your configuration file to set the required settings such as the database options and to customize your site to your likings.

7. Launch your browser and point it to http://yourdomain.com/, create an account, log in and head on to http://yourdomain.com/admin.php. The first user will automatically have administrator permissions. Play with it for a bit and spend some time getting used to the administration interfaces.

diff --git a/modules/story.module b/modules/story.module index fc75e0035..4eb1534d4 100644 --- a/modules/story.module +++ b/modules/story.module @@ -115,7 +115,7 @@ function story_edit($id) { $output .= "

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

\n"; $output .= "

\n"; @@ -129,19 +129,19 @@ function story_edit($id) { $output .= "

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

\n"; $output .= "

\n"; $output .= " Editor's note/updates:
\n"; - $output .= "
\n"; + $output .= "
\n"; $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; $output .= "

\n"; $output .= "

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

\n"; diff --git a/modules/story/story.module b/modules/story/story.module index fc75e0035..4eb1534d4 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -115,7 +115,7 @@ function story_edit($id) { $output .= "

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

\n"; $output .= "

\n"; @@ -129,19 +129,19 @@ function story_edit($id) { $output .= "

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

\n"; $output .= "

\n"; $output .= " Editor's note/updates:
\n"; - $output .= "
\n"; + $output .= "
\n"; $output .= " Allowed HTML tags: ". htmlspecialchars($allowed_html) .".\n"; $output .= "

\n"; $output .= "

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

\n"; -- cgit v1.2.3