Updated markup

This commit is contained in:
Mike Jolley 2011-09-23 15:29:50 +01:00
parent 9ab2193c7a
commit 2c1d635887
2 changed files with 28 additions and 6 deletions

View File

@ -464,11 +464,22 @@ function woocommerce_view_order() {
if ($notes) :
?>
<h2><?php _e('Order Updates', 'woothemes'); ?></h2>
<ul class="notes">
<ol class="commentlist notes">
<?php foreach ($notes as $note) : ?>
<li><p><strong><?php echo date_i18n('l jS \of F Y, h:ia', strtotime($note->comment_date)); ?></strong></p><?php echo wpautop(wptexturize($note->comment_content)); ?></li>
<li class="comment note">
<div class="comment_container">
<div class="comment-text">
<p class="meta"><?php echo date_i18n('l jS \of F Y, h:ia', strtotime($note->comment_date)); ?></p>
<div class="description">
<?php echo wpautop(wptexturize($note->comment_content)); ?>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</li>
<?php endforeach; ?>
</ul>
</ol>
<?php
endif;
?>

View File

@ -48,11 +48,22 @@ function woocommerce_order_tracking( $atts ) {
if ($notes) :
?>
<h2><?php _e('Order Updates', 'woothemes'); ?></h2>
<ul class="notes">
<ol class="commentlist notes">
<?php foreach ($notes as $note) : ?>
<li><p><strong><?php echo date_i18n('l jS \of F Y, h:ia', strtotime($note->comment_date)); ?></strong></p><?php echo wpautop(wptexturize($note->comment_content)); ?></li>
<li class="comment note">
<div class="comment_container">
<div class="comment-text">
<p class="meta"><?php echo date_i18n('l jS \of F Y, h:ia', strtotime($note->comment_date)); ?></p>
<div class="description">
<?php echo wpautop(wptexturize($note->comment_content)); ?>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
</li>
<?php endforeach; ?>
</ul>
</ol>
<?php
endif;
?>