From 1785dab23cb7e5d6442fd9a48bef25810e0d0521 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 19 Mar 2013 10:54:38 -0400
Subject: [PATCH] Fixed: FS#2810 - Reseller can't modify limits

---
 interface/web/client/templates/client_edit_limits.htm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/interface/web/client/templates/client_edit_limits.htm b/interface/web/client/templates/client_edit_limits.htm
index c17d778..3ad6c9d 100644
--- a/interface/web/client/templates/client_edit_limits.htm
+++ b/interface/web/client/templates/client_edit_limits.htm
@@ -296,6 +296,7 @@
     </div>
 
 </div>
+<tmpl_if name="is_admin">
 <script type="text/javascript">
 <!--
 function custom_template_selected() {
@@ -318,4 +319,5 @@
         });
 
 //-->
-</script>
\ No newline at end of file
+</script>
+</tmpl_if>
\ No newline at end of file

--
Gitblit v1.9.1