Ignore:
Timestamp:
10/23/07 14:49:17 (5 years ago)
Author:
hverton
Message:

Made the locales unique for this module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/common/advertising/php-files/modules/advertising/templates/modules.advertising.overview.tpl

    r997 r999  
    1919<!-- 
    2020function confdel(url) { 
    21     if (confirm('{/literal}{$locale.905}{literal}')) location.href = url; 
     21    if (confirm('{/literal}{$locale.ads905}{literal}')) location.href = url; 
    2222} 
    2323// --> 
    2424</script>{/literal} 
    25 {include file="_opentable.tpl" name=$_name title=$locale.404|cat:" : <b>"|cat:$data.user_name|cat:"</b>" state=$_state style=$_style} 
     25{include file="_opentable.tpl" name=$_name title=$locale.ads404|cat:" : <b>"|cat:$data.user_name|cat:"</b>" state=$_state style=$_style} 
    2626<table align='center' cellpadding='0' cellspacing='1' width='90%' class='tbl-border'> 
    2727    <tr> 
    28         <td colspan='7' align='center' class='tbl2'><b>{$locale.402}</b> 
     28        <td colspan='7' align='center' class='tbl2'><b>{$locale.ads402}</b> 
    2929        </td> 
    3030    </tr> 
     
    3232{if $smarty.section.ad.first} 
    3333    <tr> 
    34         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.460}</b></td> 
    35         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.462}</b></td> 
    36         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.463}</b></td> 
    37         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.479}</b></td> 
    38         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.464}</b></td> 
    39         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.465}</b></td> 
    40         <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.466}</b></td> 
     34        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads460}</b></td> 
     35        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads462}</b></td> 
     36        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads463}</b></td> 
     37        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads479}</b></td> 
     38        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads464}</b></td> 
     39        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads465}</b></td> 
     40        <td align='center' width='1%' class='tbl2' style='white-space:nowrap'><b>{$locale.ads466}</b></td> 
    4141    </tr> 
    4242{/if} 
     
    4949        <td align='center' class='tbl1' style='white-space:nowrap'>{$ads1[ad].percentage}%</td> 
    5050        <td align='center' class='tbl1' style='white-space:nowrap'> 
    51             <a href='adverts.php{$aidlink}&amp;action=edit&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_edit.gif' alt='{$locale.469}' title='{$locale.469}' /></a>&nbsp;    
    52             <a href='javascript:confdel("adverts.php{$aidlink}&amp;action=delete&amp;adverts_id={$ads1[ad].adverts_id}");'><img src='{$smarty.const.THEME}images/page_delete.gif' alt='{$locale.470}' title='{$locale.470}' /></a>&nbsp;     
     51            <a href='adverts.php{$aidlink}&amp;action=edit&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_edit.gif' alt='{$locale.ads469}' title='{$locale.ads469}' /></a>&nbsp;  
     52            <a href='javascript:confdel("adverts.php{$aidlink}&amp;action=delete&amp;adverts_id={$ads1[ad].adverts_id}");'><img src='{$smarty.const.THEME}images/page_delete.gif' alt='{$locale.ads470}' title='{$locale.ads470}' /></a>&nbsp;   
    5353            {if $ads1[ad].adverts_status == 0} 
    54                 <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.467}' title='{$locale.467}' /></a> 
     54                <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.ads467}' title='{$locale.ads467}' /></a> 
    5555            {else} 
    56                 <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.468}' title='{$locale.468}' /></a> 
     56                <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads1[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.ads468}' title='{$locale.ads468}' /></a> 
    5757            {/if} 
    5858        </td> 
     
    6161    <tr> 
    6262        <td colspan='7' align='center' class='tbl1'> 
    63             <b>{$locale.908}</b> 
     63            <b>{$locale.ads908}</b> 
    6464        </td> 
    6565    </tr> 
    6666{/section} 
    6767    <tr> 
    68         <td colspan='7' align='center' class='tbl2'><b>{$locale.403}</b> 
     68        <td colspan='7' align='center' class='tbl2'><b>{$locale.ads403}</b> 
    6969        </td> 
    7070    </tr> 
     
    7878        <td align='center' class='tbl1' style='white-space:nowrap'>{$ads2[ad].percentage}%</td> 
    7979        <td align='center' class='tbl1' style='white-space:nowrap'> 
    80             <a href='adverts.php{$aidlink}&amp;action=edit&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_edit.gif' alt='{$locale.469}' title='{$locale.469}' /></a>&nbsp;    
    81             <a href='javascript:confdel("adverts.php{$aidlink}&amp;action=delete&amp;adverts_id={$ads2[ad].adverts_id}");'><img src='{$smarty.const.THEME}images/page_delete.gif' alt='{$locale.470}' title='{$locale.470}' /></a>&nbsp;     
     80            <a href='adverts.php{$aidlink}&amp;action=edit&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_edit.gif' alt='{$locale.ads469}' title='{$locale.ads469}' /></a>&nbsp;  
     81            <a href='javascript:confdel("adverts.php{$aidlink}&amp;action=delete&amp;adverts_id={$ads2[ad].adverts_id}");'><img src='{$smarty.const.THEME}images/page_delete.gif' alt='{$locale.ads470}' title='{$locale.ads470}' /></a>&nbsp;   
    8282            {if $ads2[ad].adverts_status == 0} 
    83                 <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.467}' title='{$locale.467}' /></a> 
     83                <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.ads467}' title='{$locale.ads467}' /></a> 
    8484            {else} 
    85                 <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.468}' title='{$locale.468}' /></a> 
     85                <a href='adverts.php{$aidlink}&amp;action=enable&amp;adverts_id={$ads2[ad].adverts_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.ads468}' title='{$locale.ads468}' /></a> 
    8686            {/if} 
    8787        </td> 
     
    9090    <tr> 
    9191        <td colspan='7' align='center' class='tbl1'> 
    92             <b>{$locale.911}</b> 
     92            <b>{$locale.ads911}</b> 
    9393        </td> 
    9494    </tr> 
     
    9898    <form name='sf_{$data.user_name}' method='post' action='{$smarty.const.FUSION_SELF}{$aidlink}&amp;id={$data.user_id}'> 
    9999        <br /> 
    100         <input type='submit' name='addad' value='{$locale.400}' class='button' />&nbsp; 
    101         <input type='submit' name='delclient' value='{$locale.476}' class='button' /> 
     100        <input type='submit' name='addad' value='{$locale.ads400}' class='button' />&nbsp; 
     101        <input type='submit' name='delclient' value='{$locale.ads476}' class='button' /> 
    102102    </form> 
    103103</div> 
Note: See TracChangeset for help on using the changeset viewer.