aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2009-02-14 02:24:10 +0000
committerrvelices <rv-github@modusoptimus.com>2009-02-14 02:24:10 +0000
commit6c92ade174238e18ed22f6f95234ab9604e3b445 (patch)
tree51f2748c50cee6e5ceb1198fbdfaf1545911b1fc /template
parent290f2c1d39d1c47d48ba4e6a6d347459975e8b0f (diff)
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/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/yoga/index.tpl4
-rw-r--r--template/yoga/tags.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl
index 5a78f9899..4a87fc9c1 100644
--- a/template/yoga/index.tpl
+++ b/template/yoga/index.tpl
@@ -14,7 +14,7 @@
</select>
</li>
{/if}
-
+
{if isset($favorite) }
<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>
{/if}
@@ -28,7 +28,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}