Changeset 1864
- Timestamp:
- Feb 28, 2007, 12:24:53 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_default.inc.php
r1861 r1864 104 104 ) 105 105 ); 106 if ($user['show_nb_hits'] 107 and isset($page['category'])) 106 if ($user['show_nb_hits']) 108 107 { 109 108 $template->assign_block_vars( … … 156 155 } 157 156 158 if ($user['show_nb_comments'] 159 and isset($page['category']) 160 and $page['category']['commentable']) 157 if ($user['show_nb_comments']) 161 158 { 162 159 $query = ' -
trunk/include/functions.inc.php
r1862 r1864 1013 1013 { 1014 1014 global $lang_info; 1015 if ( $lang_info['zero_plural'] and $decimal == 0 ) 1016 { 1017 return sprintf(l10n($plural_fmt_key), 0); 1018 } 1019 return sprintf(l10n(($decimal > 1 ? $plural_fmt_key : 1020 $singular_fmt_key)), $decimal); 1015 1016 return 1017 sprintf( 1018 l10n(( 1019 (($decimal > 1) or ($decimal == 0 and $lang_info['zero_plural'])) 1020 ? $plural_fmt_key 1021 : $singular_fmt_key 1022 )), $decimal); 1021 1023 } 1022 1024 -
trunk/template/yoga/index.tpl
r1860 r1864 33 33 34 34 <!-- BEGIN flat --> 35 <li><a href="{flat.URL}" title="{lang:mode_flat_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/flat.png" class="button" alt="{lang: flat_hint}"></a></li>35 <li><a href="{flat.URL}" title="{lang:mode_flat_hint}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/flat.png" class="button" alt="{lang:mode_flat_hint}"></a></li> 36 36 <!-- END flat --> 37 37
Note: See TracChangeset
for help on using the changeset viewer.