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}