diff options
Diffstat (limited to 'themes/garland/template.php')
-rw-r--r-- | themes/garland/template.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/garland/template.php b/themes/garland/template.php index 8021d7cdd..b9234c972 100644 --- a/themes/garland/template.php +++ b/themes/garland/template.php @@ -120,6 +120,20 @@ function garland_preprocess_page(&$vars) { } /** + * Override or insert variables into the node template. + */ +function garland_preprocess_node(&$vars) { + $vars['submitted'] = $vars['date'] . ' — ' . $vars['name']; +} + +/** + * Override or insert variables into the comment template. + */ +function garland_preprocess_comment(&$vars) { + $vars['submitted'] = $vars['created'] . ' — ' . $vars['author']; +} + +/** * Override or insert variables into the block template. */ function garland_preprocess_block(&$vars) { |