From: Moritz Bunkus Date: Wed, 12 Nov 2014 11:12:33 +0000 (+0100) Subject: Ansprechpersonen-CVars mit INCLUDE und nicht PROCESS einbinden X-Git-Tag: release-3.2.0beta~256 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e43a9252e3522874c449c30054613c7c2ba308e7;p=kivitendo-erp.git Ansprechpersonen-CVars mit INCLUDE und nicht PROCESS einbinden PROCESS lokalisiert die Variablen nicht. Das führt dazu, dass bei multiplen CVars für Ansprechpersonen der Feldname aller CVar-Inputs immer der der ersten CVar ist. --- diff --git a/templates/webpages/customer_vendor/tabs/contacts.html b/templates/webpages/customer_vendor/tabs/contacts.html index af4b94241..630a60704 100644 --- a/templates/webpages/customer_vendor/tabs/contacts.html +++ b/templates/webpages/customer_vendor/tabs/contacts.html @@ -214,7 +214,7 @@ [% var.config.description | html %] - [% PROCESS 'common/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'contact_cvars.' %] diff --git a/templates/webpages/customer_vendor/tabs/custom_variables.html b/templates/webpages/customer_vendor/tabs/custom_variables.html index e0ecdc794..dcd62f091 100644 --- a/templates/webpages/customer_vendor/tabs/custom_variables.html +++ b/templates/webpages/customer_vendor/tabs/custom_variables.html @@ -8,7 +8,7 @@ [% var.config.description | html %] - [% PROCESS 'common/render_cvar_input.html' + [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix = 'cv_cvars.' var_name = '' %]