summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index e9bd3f3f6..54ee5af03 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -244,7 +244,7 @@ function theme_get_settings($key = NULL) {
'toggle_comment_user_picture' => 0,
);
- if (module_exist('node')) {
+ if (module_exists('node')) {
foreach (node_get_types() as $type => $name) {
$defaults['toggle_node_info_' . $type] = 1;
}
@@ -256,7 +256,7 @@ function theme_get_settings($key = NULL) {
}
// Only offer search box if search.module is enabled.
- if (!module_exist('search') || !user_access('search content')) {
+ if (!module_exists('search') || !user_access('search content')) {
$settings['toggle_search'] = 0;
}
@@ -600,7 +600,7 @@ function theme_node($node, $teaser = FALSE, $page = FALSE) {
$output = '<div class="node-unpublished">';
}
- if (module_exist('taxonomy')) {
+ if (module_exists('taxonomy')) {
$terms = taxonomy_link('taxonomy terms', $node);
}