New: Les boites peuvent avoir un lien sur la ligne de titre.

New: La boite bookmark ajoute un lien "Nouveau bookmark" sur sa ligne de titre.
This commit is contained in:
Laurent Destailleur 2005-09-17 14:14:41 +00:00
parent 0fc90979de
commit 9a4e2061d9

View File

@ -59,7 +59,10 @@ class box_bookmarks extends ModeleBoxes {
global $user, $langs, $db;
$langs->load("boxes");
$this->info_box_head = array('text' => $langs->trans("BoxMyLastBookmarks",$max));
$this->info_box_head = array('text' => $langs->trans("BoxMyLastBookmarks",$max),
'sublink' => DOL_URL_ROOT.'/bookmarks/fiche.php?action=create',
'subpicto' => 'object_bookmark',
'subtext' => $langs->trans("NewBookmark"));
if ($user->rights->bookmark->lire)
{