[{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}]