From: Stéphane Jacob
Date: Sat, 19 Mar 2011 18:02:41 +0000 (+0100)
Subject: Smarty, php and html validation on account/watch template.
X-Git-Tag: xorg/1.1.0~26^2~10
X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=8ce53c85f259b06935f6a575e1068a1e5f6b34b3;p=platal.git
Smarty, php and html validation on account/watch template.
Signed-off-by: Stéphane Jacob
---
diff --git a/templates/admin/accounts.tpl b/templates/admin/accounts.tpl
index a6dad0d..add98ea 100644
--- a/templates/admin/accounts.tpl
+++ b/templates/admin/accounts.tpl
@@ -47,7 +47,7 @@ function add_user_to_url(f) {
-{if $users->total() > 0}
+{if t($users) && $users->total() > 0}
+
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}