diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-01 00:18:15 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-12-01 00:18:15 +0000 |
commit | 9ada5dec79b8f42e47a7245a91b669e240c6f6c9 (patch) | |
tree | 4c442b288dcedfef32ee31e6e85004db5d37c19c /themes/bartik/template.php | |
parent | 66ffb5f7e8562a2f880be3b58dcf1e602cd95d4f (diff) | |
download | brdo-9ada5dec79b8f42e47a7245a91b669e240c6f6c9.tar.gz brdo-9ada5dec79b8f42e47a7245a91b669e240c6f6c9.tar.bz2 |
#364470 follow-up by Dave Reid, JohnAlbin, et al: Move submitted by back into a variable. The string approach was too limited.
Diffstat (limited to 'themes/bartik/template.php')
-rw-r--r-- | themes/bartik/template.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/bartik/template.php b/themes/bartik/template.php index e94782527..a3393a426 100644 --- a/themes/bartik/template.php +++ b/themes/bartik/template.php @@ -103,6 +103,13 @@ function bartik_process_maintenance_page(&$variables) { } /** + * Override or insert variables into the node template. + */ +function bartik_preprocess_node(&$variables) { + $variables['submitted'] = t('published by !username on !datetime', array('!username' => $variables['name'], '!datetime' => $variables['date'])); +} + +/** * Override or insert variables into the block template. */ function bartik_preprocess_block(&$variables) { |