Changeset 2290 for trunk/include/functions_html.inc.php
- Timestamp:
- Mar 23, 2008, 1:04:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r2265 r2290 33 33 return ''; 34 34 } 35 35 36 36 if (isset($page['get_icon_cache'][$date])) 37 37 { … … 714 714 } 715 715 716 /**717 * set a class to display a counter718 * .zero .one .plural719 */720 function set_span_class($count)721 {722 if ($count > 1)723 {724 return 'plural';725 }726 return ( $count == 0 ) ? 'zero':'one';727 }728 729 716 /** returns the category comment for rendering in html. 730 717 * this is an event handler. don't call directly
Note: See TracChangeset
for help on using the changeset viewer.