Ignore:
Timestamp:
09/23/07 23:34:47 (5 years ago)
Author:
hverton
Message:

Replaced all button images by new {buttonlink} Smarty function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/PLiTheme/templates/source/main.downloads.tpl

    r787 r835  
    1515{*                                                                         *} 
    1616{***************************************************************************} 
    17 {if $subcats}{assign var="_title" value=$locale.417}{else}{assign var="_title" value=$locale.400}{/if} 
     17{if $subcats}{assign var="_title" value=$locale.417}{else}{assign var="_title" value=$locale.418}{/if} 
    1818{assign var="columns" value="2"}                                                    {* number of columns *} 
    1919{math equation="(100 - x) / x" x=$columns format="%u" assign="colwidth"} 
     
    7070{if $smarty.section.item.first} 
    7171    {include file="_opentable.tpl" name=$_name title=$locale.415|cat:" "|cat:$parent.download_cat_name state=$_state style=$_style} 
     72<table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'> 
    7273{/if} 
    73 <table width='100%' cellpadding='0' cellspacing='1' class='tbl-border'> 
    7474    <tr> 
    75         <td colspan='3' class='forum-caption'> 
     75        <td colspan='4' class='forum-caption'> 
    7676            <b>{$downloads[item].download_title}</b> 
    7777        </td> 
     
    7979    {if $downloads[item].download_description|default:"" != ""} 
    8080    <tr> 
    81         <td colspan='3' class='tbl1'> 
     81        <td colspan='4' class='tbl1'> 
    8282            {$downloads[item].download_description} 
    8383        </td> 
     
    8585    {/if} 
    8686    <tr> 
    87         <td width='30%' class='tbl2'> 
     87        <td class='tbl2' style='white-space:nowrap;'> 
    8888            <b>{$locale.411}</b> {$downloads[item].download_license} 
    8989        </td> 
    90         <td width='30%' class='tbl1'> 
     90        <td class='tbl1' style='white-space:nowrap;'> 
    9191            <b>{$locale.412}</b> {$downloads[item].download_os} 
    9292        </td> 
    93         <td width='40%' class='tbl2'> 
     93        <td class='tbl2' style='white-space:nowrap;'> 
    9494            <b>{$locale.413}</b> {$downloads[item].download_version} 
     95        </td> 
     96        <td class='tbl1' rowspan='2' style='text-align:center;white-space:nowrap;'> 
     97            {buttonlink name=$locale.416 link=$smarty.const.FUSION_SELF|cat:"?cat_id="|cat:$downloads[item].download_cat|cat:"&amp;download_id="|cat:$downloads[item].download_id} 
    9598        </td> 
    9699    </tr> 
    97100    <tr> 
    98         <td width='30%' class='tbl2'> 
     101        <td class='tbl2' style='white-space:nowrap;'> 
    99102            <b>{$locale.414}</b> {$downloads[item].download_datestamp|date_format:'%A, %B %e, %Y'} 
    100103        </td> 
    101         <td width='30%' class='tbl1'> 
     104        <td class='tbl1' style='white-space:nowrap;'> 
    102105            <b>{$locale.415}</b> {$downloads[item].download_count} 
    103106        </td> 
    104         <td width='40%' class='tbl2'> 
    105             <a href='{$smarty.const.FUSION_SELF}?cat_id={$downloads[item].download_cat}&amp;download_id={$downloads[item].download_id}' target='_blank'>{$locale.416}</a> ({$downloads[item].download_filesize}) 
     107        <td class='tbl2' style='white-space:nowrap;'> 
     108            <b>{$locale.419}</b> {$downloads[item].download_filesize} 
    106109        </td> 
    107110    </tr> 
    108 </table> 
    109 {if !$smarty.section.item.last}<br />{/if} 
     111{if !$smarty.section.item.last} 
     112    <tr> 
     113        <td colspan='4' class='tbl1'> 
     114        </td> 
     115    </tr> 
     116{else} 
     117    </table> 
     118{/if} 
    110119{sectionelse} 
    111120    {include file="_opentable.tpl" name=$_name title=$locale.400 state=$_state style=$_style} 
Note: See TracChangeset for help on using the changeset viewer.