From e5d797bcbae5dd3cea069857a9306ccddda25cf6 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@git-test.afi-sa.fr>
Date: Mon, 10 Sep 2012 08:37:45 +0000
Subject: [PATCH] =?UTF-8?q?Le=20lien=20pour=20modifier=20la=20notice=20est?=
 =?UTF-8?q?=20cach=C3=A9=20en=20attendant=20la=20fin=20du=20dev=20sur=20le?=
 =?UTF-8?q?=20serveur=20de=20cache?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../modules/opac/views/scripts/recherche/viewnotice.phtml       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/modules/opac/views/scripts/recherche/viewnotice.phtml b/application/modules/opac/views/scripts/recherche/viewnotice.phtml
index 36d9eb0d3c8..b3dad585073 100644
--- a/application/modules/opac/views/scripts/recherche/viewnotice.phtml
+++ b/application/modules/opac/views/scripts/recherche/viewnotice.phtml
@@ -54,7 +54,7 @@ $notice_html=new Class_NoticeHtml($this->notice);
 					else 
 						echo printf('<img src="%s" width="100" border="0" alt="%s" /> ', $this->url_img["vignette"], $this->_('Vignette'));
 
-          if (Class_Users::isCurrentUserCanAccesBackend())
+          if (Class_Users::isCurrentUserCanAccesBackend() && defined('DEVELOPMENT'))
 						echo sprintf('<a href="#" onclick="showPopWin(\'%s\', 700, 200); return false;">%s</a>',
 												 $this->url(['module' => 'admin', 
 																		 'controller' => 'upload',
-- 
GitLab