From 7310e1afcd6e7f5fa1f49ed882d4e532e5b9edbd Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Mon, 14 Sep 2015 17:39:03 +0200 Subject: [PATCH] =?UTF-8?q?Prot=C3=A9ger=20l'appel=20aux=20variables=20hap?= =?UTF-8?q?y=5F*=5Fhook=20dans=20les=20templates=20=C3=A9galement.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ref #12701 --- tmpl/oned.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmpl/oned.conf b/tmpl/oned.conf index d12cbf0..23a4bee 100644 --- a/tmpl/oned.conf +++ b/tmpl/oned.conf @@ -602,6 +602,7 @@ VM_HOOK = [ #******************************************************************************* # VM #******************************************************************************* + %if %%hapy_vm_hooks == 'oui' %for %%hook in %%hapy_vm_hook VM_HOOK = [ name = "%%hook", @@ -619,9 +620,11 @@ VM_HOOK = [ %end if ] %end for + %end if #******************************************************************************* # USER #******************************************************************************* + %if %%hapy_user_hooks == 'oui' %for %%hook in %%hapy_user_hook USER_HOOK = [ name = "%%hook", @@ -630,6 +633,7 @@ USER_HOOK = [ arguments = "%%hook.hapy_user_hook_arguments" ] %end for + %end if %end if HM_MAD = [