From 8ce53c85f259b06935f6a575e1068a1e5f6b34b3 Mon Sep 17 00:00:00 2001
From: =?utf8?q?St=C3=A9phane=20Jacob?=
Date: Sat, 19 Mar 2011 19:02:41 +0100
Subject: [PATCH] Smarty, php and html validation on account/watch template.
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit
Signed-off-by: Stéphane Jacob
---
templates/admin/accounts.tpl | 114 +++++++++++++++++++++----------------------
1 file changed, 56 insertions(+), 58 deletions(-)
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: *}
--
2.1.4