[{include file="headitem.tpl" title="GENERAL_ADMIN_TITLE"|oxmultilangassign}] [{oxstyle include="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"}] [{oxscript include="https://code.jquery.com/jquery-3.2.1.slim.min.js"}] [{oxscript include="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"}] [{oxscript include="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"}] [{oxstyle include="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/solid.min.css"}] [{if $readonly}] [{assign var="readonly" value="readonly disabled"}] [{else}] [{assign var="readonly" value=""}] [{/if}] [{capture name="d3script"}][{strip}] function startTask(id, format = '') { let elements = document.getElementsByClassName('errorbox'); for (var i = 0; i < elements.length; i++){ elements[i].style.display = 'none'; } setTimeout(function(){ document.getElementById('mask').className=''; document.getElementById('popup2').className='d3loader-2'; }, 3000); document.getElementById('mask').className='on'; document.getElementById('popup2').className='d3loader-2 on'; form = document.getElementById('form_' + id); form.format.value = format; form.submit(); } [{/strip}][{/capture}] [{oxscript add=$smarty.capture.d3script}] [{assign var="groups" value=$oView->getGroups()}] [{if $groups|@count}]
[{foreach from=$oView->getGroups() item="group"}]

[{foreach from=$oView->getGroupTasks($group) key="id" item="item"}]
[{$item->getTitle()}]
[{$oViewConf->getHiddenSid()}] [{if $item->getDescription()}] [{assign var="description" value=$item->getDescription()}] [{assign var="sectionlength" value="100"}] [{if $description|count_characters:true <= $sectionlength}]

[{$description}]

[{else}] [{assign var="shorttext" value=$description|truncate:$sectionlength:''}]

...[{$description|replace:$shorttext:''}]

[{/if}] [{/if}] [{if $item->hasFormElements()}] [{foreach from=$item->getFormElements() item="formElement"}] [{$formElement}] [{/foreach}] [{/if}] [{block name="exportSubmit"}] [{include file=$submit}] [{/block}]
[{/foreach}]
[{/foreach}]
[{else}] [{/if}]
[{include file="d3_cfg_mod_inc.tpl"}]