]> _ Git - cubeextranet.git/commitdiff
fix #4062 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 24 Nov 2020 17:18:28 +0000 (17:18 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 24 Nov 2020 17:18:28 +0000 (17:18 +0000)
inc/ws/Controlleur/class.ws.url.php

index 6a803d6d045a746993683fca3c818d32e673752c..08b54660f3244371c2eaf5aed69b4a8fd46c49e2 100644 (file)
@@ -154,7 +154,7 @@ class wsUrl
                     $types[] = 'scorm';
                 }
 
-                $res .= '<td class="bouton"><a href="/' . $defaultPlayer . '/' . $book->book_id . '_' . $book->hash . '/" class="openContextMenu voir btbook nwjs-contextmenu" data-type="' . implode(',', $types) . '" rel="' . $context_view_id . '" rev="' . $book->book_id . '§' . $book->hash . '§' . TIME . '">' . $btVoir . '</a></td>';
+                $res .= '<td class="bouton"><a href="/' . $defaultPlayer . '/' . $book->book_id . '_' . $book->hash . '/" class="openContextMenu voir btbook" data-type="' . implode(',', $types) . '" rel="' . $context_view_id . '" rev="' . $book->book_id . '§' . $book->hash . '§' . TIME . '">' . $btVoir . '</a></td>';
                 $res .= '<td class="bouton"><a class="popupFSBar edit btbook" rel="toolbar=yes" rev="editor_' . $book->book_id . '" href="' . SITE_PATH . 'editor/' . $book->book_id . '_' . $book->hash . '">' . $btEdit . '</a></td>';
             } else {
                 $res .= '<td></td><td></td>';
@@ -487,7 +487,6 @@ class wsUrl
             $btDel = '<div></div><span>' . __('suppr.') . '</span>';
         }
 
-
         $res = '<table class="liste">';
         $res .= '<tr><th>' . commonUrl::orderby('#', 'collection_id', $settings, 'sort' . $change) . '</th>';
         $res .= '<th>' . commonUrl::orderby(__('Nom de la collection'), 'nom', $settings, 'sort' . $change) . '</th>';
@@ -513,7 +512,6 @@ class wsUrl
             $res .= '<td class="bouton"><a href="/collection/' . $collection->collection_id . '" class="normallink edit btbook">' . $btEdit . '</a></td>';
             $res .= '<td class="bouton"><!--<a href="#" class="normallink download btbook">' . $btDownload . '</a>--></td>';
             $res .= '<td class="bouton"><!--<a href="#" class="normallink suppr btbook">' . $btDel . '</a>--></td>';
-
             $res .= '</tr>';
 
             $i++;