From bef971cacf0ee69586719222eca66fd3605eca9b Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sat, 19 Dec 2015 03:43:45 +0100
Subject: [PATCH] Fix ergonomy. Adding a new entry is done from left menu.

---
 htdocs/resource/list.php | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/htdocs/resource/list.php b/htdocs/resource/list.php
index 27eeb86d8d8..794db0149e2 100644
--- a/htdocs/resource/list.php
+++ b/htdocs/resource/list.php
@@ -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();
 
-- 
GitLab