Fix global_search translation

This commit is contained in:
Benjamin Renard 2019-06-03 21:03:09 +02:00
parent 46a8cfb51d
commit b3f208aa60
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ if(LSsession :: startLSsession()) {
$LSview_actions=array();
$LSview_actions['refresh'] = array (
'label' => 'Refresh',
'label' => _('Refresh'),
'url' => 'global_search.php?pattern='.urlencode($pattern).'&refresh=1',
'action' => 'refresh'
);

View file

@ -13,7 +13,7 @@
<ul class='LSview-actions LSview_search'>
{foreach from=$LSview_actions item=item}
{if is_array($item)}
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{img name=$item.action}' alt='{tr msg=$label}' title='{tr msg=label}' /> {tr msg=$item.label}</a></li>
<li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{img name=$item.action}' alt='{$item.label|escape:"htmlall"}' title='{$item.label|escape:"htmlall"}' /> {$item.label|escape:"htmlall"}</a></li>
{/if}
{/foreach}
</ul>