From e797d019eed5c6c89f51406d78d22f81b9340003 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Mon, 14 Dec 2015 14:17:21 -0500
Subject: [PATCH] - Fixed some hook handling problems

---
 interface/web/sites/templates/web_vhost_domain_edit.htm |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/interface/web/sites/templates/web_vhost_domain_edit.htm b/interface/web/sites/templates/web_vhost_domain_edit.htm
index 4a0fb4d..d28f0b7 100644
--- a/interface/web/sites/templates/web_vhost_domain_edit.htm
+++ b/interface/web/sites/templates/web_vhost_domain_edit.htm
@@ -13,7 +13,7 @@
 </tmpl_if>
 
 
-        {tmpl_hook name="begin_form"}
+        {tmpl_hook name="begin_form" value="web_vhost_domain_edit"}
 		<tmpl_if name="vhostdomain_type" value="domain">
             <tmpl_if name="is_admin">
                 <div class="form-group">
@@ -222,32 +222,32 @@
                     {tmpl_var name='php'}
                 </select></div>
             </div>
-            {tmpl_hook name="begin_field" value="fastcgi_php_version"}
+            {tmpl_hook name="begin_field" value="web_vhost_domain_edit:fastcgi_php_version"}
             <div class="form-group fastcgi_php_version">
                 <label for="fastcgi_php_version" class="col-sm-3 control-label">{tmpl_var name='fastcgi_php_version_txt'}</label>
                 <div class="col-sm-9"><select name="fastcgi_php_version" id="fastcgi_php_version" class="form-control">
                     {tmpl_var name='fastcgi_php_version'}
                 </select></div>
             </div>
-            {tmpl_hook name="end_field" value="fastcgi_php_version"}
+            {tmpl_hook name="end_field" value="web_vhost_domain_edit:fastcgi_php_version"}
 			{tmpl_var name="directive_snippets_id"}
-			{tmpl_hook name="begin_field" value="enable_pagespeed"}
+			{tmpl_hook name="begin_field" value="web_vhost_domain_edit:enable_pagespeed"}
 			<div class="form-group nginx pagespeed">
 				<label class="col-sm-3 control-label">{tmpl_var name='enable_pagespeed_txt'}</label>
 				<div class="col-sm-9">
 					{tmpl_var name="enable_pagespeed"}
 				</div>
 			</div>
-			{tmpl_hook name="end_field" value="enable_pagespeed"}
-			{tmpl_hook name="begin_field" value="active"}
+			{tmpl_hook name="end_field" value="web_vhost_domain_edit:enable_pagespeed"}
+			{tmpl_hook name="begin_field" value="web_vhost_domain_edit:active"}
             <div class="form-group">
                 <label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label>
                 <div class="col-sm-9">
                     {tmpl_var name='active'}
                 </div>
             </div>
-            {tmpl_hook name="end_field" value="active"}
-			{tmpl_hook name="end_form"}
+            {tmpl_hook name="end_field" value="web_vhost_domain_edit:active"}
+			{tmpl_hook name="end_form" value="web_vhost_domain_edit"}
 
         <input type="hidden" name="id" value="{tmpl_var name='id'}">
 

--
Gitblit v1.9.1