Files
wyczarujprezent.pl/modules/arcontactus/views/templates/hook/admin_head.tpl
2024-10-28 22:14:22 +01:00

49 lines
2.1 KiB
Smarty

{*
* 2018 Areama
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@areama.net so we can send you a copy immediately.
*
*
* @author Areama <contact@areama.net>
* @copyright 2018 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
{if $moduleConfig}
<script type="text/javascript">
if (document.getElementById('maintab-AdminArCu')){
document.getElementById('maintab-AdminArCu').classList.add("active");
}else if(document.getElementById('subtab-AdminArCu')){
document.getElementById('subtab-AdminArCu').classList.add("active");
document.getElementById('subtab-AdminArCu').classList.add("-active");
document.getElementById('subtab-AdminArCu').classList.add("ul-open");
document.getElementById('subtab-AdminArCu').classList.add("open");
var arCUIcon = document.getElementById('subtab-AdminArCu').querySelector('a i');
if (arCUIcon && arCUIcon.innerHTML == ''){
arCUIcon.innerHTML = 'link';
}
}
if (document.getElementById('maintab-AdminParentModules')){
document.getElementById('maintab-AdminParentModules').classList.remove("active");
}
if (document.getElementById('subtab-AdminParentModulesSf')){
document.getElementById('subtab-AdminParentModulesSf').classList.remove("active");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("-active");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("ul-open");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("open");
}
</script>
{/if}
<style type="text/css">
.icon-AdminArCu:before{
content:"";
}
</style>