diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-07 14:58:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-07 14:58:54 +0000 |
commit | f12fa0615245760565dbc1fb53160c29243c63e2 (patch) | |
tree | 766966d109ec21b9c828efe9e7992d904ef678c2 | |
parent | 82a51e7b7550844e4c9c7b36efa37655b6bea81f (diff) | |
download | brdo-f12fa0615245760565dbc1fb53160c29243c63e2.tar.gz brdo-f12fa0615245760565dbc1fb53160c29243c63e2.tar.bz2 |
- various small updates:
+ fixed 2 small HTML typos in meta.module
+ better watchdog messages in comment.module
+ fixed typo in block.module
-rw-r--r-- | modules/block.module | 2 | ||||
-rw-r--r-- | modules/block/block.module | 2 | ||||
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | modules/meta.module | 4 |
5 files changed, 6 insertions, 6 deletions
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[] = "<a href=\"admin.php?mod=block\">blocks</a>"; } 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[] = "<a href=\"admin.php?mod=block\">blocks</a>"; } 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 .= "<H3>Collection overview</H3>"; - $output .= "<TABLE BORDER=\"1\" CELLSPADDING=\"2\" CELLSPACING=\"2\">\n"; + $output .= "<TABLE BORDER=\"1\" cellpadding=\"2\" CELLSPACING=\"2\">\n"; $output .= " <TR><TH>name</TH><TH>node types</TH><TH>operations</TH></TR>\n"; while ($collection = db_fetch_object($result)) { $output .= " <TR><TD>". check_output($collection->name) ."</TD><TD>". check_output($collection->types) ."</TD><TD><A HREF=\"admin.php?mod=meta&type=collection&op=edit&id=$collection->cid\">edit collection</A></TD></TR>\n"; @@ -127,7 +127,7 @@ function meta_overview() { $result = db_query("SELECT * FROM tag ORDER BY name"); $output .= "<H3>Meta-tag overview</H3>"; - $output .= "<TABLE BORDER=\"1\" CELLSPADDING=\"2\" CELLSPACING=\"2\">\n"; + $output .= "<TABLE BORDER=\"1\" cellpadding=\"2\" CELLSPACING=\"2\">\n"; $output .= " <TR><TH>name</TH><TH>collections</TH><TH>meta attributes</TH><TH>operations</TH></TR>\n"; while ($tag = db_fetch_object($result)) { $output .= " <TR><TD>". check_output($tag->name) ."</TD><TD>". check_output($tag->collections) ."</TD><TD>". check_output($tag->attributes) ."</TD><TD><A HREF=\"admin.php?mod=meta&type=tag&op=edit&id=$tag->tid\">edit tag</A></TD></TR>\n"; |