Skip to content
Snippets Groups Projects
Commit bef971ca authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix ergonomy. Adding a new entry is done from left menu.

parent b1051c73
No related branches found
No related tags found
No related merge requests found
......@@ -149,27 +149,6 @@ else
}
/*
* Boutons actions
*/
print '<div class="tabsAction">';
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtons', $parameters, $object, $action); // Note that $action and $object may have been
// modified by hook
if (empty($reshook))
{
if ($action != "edit" )
{
// Edit resource
if($user->rights->resource->write)
{
print '<div class="inline-block divButAction">';
print '<a href="add.php" class="butAction">'.$langs->trans('AddResource').'</a>';
print '</div>';
}
}
}
print '</div>';
llxFooter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment