{% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate, box: "box"} %} {{ script({ include: "js/libs/jquery.min.js", dynamic: __oxid_include_dynamic }) }} {% if readonly %} {% set readonly = "readonly disabled" %} {% else %} {% set readonly = "" %} {% endif %} {{ style({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/d3_mod_cfg.min.css') }) }} {{ style() }} {% include "@d3importer/admin/errormessages.html.twig" %} {% set doNotShow %} {% endset %} {{ script({ add: javaScript.__toString(), dynamic: __oxid_include_dynamic }) }}
{{ oViewConf.getHiddenSid()|raw }}
{% set iError = oView.getConfigFailure() %} {% if iError %} {% block d3_d3importer_views_admin_tpl_d3_picture_main_failure %}
{{ translate({ ident: "D3_PICTURE_FAILCONFIG_"|cat(iError) }) }}
{% endblock %} {% else %}
{{ oViewConf.getHiddenSid()|raw }}
{% if isfailupload %} {% endif %} {% if oxid == -1 %} {% else %} {% block d3_d3importer_views_admin_tpl_d3_picture_main_items %} {% for key, aActualField in aProfile.aXMLPictureParams %} {% if aActualField is iterable %} {% set sNextKey = key+1 %} {% endif %} {% endfor %} {% endblock %} {% block d3_d3importer_views_admin_tpl_d3_picture_main_settings %} {% set aPictureSettings = edit.getDefaultPictureSettings() %} {% set disabledInDemo = "" %} {% if isImporterDemoMode %} {% set disabledInDemo = "disabled=\"disabled\"" %} {% endif %} {% endblock %} {% endif %}
{{ translate({ ident: "D3_IMPORTER_FAILUPLOAD_"|cat(isfailupload) }) }}
{{ translate({ ident: "D3_PICTURE_IMPORT_LOAD_PROFILE" }) }}
{{ translate({ ident: "D3_PICTURE_IMPORTFIELD" }) }}

=>

{% if imagefieldlist.oxzoom1 %} {% endif %}
{% for picRow in 1..iPicCount+1 %} {% set iIndex = loop.index %} {% set sFieldName = "oxzoom"|cat(iIndex) %} {% if iIndex % 6 == 0 %}
{% endif %} {% endfor %}
{% for picRow in 1..iPicCount+1 %} {% set iIndex = loop.index %} {% set sFieldName = "oxpic"|cat(iIndex) %} {% if iIndex % 6 == 0 %}
{% endif %} {% endfor %}
 
{{ translate({ ident: "D3_PICTURE_IMPORTFIELD" }) }}

=>

{% if imagefieldlist.oxzoom1 %} {% endif %}
{% for picRow in 1..iPicCount+1 %} {% set iIndex = loop.index %} {% set sFieldName = "oxzoom"|cat(iIndex) %} {% if iIndex % 6 == 0 %}
{% endif %} {% endfor %}
{% for picRow in 1..iPicCount+1 %} {% set iIndex = loop.index %} {% set sFieldName = "oxpic"|cat(iIndex) %} {% if iIndex % 6 == 0 %}
{% endif %} {% endfor %}
 
{{ translate({ ident: "D3_IMPORTER_PICTURE_PICSPERTICK" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_PICTURE_PICSPERTICK_HELP"), 'sHelpText': help_text("D3_IMPORTER_PICTURE_PICSPERTICK_HELP")} %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_PICTURE_MAXPICTURECOUNT_HELP"), 'sHelpText': help_text("D3_IMPORTER_PICTURE_MAXPICTURECOUNT_HELP")} %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_PICTURE_MAXIMPORTCOUNT_HELP"), 'sHelpText': help_text("D3_IMPORTER_PICTURE_MAXIMPORTCOUNT_HELP")} %}
{{ translate({ ident: "D3_IMPORTER_CONFIG_OVERRIDEEXTERNPICTURES" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_CONFIG_OVERRIDEEXTERNPICTURES_HELP"), 'sHelpText': help_text("D3_IMPORTER_CONFIG_OVERRIDEEXTERNPICTURES_HELP")} %} {% set iOverrideExternPictures = aProfile.aPictureSettings.iOverrideExternPictures %} {% if iOverrideExternPictures == "" %} {% set iOverrideExternPictures = aPictureSettings.iOverrideExternPictures %} {% endif %}
{{ translate({ ident: "D3_IMPORTER_CONFIG_BLDELETEMASTERPICTURE" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_CONFIG_BLDELETEMASTERPICTURE_HELP"), 'sHelpText': help_text("D3_IMPORTER_CONFIG_BLDELETEMASTERPICTURE_HELP")} %} {% set blDeleteMasterPicture = aProfile.aPictureSettings.blDeleteMasterPicture %} {% if blDeleteMasterPicture == "" %} {% set blDeleteMasterPicture = aPictureSettings.blDeleteMasterPicture %} {% endif %}
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_CONFIG_PATHTOMOVE_HELP"), 'sHelpText': help_text("D3_IMPORTER_CONFIG_PATHTOMOVE_HELP")} %} {% set picturesActionAfterImport = aProfile.aPictureSettings.picturesActionAfterImport %} {% if picturesActionAfterImport == "" %} {% set picturesActionAfterImport = aPictureSettings.picturesActionAfterImport %} {% endif %}
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_CONFIG_FOLDER_HELP"), 'sHelpText': help_text("D3_IMPORTER_CONFIG_FOLDER_HELP")} %} {% set pathToMove = aProfile.aPictureSettings.pathToMove %} {% if pathToMove == "" %} {% set pathToMove = aPictureSettings.pathToMove %} {% endif %}
 
{% endif %} {% include "bottomnaviitem.html.twig" %} {% include "bottomitem.html.twig" %}