Files
drmaterac.pl/modules/arseopro/views/templates/hook/_partials/sitemap/cms.tpl
2025-01-06 20:47:25 +01:00

48 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
*}
<div class="tab-pane {if $activeSubTab == 'ArSeoProSitemapCmsConfig'}active{/if}" id="arseopro-sitemap-cms">
{$form->generateForm($sitemapCMSFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
<div class="panel {if $sitemapConfig->cms->all}hidden{/if}">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='CMS pages to export' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.sitemap.cms.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh cms list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div id="form-sitemap-cms-container">
<div id="form-sitemap-cms" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
</div>
</div>
</div>
{if $activeSubTab == 'ArSeoProSitemapCmsConfig' and !$sitemapConfig->cms->all}
<script type="text/javascript">
window.addEventListener('load', function(){
arSEO.sitemap.cms.reload();
});
</script>
{/if}