From b445a308ed1422caa1e66068e4011ab19e35a55b Mon Sep 17 00:00:00 2001 From: ARNHOE Date: Thu, 21 Mar 2013 10:51:35 +0100 Subject: [PATCH] FIX: update templates for 3.1 template syntax --- templates/EditableFormField.ss | 28 +++++++++++++-------------- templates/FieldEditor.ss | 10 +++++----- templates/Includes/CustomRule.ss | 4 ++-- templates/email/SubmittedFormEmail.ss | 4 ++-- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/templates/EditableFormField.ss b/templates/EditableFormField.ss index c53169f..045297a 100755 --- a/templates/EditableFormField.ss +++ b/templates/EditableFormField.ss @@ -30,9 +30,9 @@ @@ -52,18 +52,18 @@ <% if FieldConfiguration %>
<% _t('FIELDCONFIGURATION', 'Field Configuration') %> - <% control FieldConfiguration %> + <% loop FieldConfiguration %> $FieldHolder - <% end_control %> + <% end_loop %>
<% end_if %> <% if FieldValidationOptions %>
<% _t('VALIDATION', 'Validation') %> - <% control FieldValidationOptions %> + <% loop FieldValidationOptions %> $FieldHolder - <% end_control %> + <% end_loop %>
<% end_if %> @@ -90,13 +90,13 @@ @@ -117,11 +117,11 @@
<% _t('DELETE', 'Delete') %> <% if CustomRules %> - <% control CustomRules %> + <% loop CustomRules %>
  • <% include CustomRule %>
  • - <% end_control %> + <% end_loop %> <% end_if %> diff --git a/templates/FieldEditor.ss b/templates/FieldEditor.ss index 522c924..d2c7f1c 100755 --- a/templates/FieldEditor.ss +++ b/templates/FieldEditor.ss @@ -5,9 +5,9 @@
    @@ -18,13 +18,13 @@ <% end_if %> - \ No newline at end of file + diff --git a/templates/Includes/CustomRule.ss b/templates/Includes/CustomRule.ss index 618aeab..8fb5e16 100644 --- a/templates/Includes/CustomRule.ss +++ b/templates/Includes/CustomRule.ss @@ -6,9 +6,9 @@ diff --git a/templates/email/SubmittedFormEmail.ss b/templates/email/SubmittedFormEmail.ss index 2180029..1a8b3cf 100755 --- a/templates/email/SubmittedFormEmail.ss +++ b/templates/email/SubmittedFormEmail.ss @@ -4,9 +4,9 @@ $Body <% if HideFormData %> <% else %>
    - <% control Fields %> + <% loop Fields %>
    <% if Title %>$Title<% else %>$Name<% end_if %>
    $FormattedValue
    - <% end_control %> + <% end_loop %>
    <% end_if %>