Skip to content

Commit

Permalink
Output Multidimensional Arrays in Raw Format, because Escape Greater …
Browse files Browse the repository at this point in the history
…Than Sign belongs to a Saving Bug
  • Loading branch information
Indianer3c authored and Sieg committed Nov 30, 2020
1 parent 4ef813f commit 7315d7e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
4 changes: 2 additions & 2 deletions tpl/shop_config.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ function editThis(sID)
<a href="#" onclick="_groupExp(this);return false;" class="rc"><b>{{ translate({ ident: "SHOP_OPTIONS_GROUP_ADMINISTRATION" }) }}</b></a>
<dl>
<dt>
<textarea class="txtfield" name=confaarrs[aCMSfolder] {{ readonly }}>{{ confaarrs.aCMSfolder }}</textarea>
<textarea class="txtfield" name=confaarrs[aCMSfolder] {{ readonly }}>{{ confaarrs.aCMSfolder|raw }}</textarea>
{% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_SHOP_CONFIG_CMSFOLDER"), 'sHelpText': help_text("HELP_SHOP_CONFIG_CMSFOLDER")} %}
</dt>
<dd>
Expand All @@ -891,7 +891,7 @@ function editThis(sID)

<dl>
<dt>
<textarea class="txtfield" name=confaarrs[aOrderfolder] {{ readonly }}>{{ confaarrs.aOrderfolder }}</textarea>
<textarea class="txtfield" name=confaarrs[aOrderfolder] {{ readonly }}>{{ confaarrs.aOrderfolder|raw }}</textarea>
{% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_SHOP_CONFIG_ORDERFOLDER"), 'sHelpText': help_text("HELP_SHOP_CONFIG_ORDERFOLDER")} %}
</dt>
<dd>
Expand Down
2 changes: 1 addition & 1 deletion tpl/shop_system.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function editThis( sID )
<a href="#" onclick="_groupExp(this);return false;" class="rc"><b>{{ translate({ ident: "SHOP_OPTIONS_GROUP_ADMINISTRATION" }) }}</b></a>
<dl>
<dt>
<textarea class="txtfield" name=confaarrs[aInterfaceProfiles] {{ readonly }}>{{ confaarrs.aInterfaceProfiles }}</textarea>
<textarea class="txtfield" name=confaarrs[aInterfaceProfiles] {{ readonly }}>{{ confaarrs.aInterfaceProfiles|raw }}</textarea>
{% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_SHOP_SYSTEM_INTERFACEPROFILES"), 'sHelpText': help_text("HELP_SHOP_SYSTEM_INTERFACEPROFILES")} %}
</dt>
<dd>
Expand Down
2 changes: 1 addition & 1 deletion tpl/theme_config.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function _groupExp(el) {
{% elseif var_type == 'arr' %}
<textarea class="txtfield" name=confarrs[{{ theme_var }}] {{ readonly }}>{{ confarrs[theme_var] }}</textarea>
{% elseif var_type == 'aarr' %}
<textarea class="txtfield" style="width: 430px;" name=confaarrs[{{ theme_var }}] wrap="off" {{ readonly }}>{{ confaarrs[theme_var] }}</textarea>
<textarea class="txtfield" style="width: 430px;" name=confaarrs[{{ theme_var }}] wrap="off" {{ readonly }}>{{ confaarrs[theme_var]|raw }}</textarea>
{% elseif var_type == 'select' %}
<select class="select" name=confselects[{{ theme_var }}] {{ readonly }}>
{% for _field in var_constraints[theme_var] %}
Expand Down

0 comments on commit 7315d7e

Please sign in to comment.