124 regels
8.0 KiB
Twig
124 regels
8.0 KiB
Twig
|
{% include "headitem.html.twig" with {title: "D3TPLBLOCK_MAIN_TITLE"|translate} %}
|
||
|
|
||
|
{% if readonly %}
|
||
|
{% set readonly = "readonly disabled" %}
|
||
|
{% else %}
|
||
|
{% set readonly = "" %}
|
||
|
{% endif %}
|
||
|
|
||
|
{% if oViewConfig.getEdition == 'EE' and not allowSharedEdit %}
|
||
|
{% set disableSharedEdit = "readonly disabled" %}
|
||
|
{% endif %}
|
||
|
|
||
|
<form name="transfer" id="transfer" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
|
||
|
{{ oViewConf.getHiddenSid()|raw }}
|
||
|
<input type="hidden" name="oxid" value="{{ oxid }}">
|
||
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName()|raw }}">
|
||
|
<input type="hidden" name="editlanguage" value="{{ editlanguage }}">
|
||
|
</form>
|
||
|
<form name="myedit" id="myedit" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
|
||
|
{{ oViewConf.getHiddenSid()|raw }}
|
||
|
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName()|raw }}">
|
||
|
<input type="hidden" name="fnc" value="">
|
||
|
<input type="hidden" name="oxid" value="{{ oxid }}">
|
||
|
<input type="hidden" name="editval[oxtplblocks__oxid]" value="{{ oxid }}">
|
||
|
|
||
|
<table style="padding: 0; border: none; width: 98%; border-spacing: 0; border-collapse: collapse">
|
||
|
<colgroup>
|
||
|
<col style="width: 30%">
|
||
|
<col style="width: 5%">
|
||
|
<col style="width: 65%">
|
||
|
</colgroup>
|
||
|
<tr>
|
||
|
<td style="width: 50%; vertical-align: top" class="edittext">
|
||
|
<table style="padding: 0; border: none; border-spacing: 0; border-collapse: collapse">
|
||
|
|
||
|
{% block admin_d3tplblocks_main_form %}
|
||
|
<tr>
|
||
|
<td style="width: 70px;" class="edittext">
|
||
|
<label for="oxtplblocks__oxactive">{{ translate({ ident: "GENERAL_ACTIVE" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="hidden" name="editval[oxtplblocks__oxactive]" value='0' {{ readonly }}>
|
||
|
<input class="edittext" type="checkbox" id="oxtplblocks__oxactive" name="editval[oxtplblocks__oxactive]" value='1' {% if edit.oxtplblocks__oxactive.value == 1 %}checked{% endif %} {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("HELP_GENERAL_ACTIVE"), 'sHelpText': help_text("HELP_GENERAL_ACTIVE")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxtheme">{{ translate({ ident: "D3TPLTHEME" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="28" id="oxtplblocks__oxtheme" maxlength="{{ edit.oxtplblocks__oxtheme.fldmax_length }}" name="editval[oxtplblocks__oxtheme]" value="{{ edit.getFieldData('oxtheme')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLTHEME_DESC"), 'sHelpText': help_text("D3TPLTHEME_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxtemplate">{{ translate({ ident: "D3TPLTEMPLATE" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="100" id="oxtplblocks__oxtemplate" maxlength="{{ edit.oxtplblocks__oxtemplate.fldmax_length }}" name="editval[oxtplblocks__oxtemplate]" value="{{ edit.getFieldData('oxtemplate')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLTEMPLATE_DESC"), 'sHelpText': help_text("D3TPLTEMPLATE_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxblockname">{{ translate({ ident: "D3TPLBLOCKNAME" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="100" id="oxtplblocks__oxblockname" maxlength="{{ edit.oxtplblocks__oxblockname.fldmax_length }}" name="editval[oxtplblocks__oxblockname]" value="{{ edit.getFieldData('oxblockname')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLBLOCKNAME_DESC"), 'sHelpText': help_text("D3TPLBLOCKNAME_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxmodule">{{ translate({ ident: "D3TPLMODULE" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="28" id="oxtplblocks__oxmodule" maxlength="{{ edit.oxtplblocks__oxmodule.fldmax_length }}" name="editval[oxtplblocks__oxmodule]" value="{{ edit.getFieldData('oxmodule')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLMODULE_DESC"), 'sHelpText': help_text("D3TPLMODULE_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxfile">{{ translate({ ident: "D3TPLFILE" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="100" id="oxtplblocks__oxfile" maxlength="{{ edit.oxtplblocks__oxfile.fldmax_length }}" name="editval[oxtplblocks__oxfile]" value="{{ edit.getFieldData('oxfile')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLFILE_DESC"), 'sHelpText': help_text("D3TPLFILE_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
<label for="oxtplblocks__oxpos">{{ translate({ ident: "D3TPLPOS" }) }}</label>
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="text" class="editinput" size="28" id="oxtplblocks__oxpos" maxlength="{{ edit.oxtplblocks__oxpos.fldmax_length }}" name="editval[oxtplblocks__oxpos]" value="{{ edit.getFieldData('oxpos')|raw }}" {{ readonly }}>
|
||
|
{% include "inputhelp.html.twig" with {'sHelpId': help_id("D3TPLPOS_DESC"), 'sHelpText': help_text("D3TPLPOS_DESC")} %}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endblock %}
|
||
|
<tr>
|
||
|
<td class="edittext">
|
||
|
</td>
|
||
|
<td class="edittext">
|
||
|
<input type="submit" class="edittext" name="saveContent" value="{{ translate({ ident: "GENERAL_SAVE" }) }}" onClick="document.myedit.fnc.value='save'" {{ readonly }}>
|
||
|
<input type="submit" class="edittext" name="moveToFirst" value="{{ translate({ ident: "D3TPLBLOCKS_MOVEFIRST" }) }}" onClick="document.myedit.fnc.value='moveToFirst'" {{ readonly }} {% if false == edit.getFieldData('oxmodule')|raw %}disabled{% endif %}><br>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</td>
|
||
|
<td> </td>
|
||
|
<!-- Anfang rechte Seite -->
|
||
|
<td style="vertical-align: top; text-align: left" class="edittext">
|
||
|
{% block admin_d3tplblocks_main_editor %}
|
||
|
{% endblock %}
|
||
|
</td>
|
||
|
<!-- Ende rechte Seite -->
|
||
|
</tr>
|
||
|
</table>
|
||
|
</form>
|
||
|
|
||
|
{% include "@d3modcfg_lib/admin/inc/inc.html.twig" %}
|