Changeset 1769 for trunk/include/functions_html.inc.php
- Timestamp:
- Jan 30, 2007, 8:00:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_html.inc.php
r1748 r1769 719 719 trigger_action('set_status_header', $code, $text); 720 720 } 721 722 /** 723 * set a class to display a counter 724 * .zero .one .2nmore 725 */ 726 function set_span_class($count) 727 { 728 if ($count > 1) 729 { 730 return '2nmore'; 731 } 732 return ( $count == 0 ) ? 'zero':'one'; 733 } 721 734 ?>
Note: See TracChangeset
for help on using the changeset viewer.