Fix: traduction is already assigned in 'langs'
This commit is contained in:
parent
8c8a824c44
commit
e8024562b8
@ -203,8 +203,6 @@ if ($resql)
|
||||
$picto='title.png';
|
||||
if (empty($conf->browser->firefox)) $picto='title.gif';
|
||||
$smarty->assign('title_picto', img_picto('',$picto));
|
||||
if ($_GET["canvas"] != 'default') $texte = $langs->trans('Books');
|
||||
$smarty->assign('title_text', $texte);
|
||||
|
||||
// Check if a custom template is present
|
||||
if (file_exists(DOL_DOCUMENT_ROOT . '/theme/'.$conf->theme.'/templates/product/'.$_GET["canvas"].'/liste.tpl'))
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
{$title_picto}
|
||||
</td>
|
||||
<td class="nobordernopadding" valign="middle">
|
||||
<div class="titre">{$title_text}</div>
|
||||
<div class="titre">{$langs->trans('Books')}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -35,10 +35,10 @@
|
||||
|
||||
<table class="liste" width="100%">
|
||||
<tr class="liste_titre">
|
||||
<td class="liste_titre">Case
|
||||
<td class="liste_titre">{$langs->trans('Case')}
|
||||
</td>
|
||||
|
||||
<td class="liste_titre" >Référence
|
||||
<td class="liste_titre">{$langs->trans('Ref')}
|
||||
<a href="liste.php?sortfield=p.ref&sortorder=asc&begin=&envente=&canvas=livre&fourn_id=&snom=&sref=">
|
||||
<img src="{$url_root}/theme/{$theme}/img/1downarrow.png" border="0" alt="A-Z" title="A-Z">
|
||||
</a>
|
||||
@ -47,7 +47,7 @@
|
||||
</a>
|
||||
</td>
|
||||
|
||||
<td class="liste_titre">Titre
|
||||
<td class="liste_titre">{$langs->trans('Title')}
|
||||
<a href="liste.php?sortfield=p.label&sortorder=asc&canvas=livre&fourn_id=&snom=&sref=">
|
||||
<img src="{$url_root}/theme/{$theme}/img/1downarrow.png" border="0" alt="A-Z" title="A-Z">
|
||||
</a>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user