diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-01 23:15:41 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-01 23:15:41 +0000 |
commit | 3409019929da282bca397ccfa64985c5d74394f9 (patch) | |
tree | 992bfbd986c169ba995aaf21e690b8eae2811170 /includes/theme.inc | |
parent | 9e1c8ededcea32fa55854fa08eef227ffcf8a593 (diff) | |
download | brdo-3409019929da282bca397ccfa64985c5d74394f9.tar.gz brdo-3409019929da282bca397ccfa64985c5d74394f9.tar.bz2 |
#146386 by kbahey: refactor 'submitted by user - date' themeing and make it more verbose to translate
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 950d8f293..569c5d256 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1609,7 +1609,7 @@ function template_preprocess_node(&$variables) { // Display info only on certain node types. if (theme_get_setting('toggle_node_info_' . $node->type)) { - $variables['submitted'] = t('Submitted by !a on @b.', array('!a' => theme('username', $node), '@b' => format_date($node->created))); + $variables['submitted'] = theme('node_submitted', $node); $variables['picture'] = theme_get_setting('toggle_node_user_picture') ? theme('user_picture', $node) : ''; } else { @@ -1637,3 +1637,4 @@ function template_preprocess_block(&$variables) { $variables['template_files'][] = 'block-' . $variables['block']->module; $variables['template_files'][] = 'block-' . $variables['block']->module .'-'. $variables['block']->delta; } + |