This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

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>