Ignore:
Timestamp:
05/15/08 15:17:21 (4 years ago)
Author:
hverton
Message:

fixed problem with new PM and new post messages in the user info panel (i18n issue with singular/plural)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl

    r1344 r1402  
    4040        <hr /> 
    4141        <div style='text-align:center'> 
    42             <b><a href='{$smarty.const.BASEDIR}pm.php?action=show_new' class='side'>{$new_pm_msg|string_format:$locale.085}{if $new_pm_msg == 1}{$locale.086}{else}{$locale.087}{/if}</a></b> 
     42            <b><a href='{$smarty.const.BASEDIR}pm.php?action=show_new' class='side'>{if $new_pm_msg == 1}{$new_pm_msg|string_format:$locale.085}{else}{$new_pm_msg|string_format:$locale.086}{/if}</a></b> 
    4343        </div> 
    4444    {/if} 
     
    4747        <div style='text-align:center'> 
    4848            {if $new_posts_panel} 
    49                 <a href='{$smarty.const.MODULES}forum_threads_list_panel/new_posts.php' class='side'><b>{$new_post_msg|string_format:$locale.090}{if $new_post_msg == 1}{$locale.088}{else}{$locale.089}{/if}</b></a> 
     49                <a href='{$smarty.const.MODULES}forum_threads_list_panel/new_posts.php' class='side'><b>{if $new_post_msg == 1}{$new_post_msg|string_format:$locale.088}{else}{$new_post_msg|string_format:$locale.089}{/if}</b></a> 
    5050                <hr /> 
    5151                {buttonlink name=$locale.091 link=$smarty.const.MODULES|cat:"forum_threads_list_panel/new_posts.php?markasread="|cat:$user_id} 
    5252            {else} 
    53                 <b>{$new_post_msg|string_format:$locale.090}{if $new_post_msg == 1}{$locale.088}{else}{$locale.089}{/if}</b> 
     53                <b>{if $new_post_msg == 1}{$new_post_msg|string_format:$locale.088}{else}{$new_post_msg|string_format:$locale.089}{/if}</b> 
    5454            {/if} 
    5555        </div> 
Note: See TracChangeset for help on using the changeset viewer.