Changeset 873

Show
Ignore:
Timestamp:
09/01/08 17:16:30 (3 months ago)
Author:
ayunyan
Message:

plugin:rateit round rating in dashboard

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/rateit/trunk/dash_highest_rated_entries.php

    r867 r873  
    44    <span class="date pct15 minor"><a href="<?php echo URL::get('display_entries_by_date', array('year' => date('Y', strtotime($post->pubdate)), 'month' => date('m', strtotime($post->pubdate)), 'day' => date('d', strtotime($post->pubdate)))); ?>" title="<?php printf(_t('Posted at %1$s'), date('g:m a \o\n F jS, Y', strtotime($post->pubdate))); ?>"><?php echo date('M j', strtotime($post->pubdate)); ?></a></span> 
    55    <span class="title pct75"><a href="<?php echo $post->permalink; ?>"><?php echo $post->title; ?></a> <a class="minor" href="<?php Site::out_url('habari'); ?>/admin/user/<?php echo $post->author->username; ?>"> <?php _e('by'); ?> <?php echo $post->author->displayname; ?></a></span> 
    6     <span class="comments pct10"><?php echo $post->info->rateit_rating; ?></span> 
     6    <span class="comments pct10"><?php echo round($post->info->rateit_rating, 2); ?></span> 
    77  </li> 
    88<?php endwhile; ?>