diff --git a/template.php b/template.php index c6090e7..04aed2f 100644 --- a/template.php +++ b/template.php @@ -530,9 +530,11 @@ function rubik_render_clone($elements) { * Helper function to submitted info theming functions. */ function _rubik_submitted($node) { - $byline = t('Posted by !username', array('!username' => theme('username', array('account' => $node)))); - $date = format_date($node->created, 'small'); - return "
{$byline}
$date
"; + if ($vars['display_submitted']) { + $byline = t('Posted by !username', array('!username' => theme('username', array('account' => $node)))); + $date = format_date($node->created, 'small'); + return "
{$byline}
$date
"; + } } /**