first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,38 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<script type="text/javascript">
var leoblog_del_img_txt = "{$leoblog_del_img_txt|escape:'htmlall':'UTF-8'}";
var leoblog_del_img_mess = "{$leoblog_del_img_mess|escape:'htmlall':'UTF-8'}";
var action = "{$action|escape:'htmlall':'UTF-8'}";
var addnew = "{$addnew|escape:'htmlall':'UTF-8'}";
</script>
<div class="" id="megamenu">
<div class="col-md-4">
<div class="panel panel-default">
<h3 class="panel-title">{$text_title|escape:'htmlall':'UTF-8'}</h3>
<div class="panel-content">
{$text_content|escape:'htmlall':'UTF-8'}
<hr>
<p>
<input type="button" value="{$text_value|escape:'htmlall':'UTF-8'}" id="addcategory" data-loading-text="{$text_process|escape:'htmlall':'UTF-8'}" class="btn btn-danger" name="addcategory">
</p>
<hr>{$tree}{* HTML form , no escape necessary *}
<a href="javascript:void(0);" class="btn btn-danger delete_many_menus">
<i class="icon-trash"></i>&nbsp;Delete selected
</a>
</div>
</div>
</div>
<div class="col-md-8">{$generate_form}{* HTML form , no escape necessary *}</div>
</div>
{literal}
<script type="text/javascript">
$("#content").PavMegaMenuList({action:action, addnew:addnew});
</script>
{/literal}

View File

@@ -0,0 +1,18 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<div class="panel form-horizontal">
<div class="form-group">
<div class="col-lg-1">
<a class="megamenu-correct-module btn btn-success" href="{$link->getAdminLink('AdminModules')|escape:'htmlall':'UTF-8'}&configure=leoblog&success=correct&correctmodule=1">
<i class="icon-AdminParentPreferences"></i>{l s='Correct module' mod='leoblog'}
</a>
</div>
<div class="col-lg-5">* {l s='Please backup the database before run correct module to safe' mod='leoblog'}</div>
</div>
</div>

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,26 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{if isset($errors) && count($errors) && current($errors) != ''}
<div class="bootstrap">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{if count($errors) == 1}
{reset($errors|escape:'htmlall':'UTF-8')}
{else }
{l s='%d errors' sprintf=[$errors|count] mod='leoblog'}
<br/>
<ol>
{foreach $errors as $error}
<li>{$error|escape:'htmlall':'UTF-8'}</li>
{/foreach}
</ol>
{/if}
</div>
</div>
{/if}

View File

@@ -0,0 +1,24 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<ol class="level{$level|escape:'htmlall':'UTF-8'}{$t|escape:'htmlall':'UTF-8'}">
{foreach from=$data item=$menu}
<li id="list_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}" class="{if $param_id_leoblogcat == $menu.id_leoblogcat}selected{/if}">
<div>
<span class="disclose"><span></span></span>
{$menu.title|escape:'htmlall':'UTF-8'} (ID:{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'})
<input type="checkbox" name="menubox[]" value="{$menu['id_leoblogcat']|escape:'htmlall':'UTF-8'}" class="quickselect" title="Select to delete">
<span class="quickedit" rel="id_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">E</span>
<span class="quickdel" rel="id_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">D</span>
</div>
{if $menu.id_leoblogcat != $parent}
{$model_leoblogcat->genTree($menu.id_leoblogcat, $level + 1)|escape:'htmlall':'UTF-8'}
{/if}
</li>
{/foreach}
</ol>

View File

@@ -0,0 +1,19 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<ol class="level{$level|escape:'htmlall':'UTF-8'}">
{foreach from=$data item=$menu}
<li id="list_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">
<input type="checkbox" value="{$menu.randkey|escape:'htmlall':'UTF-8'}" name="chk_cat[]" id="chk-{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}" {if $menu.id_leoblogcat|array_search:$select !== false}checked="checked"{/if}/>
<label for="chk-{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">{$menu.title|escape:'htmlall':'UTF-8'} (ID:{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'})</label>
{if $menu.id_leoblogcat != $parent}
{$model_leoblogcat->genTreeForApPageBuilder($menu.id_leoblogcat, $level + 1, $select)|escape:'htmlall':'UTF-8'}
{/if}
</li>
{/foreach}
</ol>

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,32 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<!-- @file modules\appagebuilder\views\templates\admin\ap_page_builder_theme_configuration\helpers\form\form.tpl -->
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'date_leoblog'}
<div class="row">
<div class="input-group col-lg-4">
<input
id="{if isset($input.id)}{$input.id|escape:'htmlall':'UTF-8'}{else}{$input.name|escape:'htmlall':'UTF-8'}{/if}"
type="text"
data-hex="true"
{if isset($input.class)} class="{$input.class}"
{else}class="datepicker"{/if}
name="{$input.name|escape:'htmlall':'UTF-8'}"
value="{if isset($input.default) && $fields_value[$input.name] == ''}{$input.default|escape:'htmlall':'UTF-8'}{else}{$fields_value[$input.name]|escape:'html':'UTF-8'}{/if}" />
<span class="input-group-addon">
<i class="icon-calendar-empty"></i>
</span>
</div>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,25 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<!-- @file modules\appagebuilder\views\templates\admin\ap_page_builder_theme_configuration\helpers\form\form.tpl -->
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'tabConfig'}
<div class="row">
{assign var=tabList value=$input.values}
<ul class="nav nav-tabs" role="tablist">
{foreach $tabList as $key => $value name="tabList"}
<li role="presentation" class="{if $smarty.foreach.tabList.first}active{/if}"><a href="#{$key|escape:'html':'UTF-8'}" class="aptab-config" role="tab" data-toggle="tab">{$value|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* 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@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
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,141 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<div id="blog-dashboard">
<div class="row">
<div class="col-md-12">
<div class="alert alert-info">
<a href="http://www.leotheme.com/support/prestashop-16x-guides.html">{l s='Click Here to see Module Guide' mod='leoblog'}</a>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">{l s='Global Config' mod='leoblog'}</div>
<div class="panel-content" id="bloggeneralsetting">
<ul class="nav nav-tabs leoblog-globalconfig" role="tablist">
<li class="nav-item{if $default_tab == '#fieldset_0'} active{/if}">
<a class="nav-link" href="#fieldset_0" role="tab" data-toggle="tab">{l s='General Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_1_1'} active{/if}">
<a class="nav-link" href="#fieldset_1_1" role="tab" data-toggle="tab">{l s='Listing Blog Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_2_2'} active{/if}">
<a class="nav-link" href="#fieldset_2_2" role="tab" data-toggle="tab">{l s='Item Blog Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_3_3'} active{/if}">
<a class="nav-link" href="#fieldset_3_3" role="tab" data-toggle="tab">{l s='Left-Right Column' mod='leoblog'}</a>
</li>
</ul>
<div class="tab-content">
{$globalform}{* HTML form , no escape necessary *}
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">{l s='Quick Tools' mod='leoblog'}</div>
<div class="panel-content">
<div id="quicktools" class="row">
{foreach from=$quicktools item=tool}
<div class="col-xs-3 col-lg-3 active">
<a href="{$tool.href|escape:'html':'UTF-8'}" class="{$tool.class|escape:'html':'UTF-8'}">
<i class="icon icon-3x {$tool.icon|escape:'html':'UTF-8'}"></i>
<p>{$tool.title|escape:'html':'UTF-8'}</p>
</a>
</div>
{/foreach}
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">{l s='Statistics' mod='leoblog'}</div>
<div class="panel-content" id="dashtrends">
<div class="row" id="dashtrends_toolbar">
<dl class="col-xs-4 col-lg-4 active">
<dt>{l s='Blogs' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="sales_score">{$count_blogs|intval}</span></dd>
</dl>
<dl class="col-xs-4 col-lg-4">
<dt>{l s='Categories' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="orders_score">{$count_cats|intval}</span></dd>
</dl>
<dl class="col-xs-4 col-lg-4">
<dt>{l s='Comments' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="cart_value_score">{$count_comments|intval}</span></dd>
</dl>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">{l s='Modules' mod='leoblog'}</div>
<div class="panel-content">
<section>
<nav>
<ul class="nav nav-tabs">
<li class="">
<a data-toggle="tab" href="#dash_latest_comment">
<i class="icon-fire"></i> {l s='Lastest Comments' mod='leoblog'}
</a>
</li>
<li class="active">
<a data-toggle="tab" href="#dash_most_viewed">
<i class="icon-trophy"></i> {l s='Most Viewed' mod='leoblog'}
</a>
</li>
</ul>
</nav>
<div class="tab-content panel">
<div id="dash_latest_comment" class="tab-pane">
<div>
<ul>
{foreach from=$latest_comments item=comment}
<li><a href="{$comment_link|escape:'html':'UTF-8'}&id_comment={$comment.id_comment|intval}&updateleoblog_comment">
{$comment.comment|strip_tags|truncate:65:'...'} </a/> {l s='Date' mod='leoblog'}({$comment.date_add|escape:'html':'UTF-8'}) - {l s='User :' mod='leoblog'} {$comment.user|escape:'html':'UTF-8'}</li>
{/foreach}
</ul>
</div>
</div>
<div id="dash_most_viewed" class="tab-pane active">
<div>
<ul>
{foreach from=$blogs item=blog}
<li><a href="{$blog_link|escape:'html':'UTF-8'}&id_leoblog_blog={$blog.id_leoblog_blog|intval}&updateleoblog_blog">{$blog.meta_title|escape:'html':'UTF-8'}</a/> - <i>{l s='Hits' mod='leoblog'}: {$blog.hits|intval}</i> </li>
{/foreach}
</ul>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{if $warning}
<div class="alert alert-danger">{$warning|escape:'html':'UTF-8'}</div>
{/if}
{if $widget_selected}
{$form}{* HTML form , no escape necessary *}
<script type="text/javascript">
$('#widget_type').change( function(){
location.href = '{html_entity_decode($fb_widget_action|escape:'html':'UTF-8')}&wtype='+$(this).val();
} );
</script>
{else}
<div class="widgets">
{$i=0} <div class="row">
{foreach $types as $widget => $text}
<div class="col-md-4 col-sm-4">
<div class="widget-item">
<h4><a href="{html_entity_decode($fb_widget_action|escape:'html':'UTF-8')}&wtype={$widget|escape:'html':'UTF-8'}">{$text.label|escape:'html':'UTF-8'}</a></h4>
<p><i>{$text.explain}{* HTML form , no escape necessary *}</i></p>
</div>
</div>
{/foreach} <div class="row">
</div>
{/if}