} ?> </header> <?php } ?> <?php if ($display_submitted) { ?> <footer<?php print $footer_attributes; ?> > <p class="author-datetime"><?php print commerce_theme_own_submitting($name, $datetime, $created, $comment_count); ?> </p> </footer> <?php } ?> <div<?php print $content_attributes; ?> > <?php print render($content); ?> </div>
/** * Change output post information on a blog page. * * @param array $vars. */ function commerce_theme_preprocess_comment(&$vars) { if ($vars['elements']['#node']->type == 'blog') { $vars['submitted'] = commerce_theme_own_submitting($vars['author'], $vars['rdf_template_variable_attributes_array']['created']['content'], $vars['elements']['#comment']->created, FALSE); } }