diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-10-03 20:57:01 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-10-03 20:57:01 +0000 |
commit | 7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946 (patch) | |
tree | be6bef3f6ad0aba1cb9e942f85eaa325e97d7c1a /includes/theme.inc | |
parent | f7e9bab197205e6fa0d2e220902f5eb6573ac1cb (diff) | |
download | brdo-7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946.tar.gz brdo-7a9bc86bd2f0ba3ba343e014a2e4c7f99d7f0946.tar.bz2 |
- Improved search architecture derived from Axel's new search patches.
(There is room for improvement so let's go from these ... and build
on them.)
- Removed some $status's by calls to node_status().
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 7b9d58055..d35a75d76 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -78,13 +78,13 @@ function theme_account($region, $theme) { } function theme_blocks($region, $theme) { - global $id, $PHP_SELF, $status, $user; + global $id, $PHP_SELF, $user; switch (strrchr($PHP_SELF, "/")) { case "/node.php": if ($region != "left") { if ($user->uid) $node = db_fetch_object(db_query("SELECT * FROM node WHERE nid = '$id'")); - if ($node->status == $status[queued]) theme_moderation_results($theme, $node, $region); + if ($node->status == node_status("queued")) theme_moderation_results($theme, $node, $region); } break; case "/index.php": |