From f12fa0615245760565dbc1fb53160c29243c63e2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 7 Jul 2001 14:58:54 +0000 Subject: - various small updates: + fixed 2 small HTML typos in meta.module + better watchdog messages in comment.module + fixed typo in block.module --- modules/block.module | 2 +- modules/block/block.module | 2 +- modules/comment.module | 2 +- modules/comment/comment.module | 2 +- modules/meta.module | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/block.module b/modules/block.module index 97139035f..ef576b95f 100644 --- a/modules/block.module +++ b/modules/block.module @@ -14,7 +14,7 @@ function block_perm() { } function block_link($type) { - if ($type == "admin" && user_access("adminsiter blocks")) { + if ($type == "admin" && user_access("administer blocks")) { $links[] = "blocks"; } diff --git a/modules/block/block.module b/modules/block/block.module index 97139035f..ef576b95f 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -14,7 +14,7 @@ function block_perm() { } function block_link($type) { - if ($type == "admin" && user_access("adminsiter blocks")) { + if ($type == "admin" && user_access("administer blocks")) { $links[] = "blocks"; } diff --git a/modules/comment.module b/modules/comment.module index 5f4dd09fd..0a8150799 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -37,7 +37,7 @@ function comment_edit($id) { function comment_save($id, $edit) { db_query("UPDATE comments SET subject = '". check_input($edit[subject]) ."', comment = '". check_input($edit[comment]) ."' WHERE cid = '$id'"); - watchdog("message", "comment: modified '$edit[subject]'"); + watchdog("special", "comment: modified '$edit[subject]'"); } function comment_overview() { diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 5f4dd09fd..0a8150799 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -37,7 +37,7 @@ function comment_edit($id) { function comment_save($id, $edit) { db_query("UPDATE comments SET subject = '". check_input($edit[subject]) ."', comment = '". check_input($edit[comment]) ."' WHERE cid = '$id'"); - watchdog("message", "comment: modified '$edit[subject]'"); + watchdog("special", "comment: modified '$edit[subject]'"); } function comment_overview() { diff --git a/modules/meta.module b/modules/meta.module index 207123b80..bb2750093 100644 --- a/modules/meta.module +++ b/modules/meta.module @@ -117,7 +117,7 @@ function meta_overview() { $result = db_query("SELECT * FROM collection ORDER BY name"); $output .= "

Collection overview

"; - $output .= "\n"; + $output .= "
\n"; $output .= " \n"; while ($collection = db_fetch_object($result)) { $output .= " \n"; @@ -127,7 +127,7 @@ function meta_overview() { $result = db_query("SELECT * FROM tag ORDER BY name"); $output .= "

Meta-tag overview

"; - $output .= "
namenode typesoperations
". check_output($collection->name) ."". check_output($collection->types) ."cid\">edit collection
\n"; + $output .= "
\n"; $output .= " \n"; while ($tag = db_fetch_object($result)) { $output .= " \n"; -- cgit v1.2.3
namecollectionsmeta attributesoperations
". check_output($tag->name) ."". check_output($tag->collections) ."". check_output($tag->attributes) ."tid\">edit tag