{% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate} %} {% if readonly %} {% set readonly = "readonly disabled" %} {% endif %} {% if oViewConfig.getEdition == 'EE' and not allowSharedEdit %} {% set disableSharedEdit = "readonly disabled" %} {% endif %}
{{ oViewConf.getHiddenSid()|raw }}
{{ oViewConf.getHiddenSid()|raw }} {% if edit.oxactions__oxtype.value == 3 and oViewConf.isAltImageServerConfigured() %}
{{ translate({ ident: "ALTERNATIVE_IMAGE_SERVER_NOTE" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_ALTERNATIVE_IMAGE_SERVER_NOTE"), 'sHelpText': help_text("HELP_ALTERNATIVE_IMAGE_SERVER_NOTE")} %}
{% endif %} {% if edit.oxactions__oxtype.value > 1 %} {% if edit.oxactions__oxtype.value == 3 %} {% endif %} {% endif %}
{% block admin_actions_main_form %} {% if oxid == "-1" %} {% endif %} {% endblock %} {% if edit.oxactions__oxtype.value == 3 %} {% endif %}
{{ translate({ ident: "GENERAL_NAME" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_GENERAL_NAME"), 'sHelpText': help_text("HELP_GENERAL_NAME")} %}
{% if edit.oxactions__oxtype.value != 2 %} {{ translate({ ident: "GENERAL_ALWAYS_ACTIVE" }) }} {% else %} {{ translate({ ident: "GENERAL_ACTIVE" }) }} {% endif %} {% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_GENERAL_ACTIVE"), 'sHelpText': help_text("HELP_GENERAL_ACTIVE")} %}
{% if edit.oxactions__oxtype.value != 2 %}{{ translate({ ident: "GENERAL_ACTIVFROMTILL" }) }}{% endif %}  {{ translate({ ident: "GENERAL_FROM" }) }}
{{ translate({ ident: "GENERAL_TILL" }) }} {% if edit.oxactions__oxtype.value != 2 %}{% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_GENERAL_ACTIVFROMTILL"), 'sHelpText': help_text("HELP_GENERAL_ACTIVFROMTILL")} %}{% endif %}
{{ translate({ ident: "GENERAL_TYPE" }) }} 

{% include "language_edit.html.twig" %}
{{ translate({ ident: "GENERAL_SORT" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_GENERAL_SORT"), 'sHelpText': help_text("HELP_GENERAL_SORT")} %}



{% if oxid != "-1" %} {% if edit.oxactions__oxtype.value < 2 %} {% else %} {% endif %} {% endif %}
{% if (not (edit.oxactions__oxpic.value=="nopic.jpg" or edit.oxactions__oxpic.value=="")) %}
Banner picture
{% endif %}
{% if edit.oxactions__oxtype.value == 2 %} {% block admin_actions_main_editor %} {% endblock %} {% endif %} {% if edit.oxactions__oxtype.value == 3 %} {% endif %}
{{ editor|raw }}
{% block admin_actions_main_product %} {% set _oArticle = edit.getBannerArticle() %} {% endblock %}
{{ translate({ ident: "PROMOTIONS_BANNER_PICTUREANDLINK" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_PROMOTIONS_BANNER_PICTUREANDLINK"), 'sHelpText': help_text("HELP_PROMOTIONS_BANNER_PICTUREANDLINK")} %}
{{ translate({ ident: "PROMOTIONS_BANNER_PICTUREUPLOAD" }) }} ({{ translate({ ident: "GENERAL_MAX_FILE_UPLOAD" }) }} {{ sMaxFormattedFileSize }}, {{ translate({ ident: "GENERAL_MAX_PICTURE_DIMENSIONS" }) }}): {% if (not (edit.oxactions__oxpic.value=="nopic.jpg" or edit.oxactions__oxpic.value=="")) and not readonly %} {% endif %}
{{ translate({ ident: "PROMOTIONS_BANNER_LINK" }) }}: {% if edit.oxactions__oxlink.value %} {% endif %}
{{ translate({ ident: "PROMOTIONS_BANNER_ASSIGNEDARTICLE" }) }}: {% if _oArticle %} {{ _oArticle.oxarticles__oxartnum.value }} {{ _oArticle.oxarticles__oxtitle.value }} {% else %} --- {% endif %}
{% apply spaceless %} {% endapply %}
{% include "bottomitem.html.twig" %}