ModCfg/views/twig/extensions/themes/admin_twig/include/header_links.html.twig

71 lines
4.3 KiB
Twig

{% extends "include/header_links.html.twig" %}
{% block admin_header_links %}
{{ parent() }}
{% if oModCfg %}
{{ style({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/d3_mod_cfg.min.css') }) }}
{{ style() }}
{{ script({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/js/fontawesome-all.min.js'), dynamic: __oxid_include_dynamic }) }}
{{ script({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/js/fa-v4-shims.min.js'), dynamic: __oxid_include_dynamic }) }}
{{ script({ include: oViewConf.getModuleUrl('d3modcfg_lib', 'out/admin/src/js/d3decodeentities.js'), dynamic: __oxid_include_dynamic }) }}
{{ script({ dynamic: __oxid_include_dynamic }) }}
{% if oModCfg.getValue('sClrTmp_systemaction2command') %}
<li class="sep">
<a href="{{ oViewConf.getSelfLink()|raw }}&cl={{ oViewConf.getActiveClassName()|raw }}&amp;fnc=d3ExecCommand1&amp;item=header&amp;" onclick="this.style.color = 'red';" id="commandLink1" class="rc" style="float: left;"
title="{{ oModCfg.getValue('sClrTmp_systemaction1name') }}">
<b>
{% if oModCfg.getValue('sClrTmp_systemaction1icon') %}
<i class="fa {{ oModCfg.getValue('sClrTmp_systemaction1icon')|raw }}"></i>
{% endif %}
{{ oModCfg.getValue('sClrTmp_systemaction1name') }}
</b>
</a>
</li>
{% endif %}
{% if oModCfg.getValue('sClrTmp_systemaction1command') %}
<li class="sep">
<a href="{{ oViewConf.getSelfLink()|raw }}&cl={{ oViewConf.getActiveClassName()|raw }}&amp;fnc=d3ExecCommand2&amp;item=header&amp;" onclick="this.style.color = 'red';" id="commandLink2" class="rc" style="float: left;"
title="{{ oModCfg.getValue('sClrTmp_systemaction2name') }}">
<b>
{% if oModCfg.getValue('sClrTmp_systemaction2icon') %}
<i class="fa {{ oModCfg.getValue('sClrTmp_systemaction2icon')|raw }}"></i>
{% endif %}
{{ oModCfg.getValue('sClrTmp_systemaction2name') }}
</b>
</a>
</li>
{% endif %}
{% if false == oModCfg.getValue('blClrTmp_showcleartmpoptions') %}
<li class="sep">
<a href="{{ oViewConf.getSelfLink()|raw }}&cl=d3cleartmp&amp;" id="clrTmpLink" target="_blank" class="rc" style="float: left;"
title="{{ translate({ ident: "d3mxd3cleartmp2_desc2" }) }}">
<b>{{ translate({ ident: "d3mxd3cleartmp2" }) }}</b>
</a>
<a style="float: left;" class="rc">
<form target="header" action="{{ oViewConf.getSelfLink()|raw }}" method="post">
{{ oViewConf.getHiddenSid()|raw }}
<input type="hidden" name="cl" value="{{ oViewConf.getActiveClassName()|raw }}">
<input type="hidden" name="fnc" value="d3ClearTmp">
<input type="hidden" name="clearall" value="1">
<input type="hidden" name="item" value="header">
<select size="1" name="d3clrtmpcachetype" style="font-size: 10px;" title="d3mxd3cleartmp2">
<option value="all" {% if clearAll %} selected{% endif %}>{{ translate({ ident: "d3navclrtmp_typeall" }) }}</option>
<option value="tpllang" {% if clearTplLang %} selected{% endif %}>{{ translate({ ident: "d3navclrtmp_typetpllang" }) }}</option>
<option value="tpl" {% if clearTpl %} selected{% endif %}>{{ translate({ ident: "d3navclrtmp_typetpl" }) }}</option>
<option value="lang" {% if clearLang %} selected{% endif %}>{{ translate({ ident: "d3navclrtmp_typelang" }) }}</option>
</select>
<input type="submit" onclick="this.style.background = 'red';" id="d3clrtmpbtn" value="{{ translate({ ident: "d3navclrtmp_clear" }) }}" style="font-size: 10px;">
</form>
</a>
</li>
{% endif %}
{% endif %}
{% endblock %}