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,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>

View File

@@ -0,0 +1,40 @@
{*
* 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 == 'ArSeoProSitemapCategories'}active{/if}" id="arseopro-sitemap-categories">
{$form->generateForm($sitemapCategoriesFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
{if !$sitemapConfig->categories->all}
{$sitemapCategoriesHelper nofilter}{* HTML content generated by HelperForm, no escape necessary *}
<script>
window.addEventListener('load', function(){
$('#check-all-arseo-sitemap-category-tree').click(function(){
setTimeout(function(){
arSEO.sitemap.category.checkAll();
}, 200);
});
$('#uncheck-all-arseo-sitemap-category-tree').click(function(){
arSEO.sitemap.category.uncheckAll();
});
$('#arseo-sitemap-category-tree').on('change', '[type="checkbox"]', function(){
arSEO.sitemap.category.toggle(this);
});
});
</script>
{/if}
</div>

View File

@@ -0,0 +1,48 @@
{*
* 2018 Areama
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@areama.net so we can send you a copy immediately.
*
*
* @author Areama <contact@areama.net>
* @copyright 2018 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
<div class="tab-pane {if $activeSubTab == 'ArSeoProSitemapCmsConfig'}active{/if}" id="arseopro-sitemap-cms">
{$form->generateForm($sitemapCMSFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
<div class="panel {if $sitemapConfig->cms->all}hidden{/if}">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='CMS pages to export' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.sitemap.cms.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh cms list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div id="form-sitemap-cms-container">
<div id="form-sitemap-cms" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
</div>
</div>
</div>
{if $activeSubTab == 'ArSeoProSitemapCmsConfig' and !$sitemapConfig->cms->all}
<script type="text/javascript">
window.addEventListener('load', function(){
arSEO.sitemap.cms.reload();
});
</script>
{/if}

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 == 'ArSeoProSitemapFAQs'}active{/if}" id="arseopro-sitemap-faq">
{$form->generateForm($sitemapFAQFormParams) 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 == 'ArSeoProSitemapGeneral' or empty($activeSubTab) or $activeTab != 'sitemap'}active{/if}" id="arseopro-sitemap-general">
{$form->generateForm($sitemapGeneralFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,267 @@
{*
* 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 == 'ArSeoProSitemapGenerate'}active{/if}" id="arseopro-sitemap-generate">
<div class="panel">
<div class="form-wrapper">
<ul class="list-unstyled" style="font-size: 15px">
<li>
<div class="row">
<div class="col-sm-2 text-right">
{l s='Memory limit:' mod='arseopro'}
</div>
<div class="col-sm-9">
{$memoryLimit|escape:'htmlall':'UTF-8'}
</div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-2 text-right">
{l s='Maximum execution time:' mod='arseopro'}
</div>
<div class="col-sm-9">
{$maxExecutionTime|escape:'htmlall':'UTF-8'} {l s='seconds' mod='arseopro'}
</div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-2 text-right">
{l s='Sitemap index directory:' mod='arseopro'}
</div>
<div class="col-sm-9 {if !$sitemapIndexDir}text-danger{/if}">
{$sitemapIndexDir|escape:'htmlall':'UTF-8'}
{if $indexSitemapDirWriteable}
<i style="color: #72C279" title="{l s='Directory is writeable' mod='arseopro'}" class="icon-check"></i>
{else}
<i style="color: #E08F95" title="{l s='Directory is not writeable! Please check permissions' mod='arseopro'}" class="icon-remove"></i>
{/if}
</div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-2 text-right">
{l s='Sitemap directory:' mod='arseopro'}
</div>
<div class="col-sm-9 {if !$sitemapDirWritable}text-danger{/if}">
{$sitemapDir|escape:'htmlall':'UTF-8'}
{if $sitemapDirWritable}
<i style="color: #72C279" title="{l s='Directory is writeable' mod='arseopro'}" class="icon-check"></i>
{else}
<i style="color: #E08F95" title="{l s='Directory is not writeable! Please check write permissions!' mod='arseopro'}" class="icon-remove"></i>
{/if}
</div>
</div>
</li>
{if !$isRootWriteable}
<li>
<div class="row">
<div class="col-sm-9 col-sm-offset-2" style="font-size: 13px">
<div class="alert alert-danger">
{l s='It\'s strongly recomended to place sitemap files in the root of your store.' mod='arseopro'}<br/>
{l s='Please check write permissions to your root folder:' mod='arseopro'} <b>{$psRootDir nofilter}</b>
</div>
</div>
</div>
</li>
{/if}
<li>
<div class="row">
<div class="col-sm-2 text-right">
{l s='Sitemap file URL:' mod='arseopro'}
</div>
<div class="col-sm-9">
{foreach $shops as $shop}
<a href="{$shop.sitemapUrl|escape:'htmlall':'UTF-8'}" target="_blank">{$shop.sitemapUrl|escape:'htmlall':'UTF-8'}</a> <small id="arseopro-sitemap-lastgen-{$shop.id_shop|escape:'htmlall':'UTF-8'}">{$shop.sitemapLastegen|escape:'htmlall':'UTF-8'}</small><br/>
{/foreach}
</div>
</div>
</li>
</ul>
</div>
</div>
<div class="panel">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='Generate sitemap' mod='arseopro'}
</div>
<div class="form-wrapper">
<div id="arseo-sitemap-progress-container" class="">
<div class="progress" id="arseo-sitemap-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>
<ul class="list-unstyled" style="font-size: 15px;">
<li>
<div class="row">
<div class="col-sm-3">{l s='Total time spend:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-time"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Peak memory usage:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-memory"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Products:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-products-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Product images:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-images-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Categories:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-categories-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Manufacturers:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-manufacturers-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Suppliers:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-suppliers-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='Meta pages (+index page):' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-meta-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='CMS pages:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-cms-count"></div>
</div>
</li>
{if $smartblogEnabled}
<li>
<div class="row">
<div class="col-sm-3">{l s='SmartBlog pages:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-smartblog-pages-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='SmartBlog categories:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-smartblog-categories-count"></div>
</div>
</li>
{/if}
{if $prestablogEnabled}
<li>
<div class="row">
<div class="col-sm-3">{l s='PrestaBlog pages:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-prestablog-pages-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='PrestaBlog categories:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-prestablog-categories-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='PrestaBlog authors:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-prestablog-authors-count"></div>
</div>
</li>
{/if}
{if $simpleblogEnabled}
<li>
<div class="row">
<div class="col-sm-3">{l s='SimpleBlog pages:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-simpleblog-pages-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='SimpleBlog categories:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-simpleblog-categories-count"></div>
</div>
</li>
{/if}
{if $FAQEnabled}
<li>
<div class="row">
<div class="col-sm-3">{l s='FAQ pages:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-faq-pages-count"></div>
</div>
</li>
<li>
<div class="row">
<div class="col-sm-3">{l s='FAQ categories:' mod='arseopro'}</div>
<div class="col-sm-9" id="arseopro-sitemap-faq-categories-count"></div>
</div>
</li>
{/if}
</ul>
{if $multishop}
<div class="btn-group">
<a href="#" onclick="arSEO.sitemap.generate({$currentShopId|intval}, 0, 0, 0, '{$currentShopSitemapToken|escape:'htmlall':'UTF-8'}'); return false;" class="btn btn-default">
<i class="icon-refresh"></i> {l s='Generate for current shop' 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">
{foreach $shops as $shop}
<li>
<a href="#" onclick="arSEO.sitemap.generate({$shop.id_shop|intval}, 0, 0, 0, '{$shop.sitemap_token|escape:'htmlall':'UTF-8'}'); return false;">
<i class="icon-refresh"></i> {l s='Generate for ' mod='arseopro'} {$shop.name|escape:'htmlall':'UTF-8'}
</a>
</li>
{/foreach}
</ul>
</div>
{else}
<button class="btn btn-export btn-success" type="button" onclick="arSEO.sitemap.generate({$currentShopId|intval}, 0, 0, 0, '{$currentShopSitemapToken|escape:'htmlall':'UTF-8'}');">{l s='Generate' mod='arseopro'}</button>
{/if}
</div>
</div>
</div>
<div class="panel">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='Cron' mod='arseopro'}
</div>
<div class="form-wrapper" style="font-size: 15px;">
<div class="alert alert-info" style="margin-bottom: 0">
{l s='Use this link to generate sitemap using cron:' mod='arseopro'}<br/>
{foreach $shops as $shop}
<a href="{$shop.sitemapCronUrl nofilter}" target="_blank">{$shop.sitemapCronUrl nofilter}</a><br/>
{/foreach}
</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,48 @@
{*
* 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 == 'ArSeoProSitemapManufacturers'}active{/if}" id="arseopro-sitemap-manufacturers">
{$form->generateForm($sitemapManufacturersFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
<div class="panel {if $sitemapConfig->manufacturers->all}hidden{/if}">
<div class="panel-heading show-heading">
<i class="icon-cog"></i> {l s='Manufacturers to export' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.sitemap.manufacturer.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh manufacturer list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<div id="form-sitemap-manufacturers-container">
<div id="form-sitemap-manufacturers" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
</div>
</div>
</div>
{if $activeSubTab == 'ArSeoProSitemapManufacturers' and !$sitemapConfig->manufacturers->all}
<script type="text/javascript">
window.addEventListener('load', function(){
arSEO.sitemap.manufacturer.reload();
});
</script>
{/if}

View File

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

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 == 'ArSeoProSitemapPrestablog'}active{/if}" id="arseopro-sitemap-prestablog">
{$form->generateForm($sitemapPrestablogFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

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

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 == 'ArSeoProSitemapSimpleblog'}active{/if}" id="arseopro-sitemap-simpleblog">
{$form->generateForm($sitemapSimpleblogFormParams) 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 == 'ArSeoProSitemapSmartblog'}active{/if}" id="arseopro-sitemap-smartblog">
{$form->generateForm($sitemapSmartblogFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

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

View File

@@ -0,0 +1,72 @@
{*
* 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-url">
<div class="bootstrap panel form-horizontal">
<div class="panel-heading show-heading">
<i class="icon-link"></i> {l s='URL Settings' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.url.resetRoutes(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Reset routes" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
</span>
</div>
<div class="form-wrapper">
<ul class="nav nav-tabs">
<li class="{if $activeSubTab == 'ArSeoProURLGeneral' or empty($activeSubTab) or $activeTab != 'url'}active{/if}">
<a href="#arseopro-general" id="arseopro-general-tab" data-toggle="tab">{l s='General settings' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLProduct'}active{/if}">
<a href="#arseopro-product" id="arseopro-product-tab" data-toggle="tab">{l s='Product URLs' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLCategory'}active{/if}">
<a href="#arseopro-category" id="arseopro-category-tab" data-toggle="tab">{l s='Category URLs' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLManufacturer'}active{/if}">
<a href="#arseopro-manufacturer" id="arseopro-manufacturer-tab" data-toggle="tab">{l s='Manufacturer URLs' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLSupplier'}active{/if}">
<a href="#arseopro-supplier" id="arseopro-supplier-tab" data-toggle="tab">{l s='Supplier URLs' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLCMS'}active{/if}">
<a href="#arseopro-cms" id="arseopro-cms-tab" data-toggle="tab">{l s='CMS URLs' mod='arseopro'}</a>
</li>
<li class="{if $activeSubTab == 'ArSeoProURLCMSCategory'}active{/if}">
<a href="#arseopro-cms-category" id="arseopro-cms-category-tab" data-toggle="tab">{l s='CMS Category URLs' mod='arseopro'}</a>
</li>
<li class="">
<a href="#arseopro-duplication" id="arseopro-duplication-tab" data-toggle="tab">{l s='URL Duplication' mod='arseopro'}</a>
</li>
</ul>
<div class="tab-content">
{include file="./url/general.tpl"}
{include file="./url/product.tpl"}
{include file="./url/category.tpl"}
{include file="./url/manufacturer.tpl"}
{include file="./url/supplier.tpl"}
{include file="./url/cms.tpl"}
{include file="./url/cms-category.tpl"}
{include file="./url/duplication.tpl"}
</div>
</div>
</div>
{include file="./url/_modal.tpl"}
</div>

View File

@@ -0,0 +1,101 @@
{*
* 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-duplication-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 duplication rule' mod='arseopro'}</div>
</div>
<form class="form-horizontal form" id="arseo-duplication-form" onsubmit="arSEO.url.duplication.save(); return false;">
<div class="modal-body">
<input type="hidden" id="arseo-duplication-form_id" value="" data-default="" />
<input type="hidden" id="arseo-duplication-form_type" value="" data-default="" />
<div class="link-rewrite-group">
<div class="form-group link-rewrite">
<label class="control-label col-lg-2">{l s='For all languages' mod='arseopro'}</label>
<div class="col-lg-10">
<input name="link_rewrite_0" id="arseo-duplication-form_link_rewrite_0"
data-lang="0" value="" data-serializable="true" data-default="" type="text" />
<div class="errors"></div>
</div>
</div>
{foreach $languages as $language}
<div class="form-group link-rewrite-lang" id="link-rewrite-lang-{$language.id_lang|escape:'htmlall':'UTF-8'}">
<label class="control-label col-lg-2">{$language.iso_code|escape:'htmlall':'UTF-8'}</label>
<div class="col-lg-10">
<input name="link_rewrite_{$language.id_lang|escape:'htmlall':'UTF-8'}" id="arseo-duplication-form_link_rewrite_{$language.id_lang|escape:'htmlall':'UTF-8'}"
data-lang="{$language.id_lang|escape:'htmlall':'UTF-8'}" value="" data-serializable="true" data-default="" type="text" class="arseo-link-rewrite" />
<p class="actual-rewrite"></p>
<div class="errors"></div>
</div>
</div>
{/foreach}
</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-duplication-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-duplication-form_id_shop" data-serializable="true" data-default="{$id_shop|intval}" />
{/if}
<div class="form-group name-group">
<label class="control-label required col-sm-2">{l s='Name' mod='arseopro'}</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="arseo-duplication-form_name" name="name" data-serializable="true" data-default="" />
<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='Save' mod='arseopro'}</button>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript">
$('.link-rewrite input').keyup(function(data){
if (data.keyCode != 9 && data.keyCode != 16){
var val = $(this).val();
if (val.trim() != ''){
$('.link-rewrite-lang input').val(val);
arSEO.url.duplication.updateLinkRewrite(val, this);
}
}
});
$('.link-rewrite-lang input').keyup(function(data){
console.log(data);
if (data.keyCode != 9 && data.keyCode != 16){
var val = $(this).val();
arSEO.url.duplication.updateLinkRewrite(val, this);
}
});
</script>

View File

@@ -0,0 +1,30 @@
{*
* 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="row keywords-select-row" id="{$target|escape:'htmlall':'UTF-8'}-keyword-selector">
<div class="col-sm-12">
<ul class="list-unstyled keywords-select" data-target="{$target|escape:'htmlall':'UTF-8'}">
{foreach from=$keywords item=title key=k}
<li>
<a title="{$title|escape:'htmlall':'UTF-8'}" href="#" data-keyword="{$k|escape:'htmlall':'UTF-8'}">{literal}{{/literal}{$k|escape:'htmlall':'UTF-8'}{literal}}{/literal}</a> - {$title|escape:'htmlall':'UTF-8'}
</li>
{/foreach}
</ul>
</div>
</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="modal fade" id="arseo-url-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 URL rule' mod='arseopro'}</div>
</div>
<form class="form-horizontal form" id="arseo-url-rule-form" onsubmit="arSEO.url.save(false); return false;">
<input type="hidden" id="arseo-url-rule-form_id" value="" data-default="">
<div class="modal-body">
<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-url-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-url-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|intval}">{$lang.name|escape:'htmlall':'UTF-8'}</option>
{/foreach}
</select>
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<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-url-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-categories-container">
{$categoriesTree nofilter}
</div>
<div class="errors"></div>
</div>
</div>
<div class="form-group">
<label class="control-label required col-sm-2">{l s='URL rule' mod='arseopro'}</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="arseo-url-rule-form_rule" name="rule" data-serializable="true" data-default="">
<div class="errors"></div>
{include file="./_keywords.tpl"}
</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.url.save(true)">{l s='Save and stay' mod='arseopro'}</button>
</div>
</form>
</div>
</div>
</div>

View File

@@ -0,0 +1,31 @@
{*
* 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="form-control" id="arseo_{$ruleId|escape:'htmlall':'UTF-8'}" readonly="">
{$schema|escape:'htmlall':'UTF-8'}
</div>
<p class="help-block">
{if $is16}
{l s='You can edit scheme in [1]"Preferences" -> "SEO & URLs" -> "Schema of URLs"[/1] panel! ' mod='arseopro' tags=["<a href='{$link}' target='_blank'>"]}
{elseif $is174}
{l s='You can edit scheme in [1]"Preferences" -> "URLs"[/1] panel! ' mod='arseopro' tags=["<a href='{$link}' target='_blank'>"]}
{else}
{l s='You can edit scheme in [1]"Shop parameters" -> "Traffic & SEO"[/1] panel! ' mod='arseopro' tags=["<a href='{$link}' target='_blank'>"]}
{/if}
</p>

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 == 'ArSeoProURLCategory'}active{/if}" id="arseopro-category">
{$form->generateForm($urlCategoryFormParams) 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 == 'ArSeoProURLCMSCategory'}active{/if}" id="arseopro-cms-category">
{$form->generateForm($urlCMSCategoryFormParams) 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 == 'ArSeoProURLCMS'}active{/if}" id="arseopro-cms">
{$form->generateForm($urlCMSFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,34 @@
{*
* 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" id="arseopro-duplication">
<div class="panel">
<div class="panel-heading">
<i class="icon-info"></i>
</div>
<div class="form-wrapper">
<div id="form-url-duplication-list-container">
<div id="form-url-duplication-list" class="arseo-placeholder">
<input type="hidden" name="page" value="1" />
</div>
</div>
</div>
</div>
{include file="./_duplication_modal.tpl"}
</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 == 'ArSeoProURLGeneral' or empty($activeSubTab) or $activeTab != 'url'}active{/if}" id="arseopro-general">
{$form->generateForm($urlGeneralFormParams) 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 == 'ArSeoProURLManufacturer'}active{/if}" id="arseopro-manufacturer">
{$form->generateForm($urlManufacturerFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,63 @@
{*
* 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 == 'ArSeoProURLProduct'}active{/if}" id="arseopro-product">
{$form->generateForm($urlProductFormParams) 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='URL Rewrite Rules for products' mod='arseopro'}
<span class="panel-heading-action">
<a class="list-toolbar-btn" onclick="arSEO.url.newRule(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="New rewrite rule" data-html="true" data-placement="top">
<i class="process-icon-new"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.url.reload(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Refresh rules list" data-html="true" data-placement="top">
<i class="process-icon-refresh"></i>
</span>
</a>
<a class="list-toolbar-btn" onclick="arSEO.url.clear(); return false;" href="#">
<span title="" data-toggle="tooltip" class="label-tooltip" data-original-title="Clear rules 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-url-list-container">
<div id="form-url-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.url.newRule()">
{l s='Create new rule' mod='arseopro'}
</button>
<button type="button" class="btn btn-primary" onclick="arSEO.url.applyRule(0, 0, 0, 1)">
{l s='Apply all rules' mod='arseopro'}
</button>
<button type="button" class="btn btn-warning" onclick="arSEO.url.clear()">
<i class="icon icon-trash"></i> {l s='Clear url rules list' mod='arseopro'}
</button>
</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 == 'ArSeoProURLSupplier'}active{/if}" id="arseopro-supplier">
{$form->generateForm($urlSupplierFormParams) nofilter}{* HTML content generated by HelperForm, no escape necessary *}
</div>

View File

@@ -0,0 +1,77 @@
{*
* 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-utils" style="font-size: 15px">
<div class="panel">
<div class="panel-heading">
<i class="icon-info"></i> {l s='Utilities' mod='arseopro'}
</div>
<div class="form-wrapper text-center">
<p>
{l s='Current version of overrides: ' mod='arseopro'}<br/>
</p>
<ul class="list-unstyled arseo-overrides">
{foreach $overridesVersion as $k => $v}
<li id="arseo-override-{$k|escape:'htmlall':'UTF-8'}" class="{if $v == $arSEOProVersion}arseo-success{else}arseo-fail{/if}"><i class="icon-check"></i><i class="icon-close"></i> {$k|escape:'htmlall':'UTF-8'}: <span>{$v|escape:'htmlall':'UTF-8'}</span></li>
{/foreach}
</ul>
<p>
{l s='Current version of the module: ' mod='arseopro'} {$arSEOProVersion|escape:'htmlall':'UTF-8'}
</p>
<button type="button" class="btn btn-default" onclick="arSEO.utils.reInstallOverrides()">
{l s='Re-install overrides' mod='arseopro'}
</button>
<hr/>
<button type="button" class="btn btn-default" onclick="arSEO.url.resetRoutes()">
{l s='Reset routes' mod='arseopro'}
</button>
<button type="button" class="btn btn-default" onclick="arSEO.url.resetOldRoutes()">
{l s='Reset old routes' mod='arseopro'}
</button>
<hr/>
<p>
{l s='Actual loaded routes:' mod='arseopro'}
</p>
{if $routes == false}
<div class="alert alert-danger">
{l s='Method not found. Please re-install overrides.' mod='arseopro'}
</div>
{else}
<table class="table table-bordered">
{foreach $routes as $k => $langRoutes}
{foreach $langRoutes as $l => $routesList}
<tr>
<th colspan="2" style="text-align: center">
{l s='Shop: ' mod='arseopro'} {$shops[$k].name|escape:'htmlall':'UTF-8'} - {$langs[$l].iso_code|escape:'htmlall':'UTF-8'}
</th>
</tr>
{foreach $routesList as $rule => $route}
<tr>
<td style="text-align: left; color: #000000; padding: 6px 7px">{$rule|escape:'htmlall':'UTF-8'}</td>
<td style="text-align: left; padding: 6px 7px">{$route.rule|escape:'htmlall':'UTF-8'}</td>
</tr>
{/foreach}
{/foreach}
{/foreach}
</table>
{/if}
</div>
</div>
</div>

View File

@@ -0,0 +1,81 @@
{*
* 2018 Areama
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@areama.net so we can send you a copy immediately.
*
*
* @author Areama <contact@areama.net>
* @copyright 2018 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
{if $moduleConfig}
<script type="text/javascript">
if (document.getElementById('maintab-AdminArSeo')){
document.getElementById('maintab-AdminArSeo').classList.add("active");
}else if(document.getElementById('subtab-AdminArSeo')){
document.getElementById('subtab-AdminArSeo').classList.add("active");
document.getElementById('subtab-AdminArSeo').classList.add("-active");
document.getElementById('subtab-AdminArSeo').classList.add("ul-open");
document.getElementById('subtab-AdminArSeo').classList.add("open");
var arSEOIcon = document.getElementById('subtab-AdminArSeo').querySelector('a i');
if (arSEOIcon && arSEOIcon.innerHTML == ''){
arSEOIcon.innerHTML = 'link';
}
}
if (document.getElementById('maintab-AdminParentModules')){
document.getElementById('maintab-AdminParentModules').classList.remove("active");
}
if (document.getElementById('subtab-AdminParentModulesSf')){
document.getElementById('subtab-AdminParentModulesSf').classList.remove("active");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("-active");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("ul-open");
document.getElementById('subtab-AdminParentModulesSf').classList.remove("open");
}
</script>
{/if}
<style type="text/css">
.icon-AdminArSeo:before{
content:"";
}
</style>
{if $productForm}
<script type="text/javascript">
window.addEventListener('load', function(){
$('#form').on('submit', function(){
var d = setInterval(function(){
if ($('#submit').is(':disabled')) {
} else {
clearInterval(d);
$.ajax({
type: 'POST',
url: '{$arSEOAjaxURL nofilter}',
dataType: 'json',
data: {
controller : 'AdminArSeoUrls',
action : 'applyProductRules',
id: $('#form_id_product').val(),
ajax : true,
},
success: function(data){
}
}).fail(function(){
console.log('AdminArSeoUrls:applyProductRules fail')
});
}
}, 500);
});
});
</script>
{/if}

View File

@@ -0,0 +1,63 @@
{*
* 2022 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 2022 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
<!-- arseopro canonical -->
{if isset($page.canonical_seo)}
<link rel="canonical" href="{$page.canonical_seo|escape:'htmlall':'UTF-8'}" />
{/if}
{if $page_name != 'category' && $page_name != 'product' && $page_name != 'cms' && $otherActive}
<link rel="canonical" href="{$canonicalURL|escape:'htmlall':'UTF-8'}" />
{/if}
{if $page_name == 'product' and $productActive}
<link rel="canonical" href="{$canonicalURL|escape:'htmlall':'UTF-8'}" />
{/if}
{if $page_name == 'cms' and $cmsActive}
<link rel="canonical" href="{$canonicalURL|escape:'htmlall':'UTF-8'}" />
{/if}
{if $page_name == 'category' and $categoryActive}
{if $primero == 'NO'}
{if $canonicalURLPrev != $canonicalURL}
{if $actual != 1}
<link rel="prev" href="{$canonicalURLPrev|escape:'htmlall':'UTF-8'}" />
{/if}
{/if}
{/if}
{if $actual < ($max)}
<link rel="next" href="{$canonicalURLNext|escape:'htmlall':'UTF-8'}" />
{/if}
{/if}
<!-- /arseopro canonical -->

View File

@@ -0,0 +1,91 @@
{*
* 2022 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 2022 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
<script type="text/javascript">
window.addEventListener('load', function(){
$('input[name=ARSEO_customCanonicalActive]').change(function () {
if ($('#ARSEO_customCanonicalActive_on').is(':checked')) {
$('#canonicalSection').show();
} else {
$('#canonicalSection').hide();
}
});
});
</script>
<div class="form-group">
<label class="control-label col-lg-3">
{l s='Custom canonical URL' mod='arseopro'}
</label>
<div class="col-lg-9">
<span class="switch prestashop-switch fixed-width-lg">
<input autocomplete="off" type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_on" value="1" {if $active == 1}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_on" class="radioCheck" onclick="">
{l s='Yes' mod='arseopro'}
</label>
<input autocomplete="off" type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_off" value="0" {if $active == 0}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_off" class="radioCheck" onclick="">
{l s='No' mod='arseopro'}
</label>
<a class="slide-button btn"></a>
</span>
<p class="help-block">
{l s='If disabled, canonical URL will be default for this category.' mod='arseopro'}
</p>
</div>
</div>
<div class="form-group" id="canonicalSection" {if $active != 1}style="display:none;"{/if}>
<label class="control-label col-lg-3">
{l s='Canonical URL' mod='arseopro'}
</label>
<div class="col-lg-9">
<div class="row">
{foreach $languages as $language}
<div class="translatable-field lang-{$language['id_lang']}" style="display: {if $language['id_lang'] == $default_form_language}block{else}none{/if};">
<div class="col-lg-9">
<input type="text" size="64" name="ARSEO_customCanonical_{$language['id_lang']}" value="{if isset($category_canonical[$language['id_lang']])}{$category_canonical[$language['id_lang']]}{/if}" />
</div>
<div class="col-lg-2">
<button type="button" class="btn btn-default dropdown-toggle" tabindex="-1" data-toggle="dropdown">
{$language['iso_code']}
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
{foreach $languages as $language}
<li><a href="javascript:hideOtherLanguage({$language['id_lang']});" tabindex="-1">{$language['name']}</a></li>
{/foreach}
</ul>
</div>
</div>
{/foreach}
<div class="col-lg-9">
<p class="help-block">{l s='Type here the canonical url for this category' mod='arseopro'}</p>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,93 @@
{*
* 2022 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 2022 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
<script type="text/javascript">
window.addEventListener('load', function(){
$('input[name=ARSEO_customCanonicalActive]').change(function () {
if ($('#ARSEO_customCanonicalActive_on').is(':checked')) {
$('#canonicalSection').show();
} else {
$('#canonicalSection').hide();
}
});
});
</script>
<div class="form-group row">
<label class="form-control-label col-lg-3">
{l s='Do you want to use a custom canonical url for this category?' mod='arseopro'}
</label>
<div class="col-sm">
<span class="ps-switch switch prestashop-switch fixed-width-lg">
<input autocomplete="off" class="" type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_off" value="0" {if $active == 0}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_off" class="radioCheck" onclick="">
{l s='No' mod='arseopro'}
</label>
<input autocomplete="off" class="" type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_on" value="1" {if $active == 1}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_on" class="radioCheck" onclick="">
{l s='Yes' mod='arseopro'}
</label>
<a class="slide-button btn"></a>
</span>
<small class="form-text">
{l s='No = Canonical urls for this category will be by default.' mod='arseopro'}
</small>
</div>
</div>
<div class="form-group row" id="canonicalSection" {if $active != 1}style="display:none;"{/if}>
<label for="category_meta_keyword" class="form-control-label">
{l s='Canonical url' mod='arseopro'}
</label>
<div class="col-sm">
<div class="input-group locale-input-group js-locale-input-group d-flex">
{foreach $languages as $language}
<div class="js-locale-input js-locale-{$language['iso_code']} {if $default_form_language != $language['id_lang']}d-none{/if}" style="flex-grow: 1;">
<input type="text" id="ARSEO_customCanonical_{$language['id_lang']}" name="ARSEO_customCanonical_{$language['id_lang']}" class="form-control" value="{if isset($category_canonical[$language['id_lang']])}{$category_canonical[$language['id_lang']]}{/if}" >
</div>
{/foreach}
<div class="dropdown">
<button class="btn btn-outline-secondary dropdown-toggle js-locale-btn" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="category_meta_keyword">
{$languageObj->iso_code}
</button>
<div class="dropdown-menu" aria-labelledby="category_meta_keyword">
{foreach $languages as $language}
<span class="dropdown-item js-locale-item" data-locale="{$language['iso_code']}">{$language['name']}</span>
{/foreach}
</div>
</div>
</div>
<small class="form-text">
{l s='Type here the canonical url for this category' mod='arseopro'}
</small>
</div>
</div>

View File

@@ -0,0 +1,83 @@
{*
* 2022 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 2022 Areama
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of Areama
*}
<script type="text/javascript">
window.addEventListener('load', function(){
$('input[name=ARSEO_customCanonicalActive]').change(function () {
if ($('#ARSEO_customCanonicalActive_on').is(':checked')) {
$('#canonicalSection').show();
} else {
$('#canonicalSection').hide();
}
});
});
</script>
<div class="row">
<div class="col-md-12">
<h2>{l s='Custom canonical URL' mod='arseopro'}</h2>
<p class="subtitle">{l s='Use a custom canonical URL for this product?' mod='arseopro'}</p>
</div>
</div>
<div class="row">
<div class="col-md-8 form-group">
<span class="ps-switch prestashop-switch fixed-width-lg">
<input type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_off" autocomplete="off" value="0" {if $active == 0}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_off" class="radioCheck" onclick="">
{l s='No' mod='arseopro'}
</label>
<input type="radio" name="ARSEO_customCanonicalActive" id="ARSEO_customCanonicalActive_on" autocomplete="off" value="1" {if $active == 1}checked="checked"{/if}>
<label for="ARSEO_customCanonicalActive_on" class="radioCheck" onclick="">
{l s='Yes' mod='arseopro'}
</label>
<a class="slide-button btn"></a>
</span>
<span class="help-box mb-3" data-toggle="popover" data-content="{l s='If disabled, canonical URL will be default for this product.' mod='arseopro'}" data-original-title="" title=""></span>
</div>
</div>
<div class="row" id="canonicalSection" {if $active == false} style="display: none" {/if}>
<fieldset class="col-md-9 form-group">
<label class="form-control-label">
{l s='Canonical URL for this product' mod='arseopro'}
</label>
<div class="translations tabbable" id="form_step5_ARSEO_customCanonical">
<div class="translationsFields tab-content">
{foreach $languages as $language}
<div data-locale="{$language['iso_code']}" class="translationsFields-form_step5_ARSEO_customCanonical_{$language['id_lang']} tab-pane translation-field {if $language['id_lang'] == $default_form_language} show active {/if} translation-label-{$language['iso_code']}">
<input maxlength="200" autocomplete="off" type="text" name="ARSEO_customCanonical_{$language['id_lang']}" value="{if isset($product_canonical[$language['id_lang']])}{$product_canonical[$language['id_lang']]}{/if}" counter="200" counter_type="recommended" class="serp-watched-title form-control">
<small class="form-text text-muted text-right maxLength ">
<em>
<span class="currentLength"></span> {l s='of' mod='arseopro'} <span class="currentTotalMax">200</span> {l s='characters used (recommended)' mod='arseopro'}
</em>
</small>
</div>
{/foreach}
</div>
</div>
</fieldset>
</div>

View File

@@ -0,0 +1,115 @@
{*
* 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
*}
<link rel="stylesheet" href="{$moduleUrl|escape:'htmlall':'UTF-8'}views/css/admin.css" type="text/css" media="all" />
<script type="text/javascript" src="{$moduleUrl|escape:'htmlall':'UTF-8'}views/js/admin.js"></script>
{if $overridesDisabled}
<div class="alert alert-danger" style="font-size: 15px">
<b>{l s='Overrides are disabled.' mod='arseopro'}</b>
{l s='This module cannot work correctly without overrides.' mod='arseopro'}
Please enable overrides in the <a href="{$preformanceSettingsUrl|escape:'htmlall':'UTF-8'}" target="_blank">Performance settings</a>.
</div>
{/if}
<div class="row" id="arseopro-config">
<div class="col-lg-2 col-md-3">
<div class="list-group arseoproTabs">
<a class="list-group-item {if empty($activeTab) or $activeTab == 'url'}active{/if}" data-target="arseopro-url" href="#">
<i class="icon-link"></i> {l s='URL settings' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'canonical'}active{/if}" data-tab="3" data-target="arseopro-canonical" href="#">
<i class="icon-link"></i> {l s='Canonical' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'favicon'}active{/if}" data-tab="1" data-target="arseopro-favicon" href="#">
<i class="icon-cog"></i> {l s='Favicon' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'meta'}active{/if}" data-tab="1" data-target="arseopro-meta" href="#">
<i class="icon-cog"></i> {l s='Meta tags' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'redirects'}active{/if}" data-target="arseopro-redirect" href="#">
<i class="icon-cog"></i> {l s='Redirects' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'jsonld'}active{/if}" data-target="arseopro-jsonld" href="#">
<i class="icon-cog"></i> {l s='JSON-LD microdata' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'sitemap'}active{/if}" data-tab="3" data-target="arseopro-sitemap" href="#">
<i class="icon-code"></i> {l s='Sitemap' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'robots'}active{/if}" data-tab="3" data-target="arseopro-robots" href="#">
<i class="icon-code"></i> {l s='Robots.txt editor' mod='arseopro'}
</a>
<a class="list-group-item {if $activeTab == 'utils'}active{/if}" data-tab="3" data-target="arseopro-utils" href="#">
<i class="icon-cog"></i> {l s='Utilities' mod='arseopro'}
</a>
<a class="list-group-item" data-tab="10" data-target="arseopro-about" href="#">
<i class="icon-info"></i> {l s='About' mod='arseopro'}
</a>
</div>
</div>
<div class="col-lg-10 col-md-9" id="arseopro-config-tabs">
{include file="./_partials/url.tpl"}
{include file="./_partials/favicon.tpl"}
{include file="./_partials/canonical.tpl"}
{include file="./_partials/meta.tpl"}
{include file="./_partials/redirects.tpl"}
{include file="./_partials/jsonld.tpl"}
{include file="./_partials/sitemap.tpl"}
{include file="./_partials/robots.tpl"}
{include file="./_partials/help.tpl"}{* This is for future updates *}
{include file="./_partials/utils.tpl"}
{include file="./_partials/about.tpl"}
</div>
{include file="./_partials/_rule_progress_modal.tpl"}
</div>
<script type="text/javascript">
var max_image_size = {$max_image_size|escape:'htmlall':'UTF-8'};
arSEO.errorMessage = "{l s='Operation failed' mod='arseopro'}";
arSEO.successMessage = "{l s='Operation complete' mod='arseopro'}";
arSEO.ajaxUrl = '{$ajaxUrl.default nofilter}';
arSEO.redirect.ajaxUrl = '{$ajaxUrl.redirect nofilter}';
arSEO.url.ajaxUrl = '{$ajaxUrl.url nofilter}';
arSEO.meta.ajaxUrl = '{$ajaxUrl.meta nofilter}';
arSEO.sitemap.ajaxUrl = '{$ajaxUrl.sitemap nofilter}';
arSEO.sitemap.product.ajaxUrl = '{$ajaxUrl.sitemapProduct nofilter}';
arSEO.sitemap.supplier.ajaxUrl = '{$ajaxUrl.sitemapSupplier nofilter}';
arSEO.sitemap.manufacturer.ajaxUrl = '{$ajaxUrl.sitemapManufacturer nofilter}';
arSEO.sitemap.cms.ajaxUrl = '{$ajaxUrl.sitemapCms nofilter}';
arSEO.sitemap.meta.ajaxUrl = '{$ajaxUrl.sitemapMeta nofilter}';
arSEO.sitemap.category.ajaxUrl = '{$ajaxUrl.sitemapCategory nofilter}';
arSEO.sitemap.generateUrl = '{$ajaxUrl.sitemapGenerate nofilter}';
arSEO.robots.ajaxUrl = '{$ajaxUrl.robots nofilter}';
arSEO.redirect.createTitle = "{l s='New redirect rule' mod='arseopro'}";
arSEO.redirect.editTitle = "{l s='Edit redirect rule' mod='arseopro'}";
arSEO.clearConfirmation = "{l s='Clear all items?' mod='arseopro'}";
arSEO.removeConfirmation = "{l s='Remove selected items?' mod='arseopro'}";
arSEO.deleteItemConfirmation = "{l s='Are you sure you want to delete item?' mod='arseopro'}";
arSEO.activateConfirmation = "{l s='Activate selected items?' mod='arseopro'}";
arSEO.deactivateConfirmation = "{l s='Deactivate selected items?' mod='arseopro'}";
arSEO.noItemsSelected = "{l s='No items selected' mod='arseopro'}";
arSEO.redirect.saveSuccess = "{l s='Rule saved' mod='arseopro'}";
arSEO.redirect.saveError = "{l s='Error. Rule not saved' mod='arseopro'}";
arSEO.init();
</script>
<script src="{$moduleUrl|escape:'htmlall':'UTF-8'}views/js/admin_scripts.js" type="text/javascript"></script>

View File

@@ -0,0 +1,30 @@
{*
* 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
*}
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
{foreach $msTileSizes as $size}
<square{$size|escape:'htmlall':'UTF-8'}logo src="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}{$faviconFilename|escape:'htmlall':'UTF-8'}_{$size|escape:'htmlall':'UTF-8'}.{$faviconExt|escape:'htmlall':'UTF-8'}"/>
{/foreach}
<TileColor>{$metaConfig->ms_tile_color|escape:'htmlall':'UTF-8'}</TileColor>
</tile>
</msapplication>
</browserconfig>

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,38 @@
{*
* 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 $faviconConfig->icon}
<link rel="manifest" href="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}{$manifestFileName|escape:'htmlall':'UTF-8'}">
{foreach $faviconSizes as $size}
<link rel="icon" type="image/png" href="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}{$faviconConfig->getFavicon('filename')|escape:'htmlall':'UTF-8'}_{$size|escape:'htmlall':'UTF-8'}.{$faviconConfig->getFavicon('ext')|escape:'htmlall':'UTF-8'}" sizes="{$size|escape:'htmlall':'UTF-8'}">
{/foreach}
{foreach $appleTouchSizes as $size}
<link rel="apple-touch-icon" sizes="{$size|escape:'htmlall':'UTF-8'}" href="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}{$faviconConfig->getIOSFavicon('filename')|escape:'htmlall':'UTF-8'}_{$size|escape:'htmlall':'UTF-8'}.{$faviconConfig->getIOSFavicon('ext')|escape:'htmlall':'UTF-8'}">
{/foreach}
<meta name="msapplication-TileColor" content="{$faviconConfig->ms_tile_color|escape:'htmlall':'UTF-8'}">
<meta name="msapplication-config" content="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}ieconfig.xml" />
<meta name="theme-color" content="{$faviconConfig->android_theme|escape:'htmlall':'UTF-8'}">
{if $faviconConfig->mac_icon}
<link rel="mask-icon" href="{$moduleUploadUrl|escape:'htmlall':'UTF-8'}{$faviconConfig->mac_icon|escape:'htmlall':'UTF-8'}" color="{$faviconConfig->mac_theme|escape:'htmlall':'UTF-8'}">
{/if}
{/if}

View File

@@ -0,0 +1,87 @@
{*
* 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
*}
<meta http-equiv="x-dns-prefetch-control" value="on" />
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content="yes" />
{if $metaData && $metaData->meta_title}
<meta name="apple-mobile-web-app-title" content="{$metaData->meta_title|escape:'html':'UTF-8'}">
{/if}
<link rel="dns-prefetch" href="//www.google-analytics.com" />
<link rel="dns-prefetch" href="//twitter.com" />
<link rel="dns-prefetch" href="//facebook.com" />
<link rel="dns-prefetch" href="//apis.google.com" />
<link rel="dns-prefetch" href="//fonts.googleapis.com" />
<link rel="dns-prefetch" href="//ssl.gstatic.com" />
<link rel="dns-prefetch" href="//{$domain|escape:'htmlall':'UTF-8'}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{$url nofilter}" />
<meta property="og:site_name" content="{$sitename|escape:'htmlall':'UTF-8'}" />
{if $metaData}
{if $metaData->fb_admins}
<meta property="fb:admins" content="{$metaData->fb_admins|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->fb_app}
<meta property="fb:app_id" content="{$metaData->fb_app|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->fb_image == 3 and $metaData->fb_custom_image}
<meta property="og:image" content="{$metaData->fb_custom_image|escape:'htmlall':'UTF-8'}" />
{elseif $metaData->fb_image == 1 and $metaData->fbImageUrl}
<meta property="og:image" content="{$metaData->fbImageUrl|escape:'htmlall':'UTF-8'}" />
{elseif $metaData->fb_image == 2 and $metaData->fbImageUrl}
{foreach $metaData->fbImageUrl as $img}
<meta property="og:image" content="{$img|escape:'htmlall':'UTF-8'}" />
{/foreach}
{/if}
{if $metaData->fb_title}
<meta property="og:title" content="{$metaData->fb_title|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->fb_description}
<meta property="og:description" content="{$metaData->fb_description|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->tw_type}
<meta property="twitter:card" content="{$metaData->tw_type|escape:'htmlall':'UTF-8'}" />
{if $metaData->tw_title}
<meta property="twitter:title" content="{$metaData->tw_title|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->tw_description}
<meta property="twitter:description" content="{$metaData->tw_description|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->tw_account}
<meta property="twitter:site" content="{$metaData->tw_account|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->tw_type == 'player'}
<meta property="twitter:player" content="{$metaData->tw_video_url|escape:'htmlall':'UTF-8'}" />
<meta property="twitter:player:width" content="{$metaData->tw_video_width|escape:'htmlall':'UTF-8'}" />
<meta property="twitter:player:height" content="{$metaData->tw_video_height|escape:'htmlall':'UTF-8'}" />
{/if}
{if $metaData->tw_image == 3 and $metaData->tw_custom_image}
<meta property="twitter:image" content="{$metaData->tw_custom_image|escape:'htmlall':'UTF-8'}" />
{elseif $metaData->tw_image == 1 and $metaData->twImageUrl}
<meta property="twitter:image" content="{$metaData->twImageUrl|escape:'htmlall':'UTF-8'}" />
{elseif $metaData->fb_image == 2 and $metaData->twImageUrl}
{foreach $metaData->twImageUrl as $img}
<meta property="twitter:image" content="{$img|escape:'htmlall':'UTF-8'}" />
{/foreach}
{/if}
{/if}
{/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,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
*}
<script type="application/ld+json" arseo>
{$jsonData nofilter}
</script>

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;