diff --git a/modules/block.module b/modules/block.module index 97139035fc44..ef576b95f203 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 97139035fc44..ef576b95f203 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 5f4dd09fde61..0a8150799e74 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 5f4dd09fde61..0a8150799e74 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 207123b80a81..bb27500933e8 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";
namecollectionsmeta attributesoperations
". check_output($tag->name) ."". check_output($tag->collections) ."". check_output($tag->attributes) ."tid\">edit tag