Plugin Directory

Changeset 776689


Ignore:
Timestamp:
09/22/2013 08:25:31 AM (12 years ago)
Author:
leniy
Message:

fix stat widget bug

Location:
leniy-tweaks/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • leniy-tweaks/trunk/leniy.php

    r774353 r776689  
    44    Plugin URI: http://blog.leniy.org/leniy-tweaks.html
    55    Description: 为中国大陆用户设计的wordpress小工具,适合中文用户习惯
    6     Version: 0.4.1
     6    Version: 0.4.2
    77    Author: leniy
    88    Author URI: http://blog.leniy.org/
  • leniy-tweaks/trunk/widgets/leniy-blogstat-widget.php

    r767751 r776689  
    4949            $output .= '</li>';
    5050        $output .= '<li>最后更新:' . $last                              ;
    51         $output .= '<li>访客数量:' . $count_views         . ' 人次</li>';
     51        if($count_views > 0) $output .= '<li>访客数量:' . $count_views         . ' 人次</li>';
    5252
    5353        $output = '<ul>' . $output . '</ul>';
Note: See TracChangeset for help on using the changeset viewer.