From: vincent@cubedesigners.com Date: Tue, 14 Jun 2011 15:39:00 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=32aa2dc8af25a9b6a6490c5a80700b8415333592;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index e32ea8dce..975326533 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -73,7 +73,7 @@ class wsUrl { $res .= '' . commonUrl::orderby(__('Status'), 'status', $settings, 'sort' . $change) . ''; $res.='' . __('V') . ''; } - $res .= str_repeat('', $droits->creation ? 5 : 4); + $res .= str_repeat('', 5); $res .= ''; $i = 0; @@ -128,8 +128,10 @@ class wsUrl { } else { $res.=''; } - if ($droits->creation) { + if ($droits->creation && $book->status<0) { $res .= '' . $btDel . ''; + }else{ + $res.=''; } $res .= ''; $i++;