Changeset 3145 for trunk/template


Ignore:
Timestamp:
Feb 14, 2009, 3:24:10 AM (15 years ago)
Author:
rvelices
Message:

Last (I hope) paranoic optims ...

  • move get_uysername and get_groupname from public to admin/functions.inc.php
  • optim in index.php
  • tags.tpl does not need smarty modifier included
  • move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page)
Location:
trunk/template/yoga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/template/yoga/index.tpl

    r3108 r3145  
    1515      </li>
    1616      {/if}
    17      
     17
    1818      {if isset($favorite) }
    1919      <li><a href="{$favorite.U_FAVORITE}" title="{'del_all_favorites_hint'|@translate}"><img src="{$favorite.FAVORITE_IMG}" class="button" alt="favorite" title="{'del_all_favorites_hint'|@translate}"></a></li>
     
    2929
    3030      {if isset($U_SEARCH_RULES) }
    31       <li><a href="{$U_SEARCH_RULES}" style="border:none;" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)"></a></li>
     31      <li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/search_rules.png" class="button" alt="(?)" /></a></li>
    3232      {/if}
    3333
  • trunk/template/yoga/tags.tpl

    r2648 r3145  
    4242    </table>
    4343  </fieldset>
    44       {if $letter.CHANGE_COLUMN|@default:false}
     44      {if isset($letter.CHANGE_COLUMN) }
    4545      </td>
    4646      <td valign="top">
Note: See TracChangeset for help on using the changeset viewer.