diff options
Diffstat (limited to 'themes/garland/template.php')
-rw-r--r-- | themes/garland/template.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/garland/template.php b/themes/garland/template.php index 0d06bb44e..a38ba1519 100644 --- a/themes/garland/template.php +++ b/themes/garland/template.php @@ -20,7 +20,7 @@ function phptemplate_body_class($left, $right) { } if (isset($class)) { - print ' class="'. $class .'"'; + print ' class="' . $class . '"'; } } @@ -33,7 +33,7 @@ function phptemplate_body_class($left, $right) { */ function phptemplate_breadcrumb($breadcrumb) { if (!empty($breadcrumb)) { - return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>'; + return '<div class="breadcrumb">' . implode(' › ', $breadcrumb) . '</div>'; } } @@ -42,10 +42,10 @@ function phptemplate_breadcrumb($breadcrumb) { */ function phptemplate_comment_wrapper($content, $node) { if (!$content || $node->type == 'forum') { - return '<div id="comments">'. $content .'</div>'; + return '<div id="comments">' . $content . '</div>'; } else { - return '<div id="comments"><h2 class="comments">'. t('Comments') .'</h2>'. $content .'</div>'; + return '<div id="comments"><h2 class="comments">' . t('Comments') . '</h2>' . $content . '</div>'; } } @@ -93,9 +93,9 @@ function phptemplate_node_submitted($node) { function phptemplate_get_ie_styles() { global $language; - $iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />'; + $iecss = '<link type="text/css" rel="stylesheet" media="all" href="' . base_path() . path_to_theme() . '/fix-ie.css" />'; if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) { - $iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>'; + $iecss .= '<style type="text/css" media="all">@import "' . base_path() . path_to_theme() . '/fix-ie-rtl.css";</style>'; } return $iecss; |