{% include "headitem.html.twig" with {title: "GENERAL_ADMIN_TITLE"|translate, box: "box"} %} {{ style({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/d3_mod_cfg.min.css') }) }} {{ style() }} {% include "@d3importer/admin/errormessages.html.twig" %} {% if readonly %} {% set readonly = "readonly disabled" %} {% else %} {% set readonly = "" %} {% endif %}
{{ oViewConf.getHiddenSid()|raw }}
{{ oViewConf.getHiddenSid()|raw }} {% if hasReachedProfileLimit %}
{{ translate({ ident: "D3_IMPORTER_NOTICE_PROFILELIMITREACHED" }) }}
{% endif %} {% if isfailupload %} {% endif %}
{{ translate({ ident: "D3_IMPORTER_FAILUPLOAD_"|cat(isfailupload) }) }}
{% block d3_d3importer_views_admin_tpl_d3_importer_main_leftside %} {% if oxid != " - 1" %} {% endif %} {% endblock %}
{{ translate({ ident: "D3_IMPORTER_MAIN_OXID" }) }} {{ edit.getId() }}
{{ translate({ ident: "D3_IMPORTER_MAIN_DESCRIPTION" }) }}
{{ translate({ ident: "D3_IMPORTER_MAIN_IMPORTFILE" }) }}
{{ translate({ ident: "D3_IMPORTER_MAIN_NEWFILE", args: oView.getFormattedMaxUploadFileSize() }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_MAIN_ALLOWEXT_MAXFILESIZE_HELP"), 'sHelpText': help_text("D3_IMPORTER_MAIN_ALLOWEXT_MAXFILESIZE_HELP")} %}
{{ translate({ ident: "D3_IMPORTER_MAIN_COLSEP" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_MAIN_COLSEPDESCRIPTION_HELP"), 'sHelpText': help_text("D3_IMPORTER_MAIN_COLSEPDESCRIPTION_HELP")} %}
{{ translate({ ident: "D3_IMPORTER_MAIN_TEXTSEP" }) }} {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_IMPORTER_MAIN_TEXTSEPDESCRIPTION_HELP"), 'sHelpText': help_text("D3_IMPORTER_MAIN_TEXTSEPDESCRIPTION_HELP")} %}

{% if oxid != " - 1" and not isfailupload %} {% if aFileInfo and aProfile.FILE|url_encode %} {% block d3_d3importer_views_admin_tpl_d3_importer_main_rightside %} {% endblock %}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_HEAD" }) }}:

{% if aFileInfo.is_csv %} {% else %} {% endif %}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_NAME" }) }} : {{ aFileInfo.name }}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_SIZE" }) }} : {{ aFileInfo.size|replace({".": ","}) }}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_CHANGE" }) }} : {{ aFileInfo.modify|date("d.m.Y H:i:s") }}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_READ" }) }} : {% if aFileInfo.is_read %} ja {% else %} nein {% endif %}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_WRITE" }) }} : {% if aFileInfo.is_write %} ja {% else %} nein {% endif %}
 
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_CSV" }) }} : ja
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_ROWS" }) }} : {{ aFileInfo.lines }}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_COLUMS" }) }} : {{ aFileInfo.colums }} (bei Seperator "{{ aFileInfo.seperator }}")
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_CSV" }) }} : unbekannt
 
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_RIGHTS" }) }} : {{ aFileInfo.permission }}
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_OWNER" }) }} : {{ aFileInfo.owner.name }} ({{ aFileInfo.owner.uid }} )
{{ translate({ ident: "D3_IMPORTER_MAIN_FIFELINFO_GROUP" }) }} : {{ aFileInfo.group.name }} ({{ aFileInfo.group.uid }} )
{% endif %} {% endif %}
{% if oxid != " - 1" %}
{{ oViewConf.getHiddenSid()|raw }}
{% endif %} {% set javaScript %}{% apply spaceless %} document.getElementById("newuploadfile").addEventListener("change", function (e) { var count=1; var files = e.currentTarget.files; for (var x in files) { var filesize = files[x].size; let filename = files[x].name; var maxfilesize = '{{ oView.getFormattedMaxUploadFileSize() }}'; if (filename !== "item" && typeof filename !== "undefined" && filesize !== "undefined" && filesize > {{ oView.getSmallestSystemUploadRestrictions() }}) { alert(`{{ translate({ ident: "D3_IMPORTER_MAIN_EXCEEDS_MAXFILESIZE" }) }}`); } } }); {% endapply %}{% endset %} {{ script({ add: javaScript.__toString(), dynamic: __oxid_include_dynamic }) }} {% include "bottomnaviitem.html.twig" %} {% include "bottomitem.html.twig" %}