first commit

This commit is contained in:
2024-11-11 18:46:54 +01:00
commit a630d17338
25634 changed files with 4923715 additions and 0 deletions

View File

@@ -0,0 +1,296 @@
.ar-blocked{
position: relative;
}
.ar-loading{
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1000;
background: rgba(255,255,255,0.5);
}
.ar-loading .ar-loading-inner{
position: absolute;
width: 140px;
height: 49px;
padding: 15px 15px 15px 40px;
border-radius: 2px;
box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
border: 1px solid #AAAAAA;
margin: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
background: url('../img/ring-alt.gif') no-repeat 6px 8px scroll #FFFFFF;
}
.arseo-overrides .arseo-success .icon-check{
display: inline-block;
color: #72c279;
}
.arseo-overrides .arseo-success .icon-close{
display: none;
color: #d27c82;
}
.arseo-overrides .arseo-fail .icon-close{
display: inline-block;
color: #d27c82;
}
.arseo-overrides .arseo-fail .icon-check{
display: none;
color: #72c279;
}
#arseopro-config .tab-content{
display: block;
}
#arseopro-config .tab-content .panel{
border-radius: 0 0 5px 5px;
}
#arseopro-config .font-15{
font-size: 15px;
}
#arseopro-config .tab-content .panel-heading,
#arseopro-config #form-redirect-list .panel-heading,
#arseopro-config #form-url-list .panel-heading,
#arseopro-config #form-meta-list .panel-heading,
#arseopro-config #form-url-duplication-list .panel h3{
display: none;
}
#arseopro-config #arseo-meta-rule-form .panel,
#arseopro-config .form-group .form-group{
margin-bottom: 0;
}
#arseopro-config .form-group .form-group .col-sm-6{
padding: 0;
}
#arseopro-config .form-group .help-block{
margin-bottom: 0;
}
#arseopro-config .no-content-lbl{
color: #787878;
padding-top: 5px;
font-size: 15px;
}
#arseopro-config #form-redirect-list .panel,
#arseopro-config #form-url-list .panel,
#arseopro-config #form-meta-list .panel,
#arseopro-config #form-url-duplication-list .panel,
#arseopro-config #form-sitemap-products .panel,
#arseopro-config #form-sitemap-suppliers .panel,
#arseopro-config #form-sitemap-manufacturers .panel,
#arseopro-config #form-sitemap-cms .panel,
#arseopro-config #form-sitemap-meta .panel{
border: 0 none;
padding: 0;
border-radius: 0;
box-shadow: none;
}
#arseopro-config .tab-content .panel-heading.show-heading{
display: block;
}
#arseopro-config .form-group .errors{
display: none;
color: #a94442;
}
#arseopro-config .form-group.has-error .errors{
display: block;
}
#arseopro-config .form-group.has-error .help-block{
color: #959595;
}
.arseo-placeholder{
padding: 60px;
}
#arseopro-config .pagination .disabled{
pointer-events: none;
}
#arseopro-config .panel-heading-action .prestashop-switch{
display: inline-block;
margin: 1px 5px 0 0;
width: 60px !important;
float: left;
height: 25px;
}
#arseopro-config .panel-heading-action .prestashop-switch a.btn{
top: 0 !important;
}
#arseopro-config .panel-heading-action small{
float: left;
height: 25px;
display: inline-block;
height: 25px;
line-height: 25px;
}
.ar-block{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 100;
background: rgba(255,255,255,0.8);
display: none;
}
.ar-block.active{
display: block;
}
.ar-block .lbl{
width: 258px;
height: 110px;
line-height: 110px;
padding-top: 0;
text-align: center;
right: 50%;
top: -14px;
color: #9b0505;
font-size: 16px;
position: absolute;
padding-right: 0;
margin-right: -129px;
font-weight: bold;
}
#arseopro-config .form-wrapper{
position: relative;
}
#arseopro-config .progress-bar{
background-color: #5cb85c;
color: #FFFFFF;
}
#arseo-categories,
#arseo-meta-categories{
max-height: 200px;
overflow: auto;
}
#arseo-categories-container,
#arseo-meta-categories-container{
margin-top: 5px;
}
#arseo-categories-container .panel,
#arseo-meta-categories-container .panel{
margin-bottom: 0 !important;
}
.bootstrap #arseopro-config .modal-body h3{
margin: 0;
font-size: 18px;
padding: 0;
border: 0 none;
text-decoration: none;
font-weight: normal;
text-transform: none;
}
#arseopro-config .form-group .form-group{
margin-left: 0;
margin-right: 0;
}
#arseopro-config .favicon-preview{
background: url('../img/trbg.png') repeat 0 0 scroll transparent;
width: 64px;
height: 64px;
}
#arseopro-config .nav-tabs .has-error a{
color: #a94442;
background-color: #f9cce1;
}
#arseopro-config .nav-tabs .has-error.active a{
color: #555;
background-color: #FFFFFF;
}
#arseopro-config .modal-hg{
width: 1200px;
}
#arseo-meta-rule-form .keywords-select-row{
display: none;
}
#arseo-meta-rule-form .keywords-select-row.active{
display: block;
}
#arseopro-config #arseopro-config-tabs h3.section-head{
text-transform: none;
border: 0 none;
margin: 0;
font-size: 22px;
line-height: 28px;
height: 28px;
padding: 0;
}
#arseopro_fb_upload_image_list,
#arseopro_tw_upload_image_list{
margin-top: 3px;
}
#arseo-help-content{
font-size: 15px;
}
#arseopro-help #arseo-help-content h3{
padding: 0;
margin: 15px 0 5px 0;
text-transform: none;
border: 0 none;
font-size: 20px;
line-height: 24px;
height: auto;
}
#arseopro-help #arseo-help-content h4{
font-size: 18px;
margin-top: 0;
}
.arseo-file-content{
list-style: none outside none;
padding: 5px 15px;
background: #FFFFFF;
margin: 3px 0 0 0 !important;
color: #787878;
font-size: 14px;
}
.arseo-file-content .arseo-line-nubmer{
color: #999999;
margin-right: 5px;
}
#arseopro-config .panel-group .panel .panel-heading{
display: block;
margin: 0;
padding: 0;
height: auto;
}
#arseopro-config #arseo-help-content .panel-group .panel{
padding: 0;
border-radius: 0;
margin-bottom: 3px;
}
#arseopro-config #arseo-help-content .panel-group .panel .panel-body{
padding: 10px;
}
#arseopro-config .panel-group .panel h4{
text-transform: none;
}
#arseopro-config #arseo-help-content .panel{
padding: 10px;
}
#arseopro-config #arseo-help-content .panel .panel-title > a{
display: block;
text-decoration: none;
padding: 10px 10px;
}
#arseopro-config #arseo-help-content .panel .panel-title > a:focus,
#arseopro-config #arseo-help-content .panel .panel-title > a:active{
outline: none;
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,531 @@
/*
* 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
*/
var arSEORedirectLoaded = false;
var arSEOUrlLoaded = false;
var arSEOMetaLoaded = false;
var arSEODuplicatesLoaded = false;
var arSEOSitemapProductLoaded = false;
var arSEOSitemapSuppliersLoaded = false;
var arSEOSitemapManufacturersLoaded = false;
var arSEOSitemapCmsLoaded = false;
var arSEOSitemapMetaLoaded = false;
var arSEORobotsLoaded = false;
var arSEOHelpLoaded = false;
$(".arseoproTabs a").click(function(e){
e.preventDefault();
$(".arseoproTabs .active").removeClass('active');
$(this).addClass('active');
$('#arseopro-config .arseopro-config-panel').addClass('hidden');
$('#' + $(this).data('target')).removeClass('hidden');
$('#arseoproActiveTab').remove();
$('#arseoproActiveTab').val($(this).data('tab'));
if ($(this).data('target') == 'arseopro-redirect') {
if (!arSEORedirectLoaded){
arSEO.redirect.reload();
arSEORedirectLoaded = true;
}
}
if ($(this).data('target') == 'arseopro-url') {
if (!arSEOUrlLoaded){
arSEO.url.reload();
arSEOUrlLoaded = true;
}
}
if ($(this).data('target') == 'arseopro-meta') {
if (!arSEOMetaLoaded){
arSEO.meta.reload();
arSEOMetaLoaded = true;
}
}
if ($(this).data('target') == 'arseopro-robots') {
if (!arSEORobotsLoaded){
arSEO.robots.reload(false);
arSEORobotsLoaded = true;
}
}
if ($(this).data('target') == 'arseopro-help') {
if (!arSEOHelpLoaded){
arSEO.help.reload(false);
arSEOHelpLoaded = true;
}
}
});
$('#arseopro-sitemap-products-tab').click(function(){
if (!arSEOSitemapProductLoaded){
arSEO.sitemap.product.reload();
arSEOSitemapProductLoaded = true;
}
});
$('#arseopro-sitemap-suppliers-tab').click(function(){
if (!arSEOSitemapSuppliersLoaded){
arSEO.sitemap.supplier.reload();
arSEOSitemapSuppliersLoaded = true;
}
});
$('#arseopro-sitemap-manufacturers-tab').click(function(){
if (!arSEOSitemapManufacturersLoaded){
arSEO.sitemap.manufacturer.reload();
arSEOSitemapManufacturersLoaded = true;
}
});
$('#arseopro-sitemap-cms-tab').click(function(){
if (!arSEOSitemapCmsLoaded){
arSEO.sitemap.cms.reload();
arSEOSitemapCmsLoaded = true;
}
});
$('#arseopro-sitemap-meta-tab').click(function(){
if (!arSEOSitemapMetaLoaded){
arSEO.sitemap.meta.reload();
arSEOSitemapMetaLoaded = true;
}
});
$('#arseopro-duplication-tab').click(function(){
arSEO.url.duplication.reload();
});
$('#arseo-url-rule-form_id_category').change(function(){
if ($(this).val() == 1){
$('#arseo-categories-container').removeClass('hidden');
}else{
$('#arseo-categories-container').addClass('hidden');
}
});
$('#arseo-meta-rule-form_id_category').change(function(){
if ($(this).val() == 1){
$('#arseo-meta-categories-container').removeClass('hidden');
}else{
$('#arseo-meta-categories-container').addClass('hidden');
}
});
$('#arseo-meta-rule-form_fb_image').change(function(){
if ($(this).val() == '3'){
$('#arseo-fb-custom-image').removeClass('hidden');
}else{
$('#arseo-fb-custom-image').addClass('hidden');
}
});
$('#arseo-meta-rule-form_tw_image').change(function(){
if ($(this).val() == '3'){
$('#arseo-tw-custom-image').removeClass('hidden');
}else{
$('#arseo-tw-custom-image').addClass('hidden');
}
});
$('.arseoproTabs .active').trigger('click');
$('body').on('click', '.arseo-help-link', function(){
var tab = $(this).attr('data-tab');
var accordion = $(this).attr('data-accordion');
$('[data-target="arseopro-help"]').trigger('click');
if (tab){
$(tab).tab('show');
}
if (accordion){
$(accordion).parents('.panel-group').find('.panel-collapse:not(' + accordion + ')').collapse('hide');
$(accordion).collapse('show');
}
return false;
var element = $(this).attr('href');
element = $(element);
var y = element.offset().top - 135;
var body = $("html, body");
body.stop().animate({scrollTop:y}, 200, 'swing');
return false;
});
arSEOSwitch();
switchSitemapImages();
arSEOSwitchRedirect();
function arSEOSwitchRedirect() {
if ($('#ARSP_REDIRECT').val() == '0') {
$('#arseopro-product .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-product .field_redirect_code').removeClass('hidden');
}
if ($('#ARSP_REDIRECT_NOT_ACTIVE').val() == '0') {
$('#arseopro-product .field_redirect_not_active_code').addClass('hidden');
} else {
$('#arseopro-product .field_redirect_not_active_code').removeClass('hidden');
}
if ($('#ARSC_REDIRECT').val() == '0') {
$('#arseopro-category .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-category .field_redirect_code').removeClass('hidden');
}
if ($('#ARSM_REDIRECT').val() == '0') {
$('#arseopro-manufacturer .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-manufacturer .field_redirect_code').removeClass('hidden');
}
if ($('#ARSS_REDIRECT').val() == '0') {
$('#arseopro-supplier .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-supplier .field_redirect_code').removeClass('hidden');
}
if ($('#ARSCMS_REDIRECT').val() == '0') {
$('#arseopro-cms .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-cms .field_redirect_code').removeClass('hidden');
}
if ($('#ARSCMSC_REDIRECT').val() == '0') {
$('#arseopro-cms-category .field_redirect_code').addClass('hidden');
} else {
$('#arseopro-cms-category .field_redirect_code').removeClass('hidden');
}
}
$('#ARSP_REDIRECT, #ARSP_REDIRECT_NOT_ACTIVE, #ARSC_REDIRECT, #ARSM_REDIRECT, #ARSS_REDIRECT, #ARSCMS_REDIRECT, #ARSCMSC_REDIRECT').change(function(){
arSEOSwitchRedirect();
});
$('.prestashop-switch').click(function(){
arSEOSwitch();
});
$('#arseopro-product .field_default_cat .prestashop-switch input').change(function(){
if ($('#ARSP_DEFAULT_CAT_on').is(':checked')){
$('#ARSP_PARENT_CAT_off').trigger('click');
}
});
$('#arseopro-product .field_parent_cat .prestashop-switch input').change(function(){
if ($('#ARSP_PARENT_CAT_on').is(':checked')){
$('#ARSP_DEFAULT_CAT_off').trigger('click');
}
});
// redirect list
$('#form-redirect-list .pagination-link').off('click');
$('#form-redirect-list .pagination-items-page').off('click');
$('#arseopro-config').on('click', '.pagination-link', function(){
$('#form-redirect-list input[name="page"]').val($(this).data('page'));
arSEO.redirect.reload();
return false;
});
$(document).on('submit', '#form-redirect-list', function(a){
arSEO.redirect.reload();
return false;
});
$(document).on('click', '#form-redirect-list [name="submitResetredirect-list"]', function(a){
arSEO.redirect.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-redirect-list .pagination-items-page', function(){
$('#form-redirect-list input[name="selected_pagination"]').val($(this).data('items'));
arSEO.redirect.reload();
return false;
});
// !redirect list
// url list
$('#form-url-list .pagination-link').off('click');
$('#form-url-list .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#arseopro-url .pagination-link', function(){
$('#arseopro-url input[name="page"]').val($(this).data('page'));
arSEO.url.reload();
return false;
});
$(document).on('submit', '#form-url-list', function(a){
arSEO.url.reload();
return false;
});
$(document).on('click', '#form-url-list [name="submitReseturl-list"]', function(a){
arSEO.url.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#arseopro-url .pagination-items-page', function(){
$('#arseopro-url input[name="selected_pagination"]').val($(this).data('items'));
arSEO.url.reload();
return false;
});
// !url list
// meta list
$('#form-meta-list .pagination-link').off('click');
$('#form-meta-list .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#arseopro-meta .pagination-link', function(){
$('#arseopro-meta input[name="page"]').val($(this).data('page'));
arSEO.meta.reload();
return false;
});
$(document).on('submit', '#form-meta-list', function(a){
arSEO.meta.reload();
return false;
});
$(document).on('click', '#form-meta-list [name="submitResetmeta-list"]', function(a){
arSEO.meta.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#arseopro-meta .pagination-items-page', function(){
$('#arseopro-meta input[name="selected_pagination"]').val($(this).data('items'));
arSEO.meta.reload();
return false;
});
// !meta list
// sitemap product list
$('#form-sitemap-products .pagination-link').off('click');
$('#form-sitemap-products .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#form-sitemap-products-container .pagination-link', function(){
$('#form-sitemap-products-container input[name="page"]').val($(this).data('page'));
arSEO.sitemap.product.reload();
return false;
});
$(document).on('submit', '#form-sitemap-products', function(a){
arSEO.sitemap.product.reload();
return false;
});
$(document).on('click', '#form-sitemap-products [name="submitResetsitemap-products"]', function(a){
arSEO.sitemap.product.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-sitemap-products-container .pagination-items-page', function(){
$('#form-sitemap-products-container input[name="selected_pagination"]').val($(this).data('items'));
arSEO.sitemap.product.reload();
return false;
});
// !sitemap product list
// sitemap supplier list
$('#form-sitemap-suppliers .pagination-link').off('click');
$('#form-sitemap-suppliers .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#form-sitemap-suppliers-container .pagination-link', function(){
$('#form-sitemap-suppliers-container input[name="page"]').val($(this).data('page'));
arSEO.sitemap.supplier.reload();
return false;
});
$(document).on('submit', '#form-sitemap-suppliers', function(a){
arSEO.sitemap.supplier.reload();
return false;
});
$(document).on('click', '#form-sitemap-suppliers [name="submitResetsitemap-suppliers"]', function(a){
arSEO.sitemap.supplier.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-sitemap-suppliers-container .pagination-items-page', function(){
$('#form-sitemap-suppliers-container input[name="selected_pagination"]').val($(this).data('items'));
arSEO.sitemap.supplier.reload();
return false;
});
// !sitemap supplier list
// sitemap manufacturer list
$('#form-sitemap-manufacturers .pagination-link').off('click');
$('#form-sitemap-manufacturers .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#form-sitemap-manufacturers-container .pagination-link', function(){
$('#form-sitemap-manufacturers-container input[name="page"]').val($(this).data('page'));
arSEO.sitemap.manufacturer.reload();
return false;
});
$(document).on('submit', '#form-sitemap-manufacturers', function(a){
arSEO.sitemap.manufacturer.reload();
return false;
});
$(document).on('click', '#form-sitemap-manufacturers [name="submitResetsitemap-manufacturers"]', function(a){
arSEO.sitemap.manufacturer.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-sitemap-manufacturers-container .pagination-items-page', function(){
$('#form-sitemap-manufacturers-container input[name="selected_pagination"]').val($(this).data('items'));
arSEO.sitemap.manufacturer.reload();
return false;
});
// !sitemap manufacturer list
// sitemap cms list
$('#form-sitemap-cms .pagination-link').off('click');
$('#form-sitemap-cms .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#form-sitemap-cms-container .pagination-link', function(){
$('#form-sitemap-cms-container input[name="page"]').val($(this).data('page'));
arSEO.sitemap.cms.reload();
return false;
});
$(document).on('submit', '#form-sitemap-cms', function(a){
arSEO.sitemap.cms.reload();
return false;
});
$(document).on('click', '#form-sitemap-cms [name="submitResetsitemap-cms"]', function(a){
arSEO.sitemap.cms.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-sitemap-cms-container .pagination-items-page', function(){
$('#form-sitemap-cms-container input[name="selected_pagination"]').val($(this).data('items'));
arSEO.sitemap.cms.reload();
return false;
});
// !sitemap cms list
// sitemap meta list
$('#form-sitemap-meta .pagination-link').off('click');
$('#form-sitemap-meta .pagination-items-page').off('click');
$('#arseopro-config').on('click', '#form-sitemap-meta-container .pagination-link', function(){
$('#form-sitemap-meta-container input[name="page"]').val($(this).data('page'));
arSEO.sitemap.meta.reload();
return false;
});
$(document).on('submit', '#form-sitemap-meta', function(a){
arSEO.sitemap.meta.reload();
return false;
});
$(document).on('click', '#form-sitemap-meta [name="submitResetsitemap-meta"]', function(a){
arSEO.sitemap.meta.reload('submitReset');
return false;
});
$('#arseopro-config').on('click', '#form-sitemap-meta-container .pagination-items-page', function(){
$('#form-sitemap-meta-container input[name="selected_pagination"]').val($(this).data('items'));
arSEO.sitemap.meta.reload();
return false;
});
// !sitemap meta list
$('#ARSEO_REDIRECTS_SWITCH input').change(function(){
arSEO.redirect.switch();
});
$('#ARSEO_REDIRECTS_LOG_SWITCH input').change(function(){
arSEO.redirect.switchLog();
});
window.addEventListener('load', function(){
$('#arseopro_fb_upload_image').fileupload({
dataType: 'json',
async: false,
autoUpload: false,
singleFileUploads: true,
maxFileSize: max_image_size,
done: function (e, data){
var images = data.result.arseopro_fb_upload_image;
$.each(images, function(){
if (this.error){
$('#arseopro_fb_upload_image-errors').append('<div class="form-group"><strong>'+this.name+'</strong> ('+humanizeSize(this.size)+') : '+this.error+'</div>').parent().show();
}else{
$('#arseopro_fb_upload_image_list').html('<img width="120" src="' + this.url + '" />');
$('#arseo-meta-rule-form_fb_custom_image').val(this.filename);
}
});
$('#arseopro_fb_upload_image-files-list').html('');
},
fail: function (e, data) {
$('#arseopro_fb_upload_image-errors').html(data.errorThrown.message).parent().show();
}
});
$('#arseopro_tw_upload_image').fileupload({
dataType: 'json',
async: false,
autoUpload: false,
singleFileUploads: true,
maxFileSize: max_image_size,
done: function (e, data){
var images = data.result.arseopro_tw_upload_image;
$.each(images, function(){
if (this.error){
$('#arseopro_tw_upload_image-errors').append('<div class="form-group"><strong>'+this.name+'</strong> ('+humanizeSize(this.size)+') : '+this.error+'</div>').parent().show();
}else{
$('#arseopro_tw_upload_image_list').html('<img width="120" src="' + this.url + '" />');
$('#arseo-meta-rule-form_tw_custom_image').val(this.filename);
}
});
$('#arseopro_tw_upload_image-files-list').html('');
},
fail: function (e, data) {
$('#arseopro_tw_upload_image-errors').html(data.errorThrown.message).parent().show();
}
});
});
function arSEOSwitch(){
if ($('#ARSF_IOS_MASTER_on').is(':checked')){
$('.field_ios_icon, .field_ios_icon_preview, .field_ios_remove_icon').addClass('hidden');
}else{
$('.field_ios_icon, .field_ios_icon_preview, .field_ios_remove_icon').removeClass('hidden');
}
if ($('#ARSF_ANDROID_MASTER_on').is(':checked')){
$('.field_android_icon, .field_android_icon_preview, .field_android_remove_icon').addClass('hidden');
}else{
$('.field_android_icon, .field_android_icon_preview, .field_android_remove_icon').removeClass('hidden');
}
if ($('#ARSF_MS_MASTER_on').is(':checked')){
$('.field_ms_icon, .field_ms_icon_preview, .field_ms_remove_icon').addClass('hidden');
}else{
$('.field_ms_icon, .field_ms_icon_preview, .field_ms_remove_icon').removeClass('hidden');
}
if ($('#ARSP_DISABLE_ANCHOR_on').is(':checked')){
$('.field_disable_default_attr_anchor').addClass('hidden');
}else{
$('.field_disable_default_attr_anchor').removeClass('hidden');
}
if ($('#ARSP_ENABLE_ATTR_on').is(':checked')){
$('.field_disable_default_attr').removeClass('hidden');
}else{
$('.field_disable_default_attr').addClass('hidden');
}
}
$('#ARSSP_IMAGES').change(function(){
switchSitemapImages();
});
function switchSitemapImages(){
if ($('#ARSSP_IMAGES').val() == '0'){
$('.field_image_type, .field_image_title, .field_image_caption').addClass('hidden');
}else{
$('.field_image_type, .field_image_title, .field_image_caption').removeClass('hidden');
}
}

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,80 @@
/*
* 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
*/
window.addEventListener('load', function(){
arSeoProParseHash();
});
function arSeoProParseHash(){
var hash = window.location.hash;
hash = hash.replace('#/', '');
hash = hash.replace('#', '');
if (hash.length == 0) {
return false;
}
if (arSEORemoveIdFromHash) {
$.each(arSEOAttributes, function (key, i) {
if (key == hash) {
var data = i.split('/');
$.each(data, function (kkey) {
let a = data[kkey].split('-');
let b = a[0].split('|');
arSeoProSelectAttribute(b[1]);
});
}
});
} else {
var data = hash.split('/');
if (data) {
$.each(data, function(i){
var value = data[i].match(/^(\d+)-/);
if (value){
arSeoProSelectAttribute(value[1]);
}
});
}
}
prestashop.emit('updateProduct', {
eventType: 'updatedProductCombination',
event: this,
// Following variables are not used anymore, but kept for backward compatibility
resp: {},
reason: {
productUrl: prestashop.urls.pages.product || '',
},
});
}
function arSeoProSelectAttribute(value){
var $el = $('[data-product-attribute][value="' + value + '"]');
if ($el.length){
if ($el.is('[type="checkbox"]') || $el.is('[type="radio"]')){
$el.prop("checked", "checked");
}
}else{
$el = $('[data-product-attribute] [value="' + value + '"]').parent();
if ($el.length && $el.is('select')) {
$el.val(value);
}
}
}

View File

@@ -0,0 +1,26 @@
{*
* 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
*}
{extends file="helpers/form/form.tpl"}
{block name="after"}
{/block}
{block name="script"}
{/block}

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,165 @@
{*
* 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
*}
</table>
</div>
<div class="row">
<div class="col-lg-6">
{if $bulk_actions && $has_bulk_actions}
<div class="btn-group bulk-actions dropup">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
{l s='Bulk actions' mod='arseopro'} <span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li>
<a href="#" onclick="javascript:checkDelBoxes($(this).closest('form').get(0), '{$list_id|escape:'htmlall':'UTF-8'}Box[]', true);return false;">
<i class="icon-check-sign"></i>&nbsp;{l s='Select all' mod='arseopro'}
</a>
</li>
<li>
<a href="#" onclick="javascript:checkDelBoxes($(this).closest('form').get(0), '{$list_id|escape:'htmlall':'UTF-8'}Box[]', false);return false;">
<i class="icon-check-empty"></i>&nbsp;{l s='Unselect all' mod='arseopro'}
</a>
</li>
<li class="divider"></li>
{foreach $bulk_actions as $key => $params}
<li{if $params.text == 'divider'} class="divider"{/if}>
{if $params.text != 'divider'}
<a href="#" {if isset($params.id)}id="{$params.id|escape:'htmlall':'UTF-8'}"{/if} {if isset($params.js_action)}onclick="{$params.js_action|escape:'htmlall':'UTF-8'}"{else}onclick="{if isset($params.confirm)}if (confirm('{$params.confirm|escape:'htmlall':'UTF-8'}')){/if}sendBulkAction($(this).closest('form').get(0), 'submitBulk{$key|escape:'htmlall':'UTF-8'}{$table|escape:'htmlall':'UTF-8'}');"{/if}>
{if isset($params.icon)}<i class="{$params.icon|escape:'htmlall':'UTF-8'}"></i>{/if}&nbsp;{$params.text|escape:'htmlall':'UTF-8'}
</a>
{/if}
</li>
{/foreach}
</ul>
</div>
{/if}
</div>
{if !$simple_header && $list_total > $pagination[0]}
<div class="col-lg-6">
{* Choose number of results per page *}
<div class="pagination">
{l s='Display' mod='arseopro'}
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
{$selected_pagination|escape:'htmlall':'UTF-8'}
<i class="icon-caret-down"></i>
</button>
<ul class="dropdown-menu">
{foreach $pagination AS $value}
<li>
<a href="javascript:void(0);" class="pagination-items-page" data-items="{$value|intval}" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">{$value|escape:'htmlall':'UTF-8'}</a>
</li>
{/foreach}
</ul>
/ {$list_total|escape:'htmlall':'UTF-8'} {l s='result(s)' mod='arseopro'}
<input type="hidden" id="{$list_id|escape:'htmlall':'UTF-8'}-pagination-items-page" name="{$list_id|escape:'htmlall':'UTF-8'}_pagination" value="{$selected_pagination|intval}" />
</div>
<script type="text/javascript">
$('.pagination-items-page').on('click',function(e){
e.preventDefault();
$('#'+$(this).data("list-id")+'-pagination-items-page').val($(this).data("items")).closest("form").submit();
});
</script>
<ul class="pagination pull-right">
<li {if $page <= 1}class="disabled"{/if}>
<a href="javascript:void(0);" class="pagination-link" data-page="1" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">
<i class="icon-double-angle-left"></i>
</a>
</li>
<li {if $page <= 1}class="disabled"{/if}>
<a href="javascript:void(0);" class="pagination-link" data-page="{$page|intval - 1}" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">
<i class="icon-angle-left"></i>
</a>
</li>
{assign p 0}
{while $p++ < $total_pages}
{if $p < $page-2}
<li class="disabled">
<a href="javascript:void(0);">&hellip;</a>
</li>
{assign p $page-3}
{elseif $p > $page+2}
<li class="disabled">
<a href="javascript:void(0);">&hellip;</a>
</li>
{assign p $total_pages}
{else}
<li {if $p == $page}class="active"{/if}>
<a href="javascript:void(0);" class="pagination-link" data-page="{$p|intval}" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">{$p|escape:'htmlall':'UTF-8'}</a>
</li>
{/if}
{/while}
<li {if $page >= $total_pages}class="disabled"{/if}>
<a href="javascript:void(0);" class="pagination-link" data-page="{$page|intval + 1}" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">
<i class="icon-angle-right"></i>
</a>
</li>
<li {if $page >= $total_pages}class="disabled"{/if}>
<a href="javascript:void(0);" class="pagination-link" data-page="{$total_pages|intval}" data-list-id="{$list_id|escape:'htmlall':'UTF-8'}">
<i class="icon-double-angle-right"></i>
</a>
</li>
</ul>
<script type="text/javascript">
$('.pagination-link').on('click',function(e){
e.preventDefault();
if (!$(this).parent().hasClass('disabled'))
$('#submitFilter'+$(this).data("list-id")).val($(this).data("page")).closest("form").submit();
});
</script>
</div>
{/if}
</div>
{block name="footer"}
{foreach from=$toolbar_btn item=btn key=k}
{if $k == 'back'}
{assign 'back_button' $btn}
{break}
{/if}
{/foreach}
{if isset($back_button)}
<div class="panel-footer">
<a id="desc-{$table|escape:'htmlall':'UTF-8'}-{if isset($back_button.imgclass)}{$back_button.imgclass|escape:'htmlall':'UTF-8'}{else}{$k|escape:'htmlall':'UTF-8'}{/if}" class="btn btn-default{if isset($back_button.target) && $back_button.target} _blank{/if}"{if isset($back_button.href)} href="{$back_button.href|escape:'html':'UTF-8'}"{/if}{if isset($back_button.js) && $back_button.js} onclick="{$back_button.js|escape:'htmlall':'UTF-8'}"{/if}>
<i class="process-icon-back {if isset($back_button.class)}{$back_button.class|escape:'htmlall':'UTF-8'}{/if}" ></i> <span {if isset($back_button.force_desc) && $back_button.force_desc == true } class="locked" {/if}>{$back_button.desc|escape:'htmlall':'UTF-8'}</span>
</a>
</div>
{/if}
{/block}
{if !$simple_header}
<input type="hidden" name="token" value="{$token|escape:'html':'UTF-8'}" />
</div>
{else}
</div>
{/if}
{hook h='displayAdminListAfter'}
{if isset($name_controller)}
{capture name=hookName assign=hookName}display{$name_controller|ucfirst|escape:'htmlall':'UTF-8'}ListAfter{/capture}
{hook h=$hookName}
{elseif isset($smarty.get.controller)}
{capture name=hookName assign=hookName}display{$smarty.get.controller|ucfirst|htmlentities|escape:'htmlall':'UTF-8'}ListAfter{/capture}
{hook h=$hookName}
{/if}
{block name="endForm"}
</form>
{/block}
{block name="after"}{/block}

View File

@@ -0,0 +1,191 @@
{*
* 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 isset($max_files) && $files|count >= $max_files}
<div class="row">
<div class="alert alert-warning">{l s='You have reached the limit (%s) of files to upload, please remove files to continue uploading' mod='arseopro' sprintf=$max_files}</div>
</div>
<script type="text/javascript">
$( document ).ready(function() {
{if isset($files) && $files}
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').parent().show();
{/if}
});
</script>
{else}
<div class="form-group">
<div class="">
<input id="{$id|escape:'html':'UTF-8'}" type="file" name="{$name|escape:'html':'UTF-8'}[]"{if isset($url)} data-url="{$url|escape:'html':'UTF-8'}"{/if}{if isset($multiple) && $multiple} multiple="multiple"{/if} style="width:0px;height:0px;" />
<button class="btn btn-default" data-style="expand-right" data-size="s" type="button" id="{$id|escape:'html':'UTF-8'}-add-button">
<i class="icon-folder-open"></i> {if isset($multiple) && $multiple}{l s='Add files...' mod='arseopro'}{else}{l s='Choose file...' mod='arseopro'}{/if}
</button>
</div>
</div>
<div class="well" style="display:none">
<div id="{$id|escape:'html':'UTF-8'}-files-list"></div>
<button class="ladda-button btn btn-primary" data-style="expand-right" type="button" id="{$id|escape:'html':'UTF-8'}-upload-button" style="display:none;">
<span class="ladda-label"><i class="icon-check"></i> {if isset($multiple) && $multiple}{l s='Upload files' mod='arseopro'}{else}{l s='Upload file' mod='arseopro'}{/if}</span>
</button>
</div>
<div class="" style="display:none">
<div class="alert alert-success" id="{$id|escape:'html':'UTF-8'}-success"></div>
</div>
<div class="" style="display:none">
<div class="alert alert-danger" id="{$id|escape:'html':'UTF-8'}-errors"></div>
</div>
<script type="text/javascript">
function humanizeSize(bytes)
{
if (typeof bytes !== 'number') {
return '';
}
if (bytes >= 1000000000) {
return (bytes / 1000000000).toFixed(2) + ' GB';
}
if (bytes >= 1000000) {
return (bytes / 1000000).toFixed(2) + ' MB';
}
return (bytes / 1000).toFixed(2) + ' KB';
}
$( document ).ready(function() {
{if isset($multiple) && isset($max_files)}
var {$id|escape:'html':'UTF-8'}_max_files = 1;
{/if}
{if isset($files) && $files}
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').parent().show();
{/if}
var {$id|escape:'html':'UTF-8'}_upload_button = Ladda.create( document.querySelector('#{$id|escape:'html':'UTF-8'}-upload-button' ));
var {$id|escape:'html':'UTF-8'}_total_files = 0;
$('#{$id|escape:'html':'UTF-8'}').fileupload({
dataType: 'json',
async: false,
autoUpload: false,
singleFileUploads: true,
{if isset($post_max_size)}maxFileSize: {$post_max_size|intval},{/if}
{if isset($drop_zone)}dropZone: {$drop_zone nofilter}{* Escape will break functionality *},{/if}
start: function (e) {
{$id|escape:'html':'UTF-8'}_upload_button.start();
$('#{$id|escape:'html':'UTF-8'}-upload-button').unbind('click'); //Important as we bind it for every elements in add function
},
fail: function (e, data) {
$('#{$id|escape:'html':'UTF-8'}-errors').html(data.errorThrown.message).parent().show();
},
done: function (e, data) {
if (data.result) {
if (typeof data.result.{$name|escape:'html':'UTF-8'} !== 'undefined') {
for (var i=0; i<data.result.{$name|escape:'html':'UTF-8'}.length; i++) {
if (data.result.{$name|escape:'html':'UTF-8'}[i] !== null) {
if (typeof data.result.{$name|escape:'html':'UTF-8'}[i].error !== 'undefined' && data.result.{$name|escape:'html':'UTF-8'}[i].error != '') {
$('#{$id|escape:'html':'UTF-8'}-errors').html('<strong>'+data.result.{$name|escape:'html':'UTF-8'}[i].name+'</strong> : '+data.result.{$name|escape:'html':'UTF-8'}[i].error).parent().show();
}else{
$(data.context).appendTo($('#{$id|escape:'html':'UTF-8'}-success'));
$('#{$id|escape:'html':'UTF-8'}-success').parent().show();
if (typeof data.result.{$name|escape:'html':'UTF-8'}[i].image !== 'undefined')
{
var template = '<div>';
template += data.result.{$name|escape:'html':'UTF-8'}[i].image;
if (typeof data.result.{$name|escape:'html':'UTF-8'}[i].delete_url !== 'undefined')
template += '<p><a class="btn btn-default" href="'+data.result.{$name|escape:'html':'UTF-8'}[i].delete_url+'"><i class="icon-trash"></i> {l s='Delete' mod='arseopro'}</a></p>';
template += '</div>';
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').html($('#{$id|escape:'html':'UTF-8'}-images-thumbnails').html()+template);
$('#{$id|escape:'html':'UTF-8'}-images-thumbnails').parent().show();
}
}
}
}
}
$(data.context).find('button').remove();
}
},
}).on('fileuploadalways', function (e, data) {
if (typeof {$id|escape:'html':'UTF-8'}_max_files !== 'undefined') {
//{$id|escape:'html':'UTF-8'}_max_files--;
}
{$id|escape:'html':'UTF-8'}_total_files--;
if ({$id|escape:'html':'UTF-8'}_total_files == 0)
{
{$id|escape:'html':'UTF-8'}_upload_button.stop();
$('#{$id|escape:'html':'UTF-8'}-upload-button').unbind('click');
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().hide();
}
}).on('fileuploadadd', function(e, data) {
if (typeof {$id|escape:'html':'UTF-8'}_max_files !== 'undefined') {
if ({$id|escape:'html':'UTF-8'}_total_files >= {$id|escape:'html':'UTF-8'}_max_files) {
e.preventDefault();
alert('{l s='You cannot have more than %s images in total. Please remove some of the current images before adding new ones.'|sprintf:$max_files mod='arseopro'}');
return;
}
}
data.context = $('<div/>').addClass('form-group').appendTo($('#{$id|escape:'html':'UTF-8'}-files-list'));
var file_name = $('<span/>').append('<strong>'+data.files[0].name+'</strong> ('+humanizeSize(data.files[0].size)+')').appendTo(data.context);
var button = $('<button/>').addClass('btn btn-default pull-right').prop('type', 'button').html('<i class="icon-trash"></i> {l s='Remove file' mod='arseopro'}').appendTo(data.context).on('click', function() {
{$id|escape:'html':'UTF-8'}_total_files--;
data.files = null;
var total_elements = $(this).parent().siblings('div.form-group').length;
$(this).parent().remove();
if (total_elements == 0) {
$('#{$id|escape:'html':'UTF-8'}-files-list').html('').parent().hide();
}
});
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().show();
$('#{$id|escape:'html':'UTF-8'}-upload-button').show().bind('click', function () {
if (data.files != null)
data.submit();
});
{$id|escape:'html':'UTF-8'}_total_files++;
}).on('fileuploadprocessalways', function (e, data) {
var index = data.index, file = data.files[index];
if (file.error) {
$('#{$id|escape:'html':'UTF-8'}-errors').append('<div class="form-group"><strong>'+file.name+'</strong> ('+humanizeSize(file.size)+') : '+file.error+'</div>').parent().show();
$(data.context).find('button').trigger('click');
}
});
$('#{$id|escape:'html':'UTF-8'}-files-list').parent().hide();
{$id|escape:'html':'UTF-8'}_total_files = 0;
$('#{$id|escape:'html':'UTF-8'}-add-button').on('click', function() {
$('#{$id|escape:'html':'UTF-8'}-success').html('').parent().hide();
$('#{$id|escape:'html':'UTF-8'}-errors').html('').parent().hide();
$('#{$id|escape:'html':'UTF-8'}').trigger('click');
});
});
</script>
{/if}

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,23 @@
{*
* 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
*}
<a href="{$href|escape:'htmlall':'UTF-8'}" onclick="{$onclick|escape:'htmlall':'UTF-8'}" title="{$title|escape:'htmlall':'UTF-8'}" class="{$class|escape:'htmlall':'UTF-8'}" {if $target}target="{$target|escape:'htmlall':'UTF-8'}"{/if}>
<i class="{$icon|escape:'htmlall':'UTF-8'}"></i> {$title|escape:'htmlall':'UTF-8'}
</a>

View File

@@ -0,0 +1,24 @@
{*
* 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
*}
<a class="{$class|escape:'htmlall':'UTF-8'}" onclick="{$onclick|escape:'htmlall':'UTF-8'}" href="{$href|escape:'htmlall':'UTF-8'}" title="{$title|escape:'htmlall':'UTF-8'}">
<i class="icon-check {if !$export}hidden{/if}"></i>
<i class="icon-remove {if $export}hidden{/if}"></i>
</a>

View File

@@ -0,0 +1,28 @@
{*
* 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 $icon}
<div>
<img class="favicon-preview" src="{$uploadsUrl|escape:'htmlall':'UTF-8'}{$icon|escape:'htmlall':'UTF-8'}" />
</div>
{else}
<div class="no-content-lbl">
{l s='Not set' mod='arseopro'}
</div>
{/if}

View File

@@ -0,0 +1,44 @@
{*
* 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="modal fade" id="arseo-progress-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">
{l s='Applying rule' mod='arseopro'} :: <span id="arseo-progress-rule-name"></span>
</div>
</div>
<div class="modal-body">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0">
0%
</div>
</div>
{l s='Processed:' mod='arseopro'} <span id="arseo-count"></span>/<span id="arseo-total"></span>
</div>
<div class="modal-footer">
<button class="btn btn-danger pull-left hidden btn-terminate" onclick="arSEO.lastProcess.requestTermination()" type="button" ><i class="icon-stop"></i> {l s='Terminate' mod='arseopro'}</button>
<button class="btn btn-primary pull-left hidden btn-continue" onclick="arSEO.lastProcess.continue()" type="button" ><i class="icon-play"></i> {l s='Continue' mod='arseopro'}</button>
<button class="btn btn-success pull-left hidden btn-start-over" onclick="arSEO.lastProcess.start()" type="button" ><i class="icon-refresh"></i> {l s='Start over' mod='arseopro'}</button>
<button class="btn btn-default btn-close hidden" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,58 @@
{*
* 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="arseopro-config-panel hidden" id="arseopro-about" style="font-size: 15px">
<div class="panel">
<div class="panel-heading">
<i class="icon-info"></i> {l s='About' mod='arseopro'}
</div>
<div class="form-wrapper text-center">
<p>
<a href="https://addons.prestashop.com/en/product.php?id_product={$moduleId|intval}" target="_blank">
<img src="{$moduleUrl|escape:'htmlall':'UTF-8'}views/img/logo.png" alt="Areama" />
</a>
</p>
<h2>
{$name|escape:'htmlall':'UTF-8'}
</h2>
<p class="text-muted">
{l s='Version' mod='arseopro'} {$version|escape:'htmlall':'UTF-8'}
</p>
<p>
{l s='Improve your SEO all the way! Clean URLs, generate meta tags, setup redirects and much more!!!' mod='arseopro'}
</p>
<p>
{l s='We hope you would find this module useful and would have 1 minute to [1]give us excellent rating[/1], this encourage our support and developers.' mod='arseopro' tags=['<a href="https://addons.prestashop.com/en/ratings.php" target="_blank">']}
</p>
<p class="text-center" style="">
<a href="https://addons.prestashop.com/en/ratings.php" target="_blank">
<img src="{$moduleUrl|escape:'htmlall':'UTF-8'}views/img/5-stars.png" alt="5 stars" />
</a>
</p>
<p>
{l s='If you have any questions or suggestions about this module, please' mod='arseopro'} <a href="https://addons.prestashop.com/en/contact-us?id_product={$moduleId|intval}" target="_blank">{l s='contact us' mod='arseopro'}</a>.
</p>
<p>
{l s='Also please checkout our other modules that can help improve your store and increase sales!' mod='arseopro'}<br/>
<a target="_blank" href="https://addons.prestashop.com/en/2_community-developer?contributor={$authorId|intval}">{l s='View all our modules' mod='arseopro'} >>></a>
</p>
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
{*
* 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="arseopro-config-panel {if $activeTab != 'canonical'}hidden{/if}" id="arseopro-canonical">
{$form->generateForm($canonicalFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,22 @@
{*
* 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="arseopro-config-panel {if $activeTab != 'favicon'}hidden{/if}" id="arseopro-favicon">
{$form->generateForm($faviconFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,36 @@
{*
* 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="arseopro-config-panel hidden" id="arseopro-help">
<div class="panel">
<div class="panel-heading">
<i class="icon-book"></i> {l s='Help' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.help.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper" id="arseo-help-content">
</div>
</div>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,44 @@
{*
* 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="arseopro-config-panel" id="arseopro-jsonld">
<div class="bootstrap panel form-horizontal">
<div class="panel-heading show-heading">
<i class="icon-link"></i> {l s='JSON-LD microdata settings' mod='arseopro'}
</div>
<div class="form-wrapper">
<ul class="nav nav-tabs">
<li class="{if $activeSubTab == 'ArSeoProJsonLDGeneral' or empty($activeSubTab) or $activeTab != 'jsonld'}active{/if}">
<a href="#arseopro-json-general" id="arseopro-json-general-tab" data-toggle="tab">{l s='General settings' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProJsonLDProduct'}active{/if}">
<a href="#arseopro-json-product" id="arseopro-json-product-tab" data-toggle="tab">{l s='Product page' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProJsonLDAdvanced'}active{/if}">
<a href="#arseopro-json-advanced" id="arseopro-json-advanced-tab" data-toggle="tab">{l s='Advanced settings' mod='arseopro'}</a>
</li>
</ul>
<div class="tab-content">
{include file="./jsonld/general.tpl"}
{include file="./jsonld/product.tpl"}
{include file="./jsonld/advanced.tpl"}
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,22 @@
{*
* 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 == 'ArSeoProJsonLDAdvanced'}active{/if}" id="arseopro-json-advanced">
{$form->generateForm($jsonldAdvancedFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,22 @@
{*
* 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 == 'ArSeoProJsonLDGeneral' or empty($activeSubTab) or $activeTab != 'jsonld'}active{/if}" id="arseopro-json-general">
{$form->generateForm($jsonldGeneralFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,22 @@
{*
* 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 == 'ArSeoProJsonLDProduct'}active{/if}" id="arseopro-json-product">
{$form->generateForm($jsonldProductFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,79 @@
{*
* 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="arseopro-config-panel hidden" id="arseopro-meta">
<div class="panel">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='Meta tags rules' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.meta.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.meta.clear(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Clear list" data-html="true" data-placement="top">
<i class="process-icon-trash icon-trash"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div id="form-meta-list-container">
<div id="form-meta-list" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
<div class="text-right">
<div class="btn-group">
<a href="#" onclick="arSEO.meta.newRule('product'); return false;" title="{l s='New rule' mod='arseopro'}" class="edit btn btn-default">
<i class="icon-plus"></i> {l s='New product rule' mod='arseopro'}
</a>
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<i class="icon-caret-down"></i>&nbsp;
</button>
<ul class="dropdown-menu">
<li>
<a href="#" onclick="arSEO.meta.newRule('category'); return false;" title="{l s='New category rule' mod='arseopro'}">
<i class="icon-plus"></i> {l s='New category rule' mod='arseopro'}
</a>
</li>
<li>
<a href="#" onclick="arSEO.meta.newRule('metapage'); return false;" title="{l s='New meta-page rule' mod='arseopro'}">
<i class="icon-plus"></i> {l s='New meta-page rule' mod='arseopro'}
</a>
</li>
<li>
<a href="#" onclick="arSEO.meta.newRule('brand'); return false;" title="{l s='New manufacturer page rule' mod='arseopro'}">
<i class="icon-plus"></i> {l s='New manufacturer page rule' mod='arseopro'}
</a>
</li>
</ul>
</div>
<button type="button" class="btn btn-primary" onclick="arSEO.meta.applyRule(0, 0, 0, 1)">
{l s='Apply all rules' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.meta.clear()">
<i class="icon icon-trash"></i> {l s='Clear meta rules list' mod='arseopro'}
</button>
</div>
</div>
</div>
{include file="./meta/_modal.tpl"}
</div>

View File

@@ -0,0 +1,286 @@
{*
* 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="modal fade" id="arseo-meta-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-hg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">{l s='New meta rule' mod='arseopro'}</div>
</div>
<form class="form-horizontal form" id="arseo-meta-rule-form" onsubmit="arSEO.meta.save(false); return false;">
<input type="hidden" id="arseo-meta-rule-form_id" value="" data-default="">
<div class="modal-body">
<ul class="nav nav-tabs">
<li class="active">
<a href="#arseopro-meta-general" id="arseopro-product-tab" data-toggle="tab">{l s='General' mod='arseopro'}</a>
</li>
<li class="">
<a href="#arseopro-meta-meta" id="arseopro-product-tab" data-toggle="tab">{l s='Meta tags' mod='arseopro'}</a>
</li>
<li class="">
<a href="#arseopro-meta-fb" id="arseopro-category-tab" data-toggle="tab">{l s='Facebook tags' mod='arseopro'}</a>
</li>
<li class="">
<a href="#arseopro-meta-tw" id="arseopro-manufacturer-tab" data-toggle="tab">{l s='Twitter tags' mod='arseopro'}</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="arseopro-meta-general">
<div class="panel">
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Rule type' mod='arseopro'}</label>
<div class="col-sm-10">
<select disabled="" onchange="arSEO.meta.updateKeywords()" class="form-control" name="rule_type" id="arseo-meta-rule-form_rule_type" data-serializable="true" data-default="product">
<option value="product">{l s='Product' mod='arseopro'}</option>
<option value="category">{l s='Category' mod='arseopro'}</option>
<option value="metapage">{l s='Meta page' mod='arseopro'}</option>
<option value="brand">{l s='Manufacturer page' mod='arseopro'}</option>
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2">{l s='Rule name' mod='arseopro'}</label>
<div class="col-sm-10">
<input type="text" class="form-control" placeholder="{l s='Leave this field blank to auto-generate rule name' mod='arseopro'}" id="arseo-meta-rule-form_name" name="name" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Language' mod='arseopro'}</label>
<div class="col-sm-10">
<select class="form-control" name="id_lang" id="arseo-meta-rule-form_id_lang" data-serializable="true" data-default="0">
<option value="0">{l s='All languages' mod='arseopro'}</option>
{foreach $langs as $lang}
<option value="{$lang.id_lang|escape:'htmlall':'UTF-8'}">{$lang.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group form_group_categories">
<label class="control-label required col-sm-2">{l s='Categories' mod='arseopro'}</label>
<div class="col-sm-10">
<select class="form-control" name="id_category" id="arseo-meta-rule-form_id_category" data-serializable="true" data-default="0">
<option value="0">{l s='All categories' mod='arseopro'}</option>
<option value="1">{l s='Selected categories' mod='arseopro'}</option>
</select>
<div class="hidden" id="arseo-meta-categories-container">
{$metaCategoriesTree nofilter}
</div>
<div class="errors"></div>
</div>
</div>
<div class="form-group form_group_metapages">
<label class="control-label required col-sm-2">{l s='Meta pages' mod='arseopro'}</label>
<div class="col-sm-10">
<div id="arseo-meta-pages-container">
<ul class="list-unstyled" id="arseo-meta-rule-form_id_meta">
{foreach $metaPages as $page}
<li>
<label style="font-weight: normal">
<input type="checkbox" name="meta[]" data-serializable="true" value="{$page.id_meta|escape:'htmlall':'UTF-8'}" data-default="0" class="noborder" />
<a href="{$page.url|escape:'htmlall':'UTF-8'}" target="_blank">
{if $page.page == 'index'}
<b>{l s='Home page' mod='arseopro'}</b>
{else}
{$page.title|escape:'htmlall':'UTF-8'}
{/if}
</a>
</label>
</li>
{/foreach}
</ul>
<div class="errors"></div>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane" id="arseopro-meta-meta">
<div class="panel">
<div class="row">
<div class="col-sm-9">
<div class="form-group">
<label class="control-label col-sm-3">{l s='Meta title' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_meta_title" placeholder="{l s='Leave this field blank if you dont want to update meta title' mod='arseopro'}" name="meta_title" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Meta description' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_meta_description" placeholder="{l s='Leave this field blank if you dont want to update meta description' mod='arseopro'}" name="meta_description" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Meta keywords' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_meta_keywords" placeholder="{l s='Leave this field blank if you dont want to update meta keywords' mod='arseopro'}" name="meta_keywords" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
</div>
<div class="col-sm-3 keywords-container">
</div>
</div>
</div>
</div>
<div class="tab-pane" id="arseopro-meta-fb">
<div class="panel">
<div id="arseopro-meta-fb-alert">
</div>
<div class="row">
<div class="col-sm-9">
<div class="form-group">
<label class="control-label col-sm-3">{l s='Admin account IDs' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="arseo-meta-rule-form_fb_admins" placeholder="{l s='Comma-separated list of Facebook user IDs of administrators or moderators of this page' mod='arseopro'}" name="fb_admins" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Facebook app ID' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="arseo-meta-rule-form_fb_app" placeholder="{l s='Facebook application ID applicable for this site' mod='arseopro'}" name="fb_app" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Title' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_fb_title" name="fb_title" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Description' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_fb_description" name="fb_description" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Image' mod='arseopro'}</label>
<div class="col-sm-9">
<select class="form-control" name="fb_image" id="arseo-meta-rule-form_fb_image" data-serializable="true" data-default="1">
<option value="1">{l s='Cover image' mod='arseopro'}</option>
<option value="2">{l s='All images' mod='arseopro'}</option>
<option value="3">{l s='Custom image' mod='arseopro'}</option>
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group" id="arseo-fb-custom-image">
<label class="control-label col-sm-3">{l s='Custom image' mod='arseopro'}</label>
<input type="hidden" name="fb_custom_image" id="arseo-meta-rule-form_fb_custom_image" data-serializable="true" data-default="" />
<div class="col-sm-9">
{$fbImageUploader nofilter}
<div id="arseopro_fb_upload_image_list"></div>
<div class="errors"></div>
</div>
</div>
</div>
<div class="col-sm-3 keywords-container">
</div>
</div>
</div>
</div>
<div class="tab-pane" id="arseopro-meta-tw">
<div class="panel">
<div class="row">
<div class="col-sm-9">
<div class="form-group">
<label class="control-label col-sm-3">{l s='Type' mod='arseopro'}</label>
<div class="col-sm-9">
<select class="form-control" name="tw_type" id="arseo-meta-rule-form_tw_type" onclick="arSEO.meta.changeTwitterType()" data-serializable="true" data-default="summary">
{foreach from=$twitterTypes item=twType key=key}
<option value="{$key|escape:'htmlall':'UTF-8'}">{$twType|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Twitter account' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="arseo-meta-rule-form_tw_account" placeholder="{l s='Site twitter account. For example @userName' mod='arseopro'}" name="tw_account" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Title' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_tw_title" name="tw_title" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Description' mod='arseopro'}</label>
<div class="col-sm-9">
<input type="text" class="form-control has-keywords" id="arseo-meta-rule-form_tw_description" name="tw_description" data-serializable="true" data-default="">
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">{l s='Image' mod='arseopro'}</label>
<div class="col-sm-9">
<select class="form-control" name="tw_image" id="arseo-meta-rule-form_tw_image" data-serializable="true" data-default="1">
<option value="1">{l s='Cover image' mod='arseopro'}</option>
<option value="3">{l s='Custom image' mod='arseopro'}</option>
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group" id="arseo-tw-custom-image">
<label class="control-label col-sm-3">{l s='Custom image' mod='arseopro'}</label>
<input type="hidden" name="tw_custom_image" id="arseo-meta-rule-form_tw_custom_image" data-serializable="true" data-default="" />
<div class="col-sm-9">
{$twImageUploader nofilter}
<div id="arseopro_tw_upload_image_list"></div>
<div class="errors"></div>
</div>
</div>
</div>
<div class="col-sm-3 keywords-container">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
<button class="btn btn-success" type="submit">{l s='Save' mod='arseopro'}</button>
<button class="btn btn-primary" type="button" onclick="arSEO.meta.save(true)">{l s='Save and stay' mod='arseopro'}</button>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,39 @@
{*
* 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="alert alert-warning">
<span style="font-size: 15px">
{l s='Your theme already contains opengraph tags for facebook in template [1]%s[/1].' mod='arseopro' tags=['<b>'] sprintf=[$relativePath]}
{l s='These tags can not be overriden by this module.' mod='arseopro'}
{if $fileWritable}
{else}
{l s='To use this section of module please remove following lines from your theme template:' mod='arseopro'}
<ul class="arseo-file-content">
<li><span class="arseo-line-nubmer">...</span></li>
{foreach from=$lines key=k item=line}
<li>
<span class="arseo-line-nubmer">{$k|intval}</span>
<span class="arseo-line">{$line|escape:'htmlall':'UTF-8'}</span>
</li>
{/foreach}
<li><span class="arseo-line-nubmer">...</span></li>
</ul>
{/if}
</span>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,73 @@
{*
* 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="arseopro-config-panel {if $activeTab != 'redirects'}hidden{/if}" id="arseopro-redirect">
{$form->generateForm($redirectsFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
<div class="panel">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='List of redirects' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.redirect.newRule(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="New redirect rule" data-html="true" data-placement="top">
<i class="process-icon-new"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.redirect.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.redirect.clear(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Clear redirect list" data-html="true" data-placement="top">
<i class="process-icon-trash icon-trash"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div id="form-redirect-list-container">
<div id="form-redirect-list" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
<div class="text-right">
<button type="button" class="btn btn-success" onclick="arSEO.redirect.newRule()">
{l s='Create new redirect' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.redirect.notFoundList()">
{l s='Generate from page not found list' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.redirect.importModal()">
<i class="icon icon-upload"></i> {l s='Import from CSV file' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.redirect.export()">
<i class="icon icon-download"></i> {l s='Export to CSV file' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.redirect.clear()">
<i class="icon icon-trash"></i> {l s='Clear redirect list' mod='arseopro'}
</button>
</div>
</div>
</div>
</div>
{include file="./redirects/_modal.tpl"}
{include file="./redirects/_modal_nf.tpl"}
{include file="./redirects/_modal_import.tpl"}
{include file="./redirects/_modal_export.tpl"}

View File

@@ -0,0 +1,96 @@
{*
* 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="modal fade" id="arseo-redirect-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">{l s='New redirect rule' mod='arseopro'}</div>
</div>
<form class="form-horizontal form" id="arseo-redirect-form" onsubmit="arSEO.redirect.save(); return false;">
<div class="modal-body">
<input type="hidden" id="arseo-redirect-form_id" value="" data-default="" />
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Redirect from' mod='arseopro'}</label>
<div class="col-sm-10">
<div class="input-group">
<span class="input-group-addon">
{$serverUrl|escape:'htmlall':'UTF-8'}
</span>
<input type="text" placeholder="/route/to/old-url" id="arseo-redirect-form_from" class="form-control" name="from" data-serializable="true" data-default="" />
</div>
</div>
<div class="col-sm-10 col-sm-offset-2">
<div class="errors"></div>
<p class="help-block">
{l s='Start with "/" sign.' mod='arseopro'}<br/>
{l s='You can use tag {lang} which means all the languages.' mod='arseopro'}
</p>
</div>
</div>
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Redirect to' mod='arseopro'}</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="arseo-redirect-form_to" placeholder="{$serverUrl|escape:'htmlall':'UTF-8'}/new-url.html or /new-url.html" name="to" data-serializable="true" data-default="" />
<div class="errors"></div>
<p class="help-block">
{l s='You can write absolute or relative URL here.' mod='arseopro'}<br/>
{l s='You can use tag {lang} which will be replaced to same language from source URL.' mod='arseopro'}<br/>
{l s='You can use tag {default_lang} which will be replaced to default shop language.' mod='arseopro'}
</p>
</div>
</div>
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Redirect type' mod='arseopro'}</label>
<div class="col-sm-10">
<select class="form-control" name="type" id="arseo-redirect-form_type" data-serializable="true" data-default="301">
<option value="301">301 - {l s='Moved Permanently' mod='arseopro'}</option>
<option value="302">302 - {l s='Moved Temporarily' mod='arseopro'}</option>
<option value="303">303 - {l s='See Other' mod='arseopro'}</option>
</select>
<div class="errors"></div>
</div>
</div>
{if $multishop}
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Shop' mod='arseopro'}</label>
<div class="col-sm-10">
<select class="form-control" name="id_shop" id="arseo-redirect-form_id_shop" data-serializable="true" data-default="0">
<option value="0">{l s='All shops' mod='arseopro'}</option>
{foreach $shops as $shop}
<option value="{$shop.id_shop|intval}">{$shop.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
<div class="errors"></div>
</div>
</div>
{else}
<input type="hidden" value="{$id_shop|intval}" name="id_shop" id="arseo-redirect-form_id_shop" data-serializable="true" data-default="{$id_shop|intval}" />
{/if}
</div>
<div class="modal-footer">
<button class="btn btn-default" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
<button class="btn btn-success" type="submit">{l s='Save' mod='arseopro'}</button>
<button class="btn btn-primary" type="button" onclick="arSEO.redirect.save(true)">{l s='Save and stay' mod='arseopro'}</button>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,58 @@
{*
* 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="modal fade" id="arseo-redirect-export" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">{l s='Export redirect list to CSV file' mod='arseopro'}</div>
</div>
<div class="modal-body" style="font-size: 15px">
<p>
{l s='You can use this tool to automatically create list of redirects from page-not-found PrestaShop table.' mod='arseopro'}
</p>
<p>
{l s='After list will be generated, you can download it and import using "Import from CSV file" feature.' mod='arseopro'}
</p>
<div id="arseo-export-complete" class="hidden">
<p class="alert alert-success">
{l s='List correcly generated. You can download file here:' mod='arseopro'} <a href="{$path|escape:'htmlall':'UTF-8'}csv/export.csv">export.csv</a>
</p>
</div>
<div id="arseo-export-progress-container" class="hidden">
<div>
{l s='Items processed:' mod='arseopro'} <span id="arseo-export-processed">0</span> {l s='of' mod='arseopro'} <span id="arseo-export-total">...</span>
</div>
<div class="progress" id="arseo-export-progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
0%
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
<button class="btn btn-success" type="button" onclick="arSEO.redirect._export(0, 0)">{l s='Generate' mod='arseopro'}</button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,44 @@
{*
* 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="modal fade" id="arseo-redirect-modal-import" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">{l s='Import redirects' mod='arseopro'}</div>
</div>
<form action="{$ajaxUrl.redirect|escape:'htmlall':'UTF-8'}&action=importCsv" class="form-horizontal form" id="arseo-redirect-import-form" method="POST" enctype="multipart/form-data">
<div class="modal-body" style="font-size: 15px">
<div class="form-group">
<label class="control-label required col-sm-2">{l s='CSV file to import' mod='arseopro'}</label>
<div class="col-sm-10" style="padding-top: 4px;">
<input type="file" class="" value="/" name="file" />
<div class="errors"></div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
<button class="btn btn-success" type="submit">{l s='Import' mod='arseopro'}</button>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,89 @@
{*
* 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="modal fade" id="arseo-redirect-modal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<div class="modal-title" style="font-size: 18px;" id="myModalLabel">{l s='Generate list of redirects' mod='arseopro'}</div>
</div>
<div class="modal-body" style="font-size: 15px">
<p>
{l s='You can use this tool to automatically create list of redirects from page-not-found PrestaShop table.' mod='arseopro'}
</p>
<p>
{l s='After list will be generated, you can download it and import using "Import from CSV file" feature.' mod='arseopro'}
</p>
<div id="not-found-generated" class="{if empty($nflLastTime)}hidden{/if}">
<p class="alert alert-info">
{l s='Last generated file:' mod='arseopro'}
<a href="{$path|escape:'htmlall':'UTF-8'}csv/not-found-list.csv">not-found-list.csv</a> (<small>{$nflLastTime|escape:'htmlall':'UTF-8'}</small>)
</p>
</div>
<div class="form-horizontal form" style="font-size: 12px">
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Redirect to' mod='arseopro'}</label>
<div class="col-sm-10">
<input type="text" class="form-control" value="/" id="arseo-redirect-nfl_to" placeholder="{$path|escape:'htmlall':'UTF-8'}new-url.html or /new-url.html" name="to" data-serializable="true" data-default="/">
<div class="errors"></div>
<p class="help-block">
{l s='You can write absolute or relative URL here.' mod='arseopro'}<br/>
{l s='You can use tag {lang} which will be replaced to same language from source URL.' mod='arseopro'}<br/>
{l s='You can use tag {default_lang} which will be replaced to default shop language.' mod='arseopro'}
</p>
</div>
</div>
<div class="form-group">
<label class="control-label required col-sm-2">{l s='Redirect type' mod='arseopro'}</label>
<div class="col-sm-10">
<select class="form-control" name="type" id="arseo-redirect-nfl_type" data-serializable="true" data-default="1">
<option value="301" selected="">301 - {l s='Moved Permanently' mod='arseopro'}</option>
<option value="302">302 - {l s='Moved Temporarily' mod='arseopro'}</option>
<option value="303">303 - {l s='See Other' mod='arseopro'}</option>
</select>
<div class="errors"></div>
</div>
</div>
</div>
<div id="not-found-complete" class="hidden">
<p class="alert alert-success">
{l s='List correcly generated. You can download file here:' mod='arseopro'} <a href="{$path|escape:'htmlall':'UTF-8'}csv/not-found-list.csv">not-found-list.csv</a>
</p>
</div>
<div id="not-found-progress-container" class="hidden">
<div>
{l s='Items processed:' mod='arseopro'} <span id="arseor-processed">0</span> {l s='of' mod='arseopro'} <span id="arseor-total">...</span>
</div>
<div class="progress" id="not-found-progress">
<div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
0%
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" type="button" data-dismiss="modal">{l s='Close' mod='arseopro'}</button>
<button class="btn btn-success" type="button" onclick="arSEO.redirect._generateNotFoundList(0, 0)">{l s='Generate' mod='arseopro'}</button>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,31 @@
<?php
/*
* 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
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../../../');
exit;

View File

@@ -0,0 +1,68 @@
{*
* 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="arseopro-config-panel hidden" id="arseopro-robots">
<form method="POST" id="arseopro-robots-form" onsubmit="arSEO.robots.save(); return false;" class="defaultForm form-horizontal">
<div class="panel">
<div class="panel-heading show-heading">
<i class="icon-code"></i> {l s='Robots.txt Editor' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.robots.defaults(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Load defaults" data-html="true" data-placement="top">
<i class="process-icon-reset"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.robots.reload(true); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div style="font-size: 15px">
<p>
<b>robots.txt</b> {l s='is a text file you put on your site to tell search robots which pages you would like them not to visit.' mod='arseopro'}
</p>
<p>
{l s='This file will be ignored unless it is at the root of your host:' mod='arseopro'}<br/>
<span class="label label-success">{l s='Used:' mod='arseopro'}</span> <a href="{$serverUrl|escape:'htmlall':'UTF-8'}/robots.txt" target="_blank">{$serverUrl|escape:'htmlall':'UTF-8'}/robots.txt</a><br/>
<span class="label label-danger">{l s='Ignored:' mod='arseopro'}</span> {$serverUrl|escape:'htmlall':'UTF-8'}/subfolder/robots.txt
</p>
<p>
{l s='For more information about the robots.txt standard, see:' mod='arseopro'}<br/>
<a href="http://www.robotstxt.org/robotstxt.html" target="_blank">http://www.robotstxt.org/robotstxt.html</a><br/>
<a href="https://developers.google.com/search/reference/robots_txt?hl=en" target="_blank">https://developers.google.com/search/reference/robots_txt?hl=en</a>
</p>
</div>
<div class="form-group">
<textarea name="robots" rows="20"></textarea>
</div>
</div>
<div class="panel-footer">
<button type="submit" value="1" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='arseopro'}
</button>
<button type="button" value="1" class="btn btn-default pull-right" onclick="arSEO.robots.reload(true);">
<i class="process-icon-reset"></i> {l s='Cancel' mod='arseopro'}
</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,94 @@
{*
* 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="arseopro-config-panel hidden" id="arseopro-sitemap">
<div class="bootstrap panel form-horizontal">
<h3><i class="icon-code"></i> {l s='Sitemap Settings' mod='arseopro'}</h3>
<div class="form-wrapper">
<ul class="nav nav-tabs">
<li class="{if $activeSubTab == 'ArSeoProSitemapGeneral' or empty($activeSubTab) or $activeTab != 'sitemap'}active{/if}">
<a href="#arseopro-sitemap-general" id="arseopro-sitemap-general-tab" data-toggle="tab">{l s='General' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapProducts'}active{/if}">
<a href="#arseopro-sitemap-products" id="arseopro-sitemap-products-tab" data-toggle="tab">{l s='Products' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapCategories'}active{/if}">
<a href="#arseopro-sitemap-categories" id="arseopro-sitemap-categories-tab" data-toggle="tab">{l s='Categories' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapSuppliers'}active{/if}">
<a href="#arseopro-sitemap-suppliers" id="arseopro-sitemap-suppliers-tab" data-toggle="tab">{l s='Suppliers' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapManufacturers'}active{/if}">
<a href="#arseopro-sitemap-manufacturers" id="arseopro-sitemap-manufacturers-tab" data-toggle="tab">{l s='Manufacturers' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapCmsConfig'}active{/if}">
<a href="#arseopro-sitemap-cms" id="arseopro-sitemap-cms-tab" data-toggle="tab">{l s='CMS' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProSitemapMeta'}active{/if}">
<a href="#arseopro-sitemap-meta" id="arseopro-sitemap-meta-tab" data-toggle="tab">{l s='Meta pages' mod='arseopro'}</a>
</li>
{if $smartblogEnabled}
<li class="{if $activeSubTab == 'ArSeoProSitemapSmartblog'}active{/if}">
<a href="#arseopro-sitemap-smartblog" id="arseopro-sitemap-smartblog-tab" data-toggle="tab">{l s='SmartBlog pages' mod='arseopro'}</a>
</li>
{/if}
{if $prestablogEnabled}
<li class="{if $activeSubTab == 'ArSeoProSitemapPrestablog'}active{/if}">
<a href="#arseopro-sitemap-prestablog" id="arseopro-sitemap-prestablog-tab" data-toggle="tab">{l s='PrestaBlog pages' mod='arseopro'}</a>
</li>
{/if}
{if $simpleblogEnabled}
<li class="{if $activeSubTab == 'ArSeoProSitemapSimpleblog'}active{/if}">
<a href="#arseopro-sitemap-simpleblog" id="arseopro-sitemap-simpleblog-tab" data-toggle="tab">{l s='SimpleBlog pages' mod='arseopro'}</a>
</li>
{/if}
{if $FAQEnabled}
<li class="{if $activeSubTab == 'ArSeoProSitemapFAQs'}active{/if}">
<a href="#arseopro-sitemap-faq" id="arseopro-sitemap-faq-tab" data-toggle="tab">{l s='FAQ pages' mod='arseopro'}</a>
</li>
{/if}
<li class="{if $activeSubTab == 'ArSeoProSitemapGenerate'}active{/if}">
<a href="#arseopro-sitemap-generate" id="arseopro-sitemap-generate-tab" data-toggle="tab">{l s='Generate sitemap' mod='arseopro'}</a>
</li>
</ul>
<div class="tab-content">
{include file="./sitemap/general.tpl"}
{include file="./sitemap/products.tpl"}
{include file="./sitemap/categories.tpl"}
{include file="./sitemap/manufacturers.tpl"}
{include file="./sitemap/suppliers.tpl"}
{include file="./sitemap/cms.tpl"}
{include file="./sitemap/meta.tpl"}
{include file="./sitemap/generate.tpl"}
{if $smartblogEnabled}
{include file="./sitemap/smartblog.tpl"}
{/if}
{if $prestablogEnabled}
{include file="./sitemap/prestablog.tpl"}
{/if}
{if $simpleblogEnabled}
{include file="./sitemap/simpleblog.tpl"}
{/if}
{if $FAQEnabled}
{include file="./sitemap/faqs.tpl"}
{/if}
</div>
</div>
</div>
</div>

Some files were not shown because too many files have changed in this diff Show More