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:
parent
0fc90979de
commit
9a4e2061d9
@ -59,7 +59,10 @@ class box_bookmarks extends ModeleBoxes {
|
|||||||
global $user, $langs, $db;
|
global $user, $langs, $db;
|
||||||
$langs->load("boxes");
|
$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)
|
if ($user->rights->bookmark->lire)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user