This commit is contained in:
2025-03-21 20:24:43 +01:00
parent 224398df90
commit f34c9162d4
12427 changed files with 5329941 additions and 373384 deletions

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($confirmations) && count($confirmations) && $confirmations}
<div class="bootstrap">

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($employee)}
<div class="dropdown employee-dropdown">
@@ -28,17 +28,26 @@
<i class="material-icons">account_circle</i>
</div>
<div class="dropdown-menu dropdown-menu-right">
<div class="text-center employee_avatar">
<img class="avatar rounded-circle" src="{$employee->getImage()}" />
<span>{$employee->firstname} {$employee->lastname}</span>
</div>
<a class="dropdown-item employee-link profile-link" href="{$link->getAdminLink('AdminEmployees', true, [], ['id_employee' => $employee->id|intval, 'updateemployee' => 1])|escape:'html':'UTF-8'}">
<i class="material-icons">settings_applications</i>
{l s='Your profile'}
<div class="employee-wrapper-avatar">
<span class="employee-avatar"><img class="avatar rounded-circle" src="{$employee->getImage()}" /></span>
<span class="employee_profile">{l s='Welcome back %name%' sprintf=['%name%' => $employee->firstname] d='Admin.Navigation.Header'}</span>
<a class="dropdown-item employee-link profile-link" href="{$link->getAdminLink('AdminEmployees', true, [], ['id_employee' => $employee->id|intval, 'updateemployee' => 1])|escape:'html':'UTF-8'}">
<i class="material-icons">edit</i>
<span>{l s='Your profile' d='Admin.Navigation.Header'}</span>
</a>
<a class="dropdown-item employee-link" id="header_logout" href="{$logout_link|escape:'html':'UTF-8'}">
<i class="material-icons">power_settings_new</i>
<span>{l s='Sign out'}</span>
</div>
<p class="divider"></p>
<a class="dropdown-item" href="{l s='https://www.prestashop.com/en/resources/documentations?utm_source=back-office&utm_medium=profile&utm_campaign=resources-en&utm_content=download17' d='Admin.Navigation.Header'}" target="_blank" rel="noreferrer"><i class="material-icons">book</i> {l s='Resources' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" href="{l s='https://www.prestashop.com/en/training?utm_source=back-office&utm_medium=profile&utm_campaign=training-en&utm_content=download17' d='Admin.Navigation.Header'}" target="_blank" rel="noreferrer"><i class="material-icons">school</i> {l s='Training' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" href="{l s='https://www.prestashop.com/en/experts?utm_source=back-office&utm_medium=profile&utm_campaign=expert-en&utm_content=download17' d='Admin.Navigation.Header'}" target="_blank" rel="noreferrer"><i class="material-icons">person_pin_circle</i> {l s='Find an Expert' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" href="{l s='https://addons.prestashop.com?utm_source=back-office&utm_medium=profile&utm_campaign=addons-en&utm_content=download17' d='Admin.Navigation.Header'}" target="_blank" rel="noreferrer"><i class="material-icons">extension</i> {l s='PrestaShop Marketplace' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" href="{l s='https://www.prestashop.com/en/contact?utm_source=back-office&utm_medium=profile&utm_campaign=help-center-en&utm_content=download17' d='Admin.Navigation.Header'}" target="_blank" rel="noreferrer"><i class="material-icons">help</i> {l s='Help Center' d='Admin.Navigation.Header'}</a>
<p class="divider"></p>
<a class="dropdown-item employee-link text-center" id="header_logout" href="{$logout_link|escape:'html':'UTF-8'}">
<i class="material-icons d-lg-none">power_settings_new</i>
<span>{l s='Sign out' d='Admin.Navigation.Header'}</span>
</a>
</div>
</div>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if count($errors) && current($errors) != '' && (!isset($disableDefaultErrorOutPut) || $disableDefaultErrorOutPut == false)}
<div class="bootstrap">
@@ -29,7 +29,7 @@
{if count($errors) == 1}
{reset($errors)}
{else }
{l s='%d errors' sprintf=[$errors|count]}
{l s='There are %d errors.' sprintf=[$errors|count] d='Admin.Notifications.Error'}
<br/>
<ol>
{foreach $errors as $error}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($informations) && count($informations) && $informations}
<div class="bootstrap">

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,110 +16,110 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<nav class="nav-bar d-none d-md-block">
<span class="menu-collapse">
<nav class="nav-bar d-none d-print-none d-md-block">
<span class="menu-collapse" data-toggle-url="{$toggle_navigation_url}">
<i class="material-icons">chevron_left</i>
<i class="material-icons">chevron_left</i>
</span>
<ul class="main-menu">
<div class="nav-bar-overflow">
<ul class="main-menu{if $collapse_menu} sidebar-closed{/if}">
{foreach $tabs as $level1}
{if $level1.active}
{foreach $tabs as $level1}
{if $level1.active}
{$level1Href = $level1.href|escape:'html':'UTF-8'}
{if $level1.sub_tabs|@count && isset($level1.sub_tabs[0].href)}
{$level1Href = $level1.sub_tabs[0].href|escape:'html':'UTF-8'}
{/if}
{$level1Href = $level1.href|escape:'html':'UTF-8'}
{if $level1.sub_tabs|@count && isset($level1.sub_tabs[0].href)}
{$level1Href = $level1.sub_tabs[0].href|escape:'html':'UTF-8'}
{/if}
{$level1Name = $level1.name|escape:'html':'UTF-8'}
{if $level1.name eq ''}
{$level1Name = $level1.class_name|escape:'html':'UTF-8'}
{/if}
{$level1Name = $level1.name|escape:'html':'UTF-8'}
{if $level1.name eq ''}
{$level1Name = $level1.class_name|escape:'html':'UTF-8'}
{/if}
{if $level1.icon != ''}
{if $level1.icon != ''}
<li class="link-levelone{if $level1.current} link-levelone-active{/if}" data-submenu="{$level1.id_tab}" id="tab-{$level1.class_name}">
<a href="{$level1Href}" class="link" >
<i class="material-icons">{$level1.icon}</i> <span>{$level1Name}</span>
</a>
</li>
<li class="link-levelone {if $level1.current}-active{/if}" data-submenu="{$level1.id_tab}" id="tab-{$level1.class_name}">
<a href="{$level1Href}" class="link" >
<i class="material-icons">{$level1.icon}</i> <span>{$level1Name}</span>
</a>
</li>
{else}
{else}
<li class="category-title{if $level1.current} link-active{/if}" data-submenu="{$level1.id_tab}" id="tab-{$level1.class_name}">
<span class="title">{$level1Name}</span>
</li>
<li class="category-title {if $level1.current}-active{/if}" data-submenu="{$level1.id_tab}" id="tab-{$level1.class_name}">
<span class="title">{$level1Name}</span>
</li>
{foreach $level1.sub_tabs as $level2}
{if $level2.active}
{foreach $level1.sub_tabs as $level2}
{if $level2.active}
{$level2Href = $level2.href|escape:'html':'UTF-8'}
{$level2Href = $level2.href|escape:'html':'UTF-8'}
{$level2Name = $level2.name|escape:'html':'UTF-8'}
{if $level2.name eq ''}
{$level2Name = $level2.class_name|escape:'html':'UTF-8'}
{/if}
{assign var="levelOneClass" value=''}
{$level2Name = $level2.name|escape:'html':'UTF-8'}
{if $level2.name eq ''}
{$level2Name = $level2.class_name|escape:'html':'UTF-8'}
{/if}
{assign var="levelOneClass" value=''}
{if $level2.current and not $collapse_menu}
{assign var="levelOneClass" value=" link-active open ul-open"}
{elseif $level2.current and $collapse_menu}
{assign var="levelOneClass" value=" link-active"}
{/if}
{if $level2.current and not $collapse_menu}
{assign var="levelOneClass" value=" -active open ul-open"}
{elseif $level2.current and $collapse_menu}
{assign var="levelOneClass" value=" -active"}
{/if}
<li class="link-levelone{if $level2.sub_tabs|@count} has_submenu{/if}{$levelOneClass}" data-submenu="{$level2.id_tab}" id="subtab-{$level2.class_name}">
<a href="{$level2Href}" class="link">
<i class="material-icons mi-{$level2.icon}">{$level2.icon}</i>
<span>
{$level2Name}
</span>
{if $level1.sub_tabs|@count}
<i class="material-icons sub-tabs-arrow">
{if $level2.current}
keyboard_arrow_up
{else}
keyboard_arrow_down
{/if}
</i>
{/if}
</a>
{if $level2.sub_tabs|@count}
<ul id="collapse-{$level2.id_tab}" class="submenu panel-collapse">
{foreach $level2.sub_tabs as $level3}
{if $level3.active}
<li class="link-levelone{if $level2.sub_tabs|@count} has_submenu{/if}{$levelOneClass}" data-submenu="{$level2.id_tab}" id="subtab-{$level2.class_name}">
<a href="{$level2Href}" class="link">
<i class="material-icons mi-{$level2.icon}">{$level2.icon}</i>
<span>
{$level2Name}
</span>
{if $level1.sub_tabs|@count}
<i class="material-icons sub-tabs-arrow">
{if $level2.current}
keyboard_arrow_up
{else}
keyboard_arrow_down
{$level3Href = $level3.href|escape:'html':'UTF-8'}
{$level3Name = $level3.name|escape:'html':'UTF-8'}
{if $level3.name eq ''}
{$level3Name = $level3.class_name|escape:'html':'UTF-8'}
{/if}
</i>
{/if}
</a>
{if $level2.sub_tabs|@count}
<ul id="collapse-{$level2.id_tab}" class="submenu panel-collapse">
{foreach $level2.sub_tabs as $level3}
{if $level3.active}
{$level3Href = $level3.href|escape:'html':'UTF-8'}
<li class="link-leveltwo{if $level3.current} link-active{/if}" data-submenu="{$level3.id_tab}" id="subtab-{$level3.class_name}">
<a href="{$level3Href}" class="link"> {$level3Name}
</a>
</li>
{$level3Name = $level3.name|escape:'html':'UTF-8'}
{if $level3.name eq ''}
{$level3Name = $level3.class_name|escape:'html':'UTF-8'}
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}
{/foreach}
<li class="link-leveltwo {if $level3.current}-active{/if}" data-submenu="{$level3.id_tab}" id="subtab-{$level3.class_name}">
<a href="{$level3Href}" class="link"> {$level3Name}
</a>
</li>
{/if}
{/foreach}
</ul>
{/if}
</li>
{/if}
{/foreach}
{/if}
{/if}
{/if}
{/foreach}
</ul>
{/foreach}
</ul>
</div>
{hook h='displayAdminNavBarBeforeEnd'}
</nav>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="non-responsive" class="js-non-responsive">
<h1>{l s='Oh no!'}</h1>
@@ -35,6 +35,6 @@
</p>
<a href="{$default_tab_link|escape:'html':'UTF-8'}" class="btn btn-primary py-1 mt-3">
<i class="material-icons">arrow_back</i>
{l s='Back'}
{l s='Back' d='Admin.Global'}
</a>
</div>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="notif" class="notification-center dropdown dropdown-clickable">
<button class="btn notification js-notification dropdown-toggle" data-toggle="dropdown">

View File

@@ -1,11 +1,11 @@
{* Quick access *}
<div class="dropdown quick-accesses">
<button class="btn btn-link btn-sm dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="quick_select">
{l s='Quick Access'}
{l s='Quick Access' d='Admin.Navigation.Header'}
</button>
<div class="dropdown-menu">
{foreach $quick_access as $quick}
<a class="dropdown-item{if $link->matchQuickLink({$quick.link})}{assign "matchQuickLink" $quick.id_quick_access} active{/if}"
<a class="dropdown-item quick-row-link{if $link->matchQuickLink({$quick.link})}{assign "matchQuickLink" $quick.id_quick_access} active{/if}"
href="{$quick.link|escape:'html':'UTF-8'}"
{if $quick.new_window} target="_blank"{/if}
data-item="{$quick.name}"
@@ -13,7 +13,7 @@
{/foreach}
<div class="dropdown-divider"></div>
{if isset($matchQuickLink)}
<a
<a id="quick-remove-link"
class="dropdown-item js-quick-link"
href="#"
data-method="remove"
@@ -22,14 +22,14 @@
data-icon="{$quick_access_current_link_icon}"
data-url="{$link->getQuickLink($smarty.server['REQUEST_URI']|escape:'javascript')}"
data-post-link="{$link->getAdminLink('AdminQuickAccesses')}"
data-prompt-text="{l s='Please name this shortcut:' js=1}"
data-prompt-text="{l s='Please name this shortcut:' js=1 d='Admin.Navigation.Header'}"
data-link="{$quick_access_current_link_name|truncate:32}"
>
<i class="material-icons">remove_circle_outline</i>
{l s='Remove from QuickAccess'}
{l s='Remove from Quick Access' d='Admin.Navigation.Header'}
</a>
{else}
<a
<a id="quick-add-link"
class="dropdown-item js-quick-link"
href="#"
data-rand="{1|rand:200}"
@@ -37,16 +37,16 @@
data-method="add"
data-url="{$link->getQuickLink($smarty.server['REQUEST_URI']|escape:'javascript')}"
data-post-link="{$link->getAdminLink('AdminQuickAccesses')}"
data-prompt-text="{l s='Please name this shortcut:' js=1}"
data-prompt-text="{l s='Please name this shortcut:' js=1 d='Admin.Navigation.Header'}"
data-link="{$quick_access_current_link_name|truncate:32}"
>
<i class="material-icons">add_circle</i>
{l s='Add current page to QuickAccess'}
{l s='Add current page to Quick Access' d='Admin.Actions'}
</a>
{/if}
<a class="dropdown-item" href="{$link->getAdminLink("AdminQuickAccesses")|addslashes}">
<a id="quick-manage-link" class="dropdown-item" href="{$link->getAdminLink("AdminQuickAccesses")|addslashes}">
<i class="material-icons">settings</i>
{l s='Manage quick accesses'}
{l s='Manage your quick accesses' d='Admin.Navigation.Header'}
</a>
</div>
</div>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<form id="header_search"
@@ -33,23 +33,23 @@
<a href="#" class="clear_search hide"><i class="icon-remove"></i></a>
{/if}
<div class="input-group">
<input type="text" class="form-control js-form-search" id="bo_query" name="bo_query" value="{$bo_query}" placeholder="{l s='Search (e.g.: product reference, customer name…)'}">
<input type="text" class="form-control js-form-search" id="bo_query" name="bo_query" value="{$bo_query}" placeholder="{l s='Search (e.g.: product reference, customer name…)' d='Admin.Navigation.Header'}" aria-label="{l s='Searchbar' d='Admin.Navigation.Header'}">
<div class="input-group-append">
<button type="button" class="btn btn-outline-secondary dropdown-toggle js-dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{l s='Everywhere'}
{l s='Everywhere' d='Admin.Navigation.Header'}
</button>
<div class="dropdown-menu js-items-list">
<a class="dropdown-item" data-item="{l s='Everywhere'}" href="#" data-value="0" data-placeholder="{l s='What are you looking for?'}" data-icon="icon-search"><i class="material-icons">search</i> {l s='Everywhere'}</a>
<a class="dropdown-item" data-item="{l s='Everywhere' d='Admin.Navigation.Header'}" href="#" data-value="0" data-placeholder="{l s='What are you looking for?' d='Admin.Navigation.Header'}" data-icon="icon-search"><i class="material-icons">search</i> {l s='Everywhere' d='Admin.Navigation.Header'}</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" data-item="{l s='Catalog'}" href="#" data-value="1" data-placeholder="{l s='Product name, SKU, reference...'}" data-icon="icon-book"><i class="material-icons">store_mall_directory</i> {l s='Catalog'}</a>
<a class="dropdown-item" data-item="{l s='Customers'} {l s='by name'}" href="#" data-value="2" data-placeholder="{l s='Email, name...'}" data-icon="icon-group"><i class="material-icons">group</i> {l s='Customers'} {l s='by name'}</a>
<a class="dropdown-item" data-item="{l s='Customers'} {l s='by ip address'}" href="#" data-value="6" data-placeholder="{l s='123.45.67.89'}" data-icon="icon-desktop"><i class="material-icons">desktop_mac</i> {l s='Customers'} {l s='by IP address'}</a>
<a class="dropdown-item" data-item="{l s='Orders'}" href="#" data-value="3" data-placeholder="{l s='Order ID'}" data-icon="icon-credit-card"><i class="material-icons">shopping_basket</i> {l s='Orders'}</a>
<a class="dropdown-item" data-item="{l s='Invoices'}" href="#" data-value="4" data-placeholder="{l s='Invoice Number'}" data-icon="icon-book"><i class="material-icons">book</i> {l s='Invoices'}</a>
<a class="dropdown-item" data-item="{l s='Carts'}" href="#" data-value="5" data-placeholder="{l s='Cart ID'}" data-icon="icon-shopping-cart"><i class="material-icons">shopping_cart</i> {l s='Carts'}</a>
<a class="dropdown-item" data-item="{l s='Modules'}" href="#" data-value="7" data-placeholder="{l s='Module name'}" data-icon="icon-puzzle-piece"><i class="material-icons">extension</i> {l s='Modules'}</a>
<a class="dropdown-item" data-item="{l s='Catalog' d='Admin.Global'}" href="#" data-value="1" data-placeholder="{l s='Product name, reference, etc.' d='Admin.Navigation.Header'}" data-icon="icon-book"><i class="material-icons">store_mall_directory</i> {l s='Catalog' d='Admin.Global'}</a>
<a class="dropdown-item" data-item="{l s='Customers' d='Admin.Navigation.Header'} {l s='by name'}" href="#" data-value="2" data-placeholder="{l s='Name' d='Admin.Navigation.Header'}" data-icon="icon-group"><i class="material-icons">group</i> {l s='Customers' d='Admin.Navigation.Header'} {l s='by name' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" data-item="{l s='Customers' d='Admin.Navigation.Header'} {l s='by ip address'}" href="#" data-value="6" data-placeholder="{l s='123.45.67.89' d='Admin.Navigation.Header'}" data-icon="icon-desktop"><i class="material-icons">desktop_mac</i> {l s='Customers' d='Admin.Navigation.Header'} {l s='by IP address' d='Admin.Navigation.Header'}</a>
<a class="dropdown-item" data-item="{l s='Orders' d='Admin.Global'}" href="#" data-value="3" data-placeholder="{l s='Order ID' d='Admin.Navigation.Header'}" data-icon="icon-credit-card"><i class="material-icons">shopping_basket</i> {l s='Orders' d='Admin.Global'}</a>
<a class="dropdown-item" data-item="{l s='Invoices' d='Admin.Global'}" href="#" data-value="4" data-placeholder="{l s='Invoice number' d='Admin.Navigation.Header'}" data-icon="icon-book"><i class="material-icons">book</i> {l s='Invoices' d='Admin.Global'}</a>
<a class="dropdown-item" data-item="{l s='Carts' d='Admin.Global'}" href="#" data-value="5" data-placeholder="{l s='Cart ID' d='Admin.Navigation.Header'}" data-icon="icon-shopping-cart"><i class="material-icons">shopping_cart</i> {l s='Carts' d='Admin.Global'}</a>
<a class="dropdown-item" data-item="{l s='Modules' d='Admin.Global'}" href="#" data-value="7" data-placeholder="{l s='Module name' d='Admin.Navigation.Header'}" data-icon="icon-puzzle-piece"><i class="material-icons">extension</i> {l s='Modules' d='Admin.Global'}</a>
</div>
<button class="btn btn-primary" type="submit"><span class="d-none">{l s='SEARCH'}</span><i class="material-icons">search</i></button>
<button class="btn btn-primary" type="submit"><span class="d-none">{l s='SEARCH' d='Admin.Navigation.Header'}</span><i class="material-icons">search</i></button>
</div>
</div>
</form>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($is_multishop)
&& $is_multishop
@@ -36,7 +36,7 @@
<span class="selected-item">
<i class="material-icons visibility">visibility</i>
{if !isset($current_shop_name) || $current_shop_name == ''}
{l s='All shops'}
{l s='All shops' d='Admin.Global'}
{else}
{$current_shop_name}
{/if}
@@ -51,7 +51,7 @@
<div class="shop-list">
<a class="link" id="header_shopname" href="{$base_url|escape:'html':'UTF-8'}" target= "_blank">
<i class="material-icons">visibility</i>
{l s='View my shop'}
<span>{l s='View my shop' d='Admin.Navigation.Header'}</span>
</a>
</div>
{/if}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,19 +16,18 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if count($warnings)}
<div class="bootstrap">
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{if count($warnings) > 1}
<h4>{l s='There are %d warnings:' sprintf=[count($warnings)]}</h4>
<h4>{l s='There are %d warnings.' sprintf=[count($warnings)] d='Admin.Notifications.Error'}</h4>
{/if}
<ul class="list-unstyled">
{foreach $warnings as $warning}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="modal-body">

View File

@@ -0,0 +1,39 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* 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 https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*}
{extends file='page_header_toolbar.tpl'}
{block name=pageTitle}
{if !isset($use_regular_h1_structure)}
{assign var="use_regular_h1_structure" value=true}
{/if}
{if $use_regular_h1_structure}
<h1 class="title">
{if is_array($title)}{$title|end|escape}{else}{$title|escape}{/if}
</h1>
{else}
{$title}
{/if}
{/block}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($php_errors) && $php_errors|@count}
<div class="bootstrap">
@@ -28,10 +28,10 @@
<div class="modal-dialog">
<div class="alert alert-danger clearfix">
{foreach $php_errors item=php_error}
{l s='%1$s on line %2$s in file %3$s' sprintf=[$php_error.type|escape, $php_error.errline|escape, $php_error.errfile|escape]}<br />
{l s='%1$s on line %2$s in file %3$s' sprintf=[$php_error.type|escape, $php_error.errline|escape, $php_error.errfile|escape] d='Admin.Notifications.Error'}<br />
[{$php_error.errno|escape}] {$php_error.errstr|escape}<br /><br />
{/foreach}
<button type="button" class="btn btn-default float-right" data-dismiss="modal"><i class="icon-remove"></i> Close</button>
<button type="button" class="btn btn-default float-right" data-dismiss="modal"><i class="icon-remove"></i> {l s='Close' d='Admin.Actions'}</button>
</div>
</div>
</div>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="footer" class="bootstrap">
{hook h="displayBackOfficeFooter"}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,15 +16,14 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75, user-scalable=0">
<meta name="viewport" content="width=device-width, initial-scale={(isset($viewport_scale)) ? $viewport_scale : '1'}">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="robots" content="NOFOLLOW, NOINDEX">
@@ -45,35 +45,37 @@
var youEditFieldFor = '';
{if isset($shop_context)}
{if $shop_context == Shop::CONTEXT_ALL}
youEditFieldFor = '{l s='This field will be modified for all your shops.' js=1}';
youEditFieldFor = '{l s='This field will be modified for all your shops.' js=1 d='Admin.Notifications.Info'}';
{elseif $shop_context == Shop::CONTEXT_GROUP}
youEditFieldFor = '{l s='This field will be modified for all shops in this shop group:' js=1} <b>{$shop_name|@addcslashes:'\''}</b>';
youEditFieldFor = '{l s='This field will be modified for all shops in this shop group:' js=1 d='Admin.Notifications.Info'} <b>{$shop_name|@addcslashes:'\''}</b>';
{else}
youEditFieldFor = '{l s='This field will be modified for this shop:' js=1} <b>{$shop_name|@addcslashes:'\''}</b>';
youEditFieldFor = '{l s='This field will be modified for this shop:' js=1 d='Admin.Notifications.Info'} <b>{$shop_name|@addcslashes:'\''}</b>';
{/if}
{/if}
var new_order_msg = '{l s='A new order has been placed on your shop.' js=1}';
var order_number_msg = '{l s='Order number:' js=1} ';
var total_msg = '{l s='Total:' js=1} ';
var from_msg = '{l s='From:' js=1} ';
var see_order_msg = '{l s='View this order' js=1}';
var new_customer_msg = '{l s='A new customer registered on your shop.' js=1}';
var customer_name_msg = '{l s='Customer name:' js=1} ';
var new_msg = '{l s='A new message was posted on your shop.' js=1}';
var see_msg = '{l s='Read this message' js=1}';
var new_order_msg = '{l s='A new order has been placed on your shop.' js=1 d='Admin.Navigation.Header'}';
var order_number_msg = '{l s='Order number:' js=1 d='Admin.Navigation.Header'} ';
var total_msg = '{l s='Total:' js=1 d='Admin.Global'} ';
var from_msg = '{l s='From:' js=1 d='Admin.Global'} ';
var see_order_msg = '{l s='View this order' js=1 d='Admin.Orderscustomers.Feature'}';
var new_customer_msg = '{l s='A new customer registered on your shop.' js=1 d='Admin.Navigation.Header'}';
var customer_name_msg = '{l s='Customer name:' js=1 d='Admin.Navigation.Header'} ';
var new_msg = '{l s='A new message was posted on your shop.' js=1 d='Admin.Navigation.Header'}';
var see_msg = '{l s='Read this message' js=1 d='Admin.Navigation.Header'}';
var token = '{$token|addslashes}';
var token_admin_orders = '{getAdminToken tab='AdminOrders'}';
var token_admin_orders = tokenAdminOrders = '{getAdminToken tab='AdminOrders'}';
var token_admin_customers = '{getAdminToken tab='AdminCustomers'}';
var token_admin_customer_threads = '{getAdminToken tab='AdminCustomerThreads'}';
var token_admin_customer_threads = tokenAdminCustomerThreads = '{getAdminToken tab='AdminCustomerThreads'}';
var currentIndex = '{$currentIndex|@addcslashes:'\''}';
var employee_token = '{getAdminToken tab='AdminEmployees'}';
var choose_language_translate = '{l s='Choose language' js=1}';
var choose_language_translate = '{l s='Choose language:' js=1 d='Admin.Actions'}';
var default_language = '{$default_language|intval}';
var admin_modules_link = '{$link->getAdminLink("AdminModulesSf", true, ['route' => "admin_module_catalog_post"])|addslashes}';
var admin_notification_get_link = '{$link->getAdminLink("AdminCommon")|addslashes}';
var admin_notification_push_link = adminNotificationPushLink = '{$link->getAdminLink("AdminCommon", true, ['route' => 'admin_common_notifications_ack'])|addslashes}';
var tab_modules_list = '{if isset($tab_modules_list) && $tab_modules_list}{$tab_modules_list|addslashes}{/if}';
var update_success_msg = '{l s='Update successful' js=1}';
var errorLogin = '{l s='PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.' js=1}';
var search_product_msg = '{l s='Search for a product' js=1}';
var update_success_msg = '{l s='Update successful' js=1 d='Admin.Notifications.Success'}';
var errorLogin = '{l s='PrestaShop was unable to log in to Addons. Please check your credentials and your Internet connection.' js=1 d='Admin.Notifications.Warning'}';
var search_product_msg = '{l s='Search for a product' js=1 d='Admin.Orderscustomers.Feature'}';
</script>
{/if}

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($href) && $href}
@@ -39,8 +39,10 @@
</div>
{/if}
<span class="title">{$title|escape}</span>
<span cLass="subtitle">{$subtitle|escape}</span>
<span class="value">{$value|escape|replace:'&amp;':'&'}</span>
<div class="kpi-description">
<div class="subtitle">{$subtitle|escape}</div>
<div class="value">{$value|escape|replace:'&amp;':'&'}</div>
</div>
</div>
{if isset($href) && $href}
</a>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="content container-fluid">
<div class="row">

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,17 +16,16 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{strip}
<ul class="items-list">
<li{if !isset($current_shop_value) || $current_shop_value == ''} class="active"{/if}>
<a class="dropdown-item" href="{$url|escape:'html':'UTF-8'}">{l s='All shops'}</a>
<a class="dropdown-item" href="{$url|escape:'html':'UTF-8'}">{l s='All shops' d='Admin.Global'}</a>
</li>
{foreach key=group_id item=group_data from=$tree}
{if !isset($multishop_context) || $is_group_context}
@@ -50,7 +50,7 @@
<i class="material-icons">&#xE869;</i>
</a>
{else}
<a class="link-shop" href="{$shop_data['uri']}" target="_blank">
<a class="link-shop" href="{$link->getBaseLink($shop_data['id_shop'])}" target="_blank">
<i class="material-icons">&#xE8F4;</i>
</a>
{/if}

View File

@@ -3,150 +3,136 @@
<head>
{$header}
</head>
<body class="lang-{$iso_user}{if $lang_is_rtl} lang-rtl{/if} {$smarty.get.controller|escape|strtolower}{if $collapse_menu} page-sidebar-closed{/if}">
{* TODO: REPLACE THIS CLASSS SOMEWHERE
{if $collapse_menu} page-sidebar-closed{/if}
*}
<body
class="lang-{$iso_user}{if $lang_is_rtl} lang-rtl{/if} {$smarty.get.controller|escape|strtolower}{if $collapse_menu} page-sidebar-closed{/if}{if isset($is_multishop) && $is_multishop} multishop-enabled{/if}{if isset($lite_display) && $lite_display} light_display_layout{/if}"
{if isset($js_router_metadata.base_url)}data-base-url="{$js_router_metadata.base_url}"{/if}
{if isset($js_router_metadata.token)}data-token="{$js_router_metadata.token}"{/if}
>
<header id="header">
<nav id="header_infos" class="main-header">
{if $display_header}
<header id="header" class="d-print-none">
<button class="btn btn-primary-reverse onclick btn-lg unbind ajax-spinner"></button>
<nav id="header_infos" class="main-header">
<button class="btn btn-primary-reverse onclick btn-lg unbind ajax-spinner"></button>
{* TODO: BUTTON USED FOR THE MOBILE VERSION TO REACTIVATE *}
{* TODO: TO REPLACE
<button id="header_nav_toggle" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-primary">
<i class="icon-reorder"></i>
</button>
*}
{* Logo *}
<i class="material-icons js-mobile-menu">menu</i>
<a id="header_logo" class="logo float-left" href="{$default_tab_link|escape:'html':'UTF-8'}"></a>
<span id="shop_version">{$ps_version}</span>
{* Logo *}
<i class="material-icons js-mobile-menu">menu</i>
<a id="header_logo" class="logo float-left" href="{$default_tab_link|escape:'html':'UTF-8'}"></a>
<span id="shop_version">{$ps_version}</span>
<div class="component" id="quick-access-container">
{include file="components/layout/quick_access.tpl"}
</div>
<div class="component" id="header-search-container">
{include file="components/layout/search_form.tpl"}
</div>
{if isset($debug_mode) && $debug_mode == true}
<div class="component hide-mobile-sm" id="header-debug-mode-container">
<a class="link shop-state"
id="debug-mode"
data-toggle="pstooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left'><strong>{l s='Your shop is in debug mode.'}</strong></p><p class='text-left'>{l s='All the PHP errors and messages are displayed. When you no longer need it, [1]turn off[/1] this mode.' html=true sprintf=['[1]' => '<strong>', '[/1]' => '</strong>']}</p>"
href="{$link->getAdminLink('AdminPerformance')|escape:'html':'UTF-8'}"
>
<i class="material-icons">bug_report</i>
<span>{l s='Debug mode'}</span>
</a>
<div class="component" id="quick-access-container">
{include file="components/layout/quick_access.tpl"}
</div>
{/if}
{if isset($maintenance_mode) && $maintenance_mode == true}
<div class="component hide-mobile-sm" id="header-maintenance-mode-container">
<a class="link shop-state"
id="maintenance-mode"
data-toggle="pstooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left'><strong>{l s='Your shop is in maintenance.'}</strong></p><p class='text-left'>{l s='Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Shop Parameters > Maintenance tab.' sprintf=['<br />']}</p>" href="{$link->getAdminLink('AdminMaintenance')|escape:'html':'UTF-8'}"
>
<i class="material-icons">build</i>
<span>{l s='Maintenance mode'}</span>
</a>
<div class="component" id="header-search-container">
{include file="components/layout/search_form.tpl"}
</div>
{/if}
<div class="component" id="header-shop-list-container">
{include file="components/layout/shop_list.tpl"}
</div>
{if $show_new_orders || $show_new_customers || $show_new_messages}
<div class="component header-right-component" id="header-notifications-container">
{include file="components/layout/notifications_center.tpl"}
</div>
{/if}
<div class="component" id="header-employee-container">
{include file="components/layout/employee_dropdown.tpl"}
</div>
{* TODO: REPLACE THE AJAX RUNNING SPINNER WITH THE ONE FROM THE UI KIT
<span id="ajax_running">
<i class="icon-refresh icon-spin icon-fw"></i>
</span>
*}
</nav>
{if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if}
</header>
{include file='components/layout/nav_bar.tpl'}
<div id="main-div">
{if $install_dir_exists}
<div class="alert alert-warning">
{l s='For security reasons, you must also delete the /install folder.'}
</div>
{else}
{if isset($page_header_toolbar)}{$page_header_toolbar}{/if}
{if isset($modal_module_list)}{$modal_module_list}{/if}
<div class="content-div {if !isset($page_header_toolbar)}-notoolbar{/if} {if $current_tab_level == 3}with-tabs{/if}">
{hook h='displayAdminAfterHeader'}
{* TODO: REPLACE THIS ELEMENT
{if isset($conf)}
<div class="bootstrap">
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{$conf}
</div>
{if isset($debug_mode) && $debug_mode == true}
<div class="component hide-mobile-sm" id="header-debug-mode-container">
<a class="link shop-state"
id="debug-mode"
data-toggle="pstooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left'><strong>{l s='Your shop is in debug mode.' d='Admin.Navigation.Notification'}</strong></p><p class='text-left'>{l s='All the PHP errors and messages are displayed. When you no longer need it, [1]turn off[/1] this mode.' html=true sprintf=['[1]' => '<strong>', '[/1]' => '</strong>'] d='Admin.Navigation.Notification'}</p>"
href="{$link->getAdminLink('AdminPerformance')|escape:'html':'UTF-8'}"
>
<i class="material-icons">bug_report</i>
<span>{l s='Debug mode' d='Admin.Navigation.Header'}</span>
</a>
</div>
{/if}
*}
{include file='components/layout/error_messages.tpl'}
{include file='components/layout/information_messages.tpl'}
{include file='components/layout/confirmation_messages.tpl'}
{include file='components/layout/warning_messages.tpl'}
<div class="row ">
<div class="col-sm-12">
{$page}
{hook h='displayAdminEndContent'}
{if isset($maintenance_mode) && $maintenance_mode == true}
<div class="component hide-mobile-sm" id="header-maintenance-mode-container">
<a class="link shop-state"
id="maintenance-mode"
data-toggle="pstooltip"
data-placement="bottom"
data-html="true"
title="<p class='text-left'><strong>{l s='Your shop is in maintenance.' d='Admin.Navigation.Notification'}</strong></p><p class='text-left'>{l s='Your visitors and customers cannot access your shop while in maintenance mode.%s To manage the maintenance settings, go to Shop Parameters > Maintenance tab.' sprintf=['<br />'] d='Admin.Navigation.Notification'}</p>" href="{$link->getAdminLink('AdminMaintenance')|escape:'html':'UTF-8'}"
>
<i class="material-icons">build</i>
<span>{l s='Maintenance mode' d='Admin.Navigation.Header'}</span>
</a>
</div>
{/if}
{if !isset($hideLegacyStoreContextSelector) || !$hideLegacyStoreContextSelector}
<div class="component" id="header-shop-list-container">
{include file="components/layout/shop_list.tpl"}
</div>
{/if}
{if $show_new_orders || $show_new_customers || $show_new_messages}
<div class="component header-right-component" id="header-notifications-container">
{include file="components/layout/notifications_center.tpl"}
</div>
{/if}
<div class="component" id="header-employee-container">
{include file="components/layout/employee_dropdown.tpl"}
</div>
{if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if}
</nav>
</header>
{/if}
</div>
{if $display_header}
{include file='components/layout/nav_bar.tpl'}
{/if}
{/if}
{if isset($page_header_toolbar)}{$page_header_toolbar}{/if}
<div id="main-div">
{if $install_dir_exists}
<div class="alert alert-warning">
{l s='For security reasons, you must also delete the /install folder.' d='Admin.Login.Notification'}
</div>
{else}
{if isset($modal_module_list)}{$modal_module_list}{/if}
<div class="{if $display_header}content-div{/if} {if !isset($page_header_toolbar)}-notoolbar{/if} {if $current_tab_level == 3}with-tabs{/if}">
{hook h='displayAdminAfterHeader'}
{if $display_header}
{include file='components/layout/error_messages.tpl'}
{include file='components/layout/information_messages.tpl'}
{include file='components/layout/confirmation_messages.tpl'}
{include file='components/layout/warning_messages.tpl'}
{/if}
<div class="row ">
<div class="col-sm-12">
{$page}
{hook h='displayAdminEndContent'}
</div>
</div>
</div>
{/if}
</div>
{include file='components/layout/non-responsive.tpl'}
<div class="mobile-layer"></div>
{if (!isset($lite_display) || (isset($lite_display) && !$lite_display))}
{include file='components/layout/non-responsive.tpl'}
<div class="mobile-layer"></div>
{* TODO: THIS FOOTER WILL BE REMOVED *}
{if $display_footer}
{include file='footer.tpl'}
{if $display_footer}
{include file='footer.tpl'}
{/if}
{/if}
{if isset($php_errors)}
{include file="error.tpl"}
{/if}
{if isset($modals)}
<div class="bootstrap">
{$modals}
</div>
{if (!isset($lite_display) || (isset($lite_display) && !$lite_display))}
{if isset($modals)}
<div class="bootstrap">
{$modals}
</div>
{/if}
{/if}
</body>

View File

@@ -1,10 +1,11 @@
{**
* 2007-2018 PrestaShop
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-3.0
* If you did not receive a copy of the license and are unable to
@@ -15,12 +16,11 @@
*
* 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.
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2018 PrestaShop SA
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="modal fade" id="{$modal_id}" tabindex="-1">
<div class="modal-dialog {if isset($modal_class)}{$modal_class}{/if}">
@@ -36,7 +36,7 @@
{if isset($modal_actions)}
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{l s='Close'}</button>
<button type="button" class="btn btn-default" data-dismiss="modal">{l s='Close' d='Admin.Actions'}</button>
{foreach $modal_actions as $action}
{if $action.type == 'link'}
<a href="{$action.href}" class="btn {$action.class}">{$action.label}</a>

View File

@@ -1,6 +1,7 @@
{* TODO: 1.7.0.0: RENAME THIS FILE AT THE NEXT RETROCOMPATIBILITY BREAK *}
<div class="header-toolbar">
<div class="header-toolbar d-print-none">
{$multistore_header}
<div class="container-fluid">
{block name=pageBreadcrumb}
@@ -34,7 +35,7 @@
{if $k != 'back' && $k != 'modules-list'}
{* TODO: REFACTOR ALL THIS THINGS *}
<a
class="btn btn-primary {if isset($btn.target) && $btn.target} _blank{/if} pointer"{if isset($btn.href)}
class="btn {if isset($btn.class) && $btn.class}{$btn.class|escape}{else}btn-primary{/if}{if isset($btn.target) && $btn.target} _blank{/if}{if isset($btn.disabled) && $btn.disabled} disabled auto-pointer-events{/if} pointer"{if isset($btn.href)}
id="page-header-desc-{$table}-{if isset($btn.imgclass)}{$btn.imgclass|escape}{else}{$k}{/if}"
href="{$btn.href|escape}"{/if}
title="{if isset($btn.help)}{$btn.help}{else}{$btn.desc|escape}{/if}"{if isset($btn.js) && $btn.js}
@@ -44,7 +45,7 @@
data-toggle="pstooltip"
data-placement="bottom"{/if}
>
<i class="material-icons">{$btn.icon}</i>
{if !empty($btn.icon)}<i class="material-icons">{$btn.icon}</i>{/if}
{$btn.desc|escape}
</a>
{/if}
@@ -66,22 +67,23 @@
{if $enableSidebar}
<a class="btn btn-outline-secondary btn-help btn-sidebar" href="#"
title="{l s='Help'}"
title="{l s='Help' d='Admin.Global'}"
data-toggle="sidebar"
data-target="#right-sidebar"
data-url="{$help_link|escape}"
id="product_form_open_help"
>
{l s='Help'}
{l s='Help' d='Admin.Global'}
</a>
{else}
<a class="btn btn-outline-secondary" href="{$help_link|escape}" title="{l s='Help'}">
{l s='Help'}
<a class="btn btn-outline-secondary btn-help" href="{$help_link|escape}" title="{l s='Help' d='Admin.Global'}">
{l s='Help' d='Admin.Global'}
</a>
{/if}
{/if}
</div>
</div>
{/block}
</div>
</div>
@@ -120,5 +122,51 @@
</ul>
</div>
{/if}
<div class="btn-floating">
<button class="btn btn-primary collapsed" data-toggle="collapse" data-target=".btn-floating-container" aria-expanded="false">
<i class="material-icons">add</i>
</button>
<div class="btn-floating-container collapse">
<div class="btn-floating-menu">
{hook h='displayDashboardToolbarTopMenu'}
{foreach from=$toolbar_btn item=btn key=k}
{if $k != 'back' && $k != 'modules-list'}
<a
class="btn btn-floating-item {if isset($btn.target) && $btn.target} _blank{/if} pointer"{if isset($btn.href)}
id="page-header-desc-floating-{$table}-{if isset($btn.imgclass)}{$btn.imgclass|escape}{else}{$k}{/if}"
href="{$btn.href|escape}"{/if}
title="{if isset($btn.help)}{$btn.help}{else}{$btn.desc|escape}{/if}"{if isset($btn.js) && $btn.js}
onclick="{$btn.js}"{/if}{if isset($btn.modal_target) && $btn.modal_target}
data-target="{$btn.modal_target}"
data-toggle="modal"{/if}{if isset($btn.help)}
data-toggle="pstooltip"
data-placement="bottom"{/if}
>
{$btn.desc|escape}
{if !empty($btn.icon)}<i class="material-icons">{$btn.icon}</i>{/if}
</a>
{/if}
{/foreach}
{if isset($help_link) and $help_link != false}
{if $enableSidebar}
<a class="btn btn-floating-item btn-help btn-sidebar" href="#"
title="{l s='Help' d='Admin.Global'}"
data-toggle="sidebar"
data-target="#right-sidebar"
data-url="{$help_link|escape}"
>
{l s='Help' d='Admin.Global'}
</a>
{else}
<a class="btn btn-floating-item btn-help" href="{$help_link|escape}" title="{l s='Help' d='Admin.Global'}">
{l s='Help' d='Admin.Global'}
</a>
{/if}
{/if}
</div>
</div>
</div>
{hook h='displayDashboardTop'}
</div>