Changeset 1864


Ignore:
Timestamp:
Feb 28, 2007, 12:24:53 AM (17 years ago)
Author:
rub
Message:

Missing one change flat_hint to mode_flat_hint
Review a little l10n_dec

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r1861 r1864  
    104104      )
    105105    );
    106   if ($user['show_nb_hits']
    107       and isset($page['category']))
     106  if ($user['show_nb_hits'])
    108107  {
    109108    $template->assign_block_vars(
     
    156155  }
    157156
    158   if ($user['show_nb_comments']
    159       and isset($page['category'])
    160       and $page['category']['commentable'])
     157  if ($user['show_nb_comments'])
    161158  {
    162159    $query = '
  • trunk/include/functions.inc.php

    r1862 r1864  
    10131013{
    10141014  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);
    10211023}
    10221024
  • trunk/template/yoga/index.tpl

    r1860 r1864  
    3333
    3434      <!-- 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>
    3636      <!-- END flat -->
    3737
Note: See TracChangeset for help on using the changeset viewer.