diff options
author | rvelices <rv-github@modusoptimus.com> | 2009-02-14 02:28:21 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2009-02-14 02:28:21 +0000 |
commit | 368059d5353209ddad495081bc9d5d9218a9de23 (patch) | |
tree | 18c0de692f0102d0275b254f82756a3fa00c4e7f /template | |
parent | 35e9af66be0b6da3055d032123bd38100b58bca9 (diff) |
merge 3145-3146 from trunk
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)
git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/yoga/index.tpl | 2 | ||||
-rw-r--r-- | template/yoga/tags.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl index 2da9d04b5..e1547bd38 100644 --- a/template/yoga/index.tpl +++ b/template/yoga/index.tpl @@ -24,7 +24,7 @@ {/if} {if isset($U_SEARCH_RULES) } - <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> + <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> {/if} {if isset($U_SLIDESHOW) } diff --git a/template/yoga/tags.tpl b/template/yoga/tags.tpl index a69d1d2ec..e81fe7f75 100644 --- a/template/yoga/tags.tpl +++ b/template/yoga/tags.tpl @@ -41,7 +41,7 @@ {/foreach} </table> </fieldset> - {if $letter.CHANGE_COLUMN|@default:false} + {if isset($letter.CHANGE_COLUMN) } </td> <td valign="top"> {/if} |