update
This commit is contained in:
@@ -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
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
@@ -136,13 +136,14 @@ $(function() {
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($orders) && $orders}
|
||||
{if isset($orders) && $orders &&
|
||||
isset($orderCount) && $orderCount}
|
||||
<div class="panel">
|
||||
<h3>
|
||||
{if $orders|@count == 1}
|
||||
{if $orderCount == 1}
|
||||
{l s='1 order' d='Admin.Navigation.Search'}
|
||||
{else}
|
||||
{l s='%d orders' sprintf=[$orders|@count] d='Admin.Navigation.Search'}
|
||||
{l s='%d orders' sprintf=[$orderCount] d='Admin.Navigation.Search'}
|
||||
{/if}
|
||||
</h3>
|
||||
{$orders}
|
||||
@@ -162,14 +163,14 @@ $(function() {
|
||||
<tbody>
|
||||
{foreach $addons key=key item=addon}
|
||||
<tr>
|
||||
<td><a href="{$addon.href|escape:'html':'UTF-8'}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" class="_blank"><strong><i class="icon-external-link-sign"></i> {$addon.title|escape:'html':'UTF-8'}</strong></a></td>
|
||||
<td><a href="{$addon.href|escape:'html':'UTF-8'}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" class="_blank">{if is_string($addon.description)}{$addon.description|truncate:256:'...'|escape:'html':'UTF-8'}{/if}</a></td>
|
||||
<td><a href="{$addon.href|escape:'html':'UTF-8'}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" target="_blank" rel="noopener noreferrer nofollow"><strong><i class="icon-external-link-sign"></i> {$addon.title|escape:'html':'UTF-8'}</strong></a></td>
|
||||
<td><a href="{$addon.href|escape:'html':'UTF-8'}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" target="_blank" rel="noopener noreferrer nofollow">{if is_string($addon.description)}{$addon.description|truncate:256:'...'|escape:'html':'UTF-8'}{/if}</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2" class="text-center"><a href="https://addons.prestashop.com/search.php?search_query={$query|urlencode}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" class="_blank"><strong>{l s='Show more results...' d='Admin.Navigation.Search'}</strong></a></td>
|
||||
<td colspan="2" class="text-center"><a href="https://addons.prestashop.com/search.php?search_query={$query|urlencode}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" target="_blank" rel="noopener noreferrer nofollow"><strong>{l s='Show more results...' d='Admin.Navigation.Search'}</strong></a></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
@@ -180,8 +181,8 @@ $(function() {
|
||||
<div class="row">
|
||||
<div class="col-lg-4">
|
||||
<div class="panel">
|
||||
<h3>{l s='Search doc.prestashop.com' d='Admin.Navigation.Search'}</h3>
|
||||
<a href="http://doc.prestashop.com/dosearchsite.action?spaceSearch=true&queryString={$query}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" class="btn btn-default _blank">{l s='Go to the documentation' d='Admin.Navigation.Search'}</a>
|
||||
<h3>{l s='Search docs.prestashop-project.org' d='Admin.Navigation.Search'}</h3>
|
||||
<a href="https://docs.prestashop-project.org/1.7-documentation?q={$query}&utm_source=back-office&utm_medium=search&utm_campaign=back-office-{$lang_iso|upper}&utm_content={if $host_mode}cloud{else}download{/if}" class="btn btn-default _blank">{l s='Go to the documentation' d='Admin.Navigation.Search'}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
|
||||
Reference in New Issue
Block a user