From: vincent@cubedesigners.com Date: Fri, 3 Jun 2011 15:57:12 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=2abf4499be62faeb2452cadaf866dbbebeab8e1a;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 1e70e4bbb..b0b6ddc58 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -37,9 +37,7 @@ class wsUrl { cubePage::contextMenu(); $droits = wsDroits::getDroits(); - - fb(microtime(true)); - + commonDroits::min(1); $settings = is_null($settings) ? $core->user->getSettings('books') : $settings; $change = is_null($dashboard) ? 'Books' : 'Dashboard/' . $dashboard; @@ -58,8 +56,6 @@ class wsUrl { $res .= self::contextBookDownload($context_download_id); $res .= self::contextBookStatus($context_status_id); - fb(microtime(true)); - $res .= ''; $res .= ''; $res .= ''; @@ -89,8 +85,6 @@ class wsUrl { $btDel = cubeMedia::cssRollover($core->typo->Supprimer('suppr.', '', false)); } - fb(microtime(true)); - foreach ($liste as $id => $book) { $odd = cubeMath::isOdd($i) ? ' class="odd"' : ''; $res .= ''; @@ -141,8 +135,6 @@ class wsUrl { $i++; } - fb(microtime(true)); - if (!isset($settings['search']) || is_null($settings['search'])) { $odd = cubeMath::isOdd($i) ? ' class="odd"' : ''; $res .= '
' . commonUrl::orderby('#', 'book_id', $settings, 'sort' . $change) . '' . commonUrl::orderby(__('Titre de la publication'), 'nom', $settings, 'sort' . $change) . ''; @@ -292,8 +284,7 @@ class wsUrl { $tab = cubeLang::getTranslationsList(PLAYER_SOURCES, array('php', 'as'), array(), $lang->traductions); - fb($tab); - + $s->setCellValueByColumnAndRow(0, 1, 'ID', true); $s->setCellValueByColumnAndRow(1, 1, 'English', true); $s->setCellValueByColumnAndRow(2, 1, $lang_name, true); @@ -312,8 +303,6 @@ class wsUrl { $xls->setActiveSheetIndex(0); - //return; - ob_end_clean(); files::registerMimeTypes(array('xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet')); cubeHTTP::forceDownload('Fluidbook_' . $lang_name . '.xlsx', false);