Experimental: smarty template
This commit is contained in:
parent
53acecbf76
commit
ed55bd35f0
@ -21,10 +21,13 @@
|
||||
|
||||
<!-- BEGIN SMARTY TEMPLATE -->
|
||||
|
||||
<table width="100%" border="0" class="notopnoleftnoright">
|
||||
<table width="100%" border="0" class="notopnoleftnoright" style="margin-bottom: 2px;">
|
||||
<tr>
|
||||
<td class="notopnoleftnoright" valign="middle">
|
||||
<div class="titre">Liste des Livres</div>
|
||||
<td class="nobordernopadding" width="40" align="left" valign="middle">
|
||||
{$title_picto}
|
||||
</td>
|
||||
<td class="nobordernopadding" valign="middle">
|
||||
<div class="titre">{$title_text}</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@ -202,6 +202,11 @@ if ($resql)
|
||||
$smarty->assign('url_root', $dolibarr_main_url_root);
|
||||
$smarty->assign('theme', $conf->theme);
|
||||
$smarty->assign('langs', $langs);
|
||||
$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);
|
||||
$smarty->display('product/canvas/'.$_GET["canvas"].'/liste.tpl');
|
||||
}
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user