cubePage::contextMenu();\r
\r
$droits = wsDroits::getDroits();\r
-\r
- fb(microtime(true));\r
-\r
+ \r
commonDroits::min(1);\r
$settings = is_null($settings) ? $core->user->getSettings('books') : $settings;\r
$change = is_null($dashboard) ? 'Books' : 'Dashboard/' . $dashboard;\r
$res .= self::contextBookDownload($context_download_id);\r
$res .= self::contextBookStatus($context_status_id);\r
\r
- fb(microtime(true));\r
-\r
$res .= '<table class="liste">';\r
$res .= '<tr><th>' . commonUrl::orderby('#', 'book_id', $settings, 'sort' . $change) . '</th>';\r
$res .= '<th>' . commonUrl::orderby(__('Titre de la publication'), 'nom', $settings, 'sort' . $change) . '</th>';\r
$btDel = cubeMedia::cssRollover($core->typo->Supprimer('suppr.', '', false));\r
}\r
\r
- fb(microtime(true));\r
-\r
foreach ($liste as $id => $book) {\r
$odd = cubeMath::isOdd($i) ? ' class="odd"' : '';\r
$res .= '<tr' . $odd . '>';\r
$i++;\r
}\r
\r
- fb(microtime(true));\r
-\r
if (!isset($settings['search']) || is_null($settings['search'])) {\r
$odd = cubeMath::isOdd($i) ? ' class="odd"' : '';\r
$res .= '<tr' . $odd . '><td colspan="12">';\r
\r
\r
$tab = cubeLang::getTranslationsList(PLAYER_SOURCES, array('php', 'as'), array(), $lang->traductions);\r
- fb($tab);\r
-\r
+ \r
$s->setCellValueByColumnAndRow(0, 1, 'ID', true);\r
$s->setCellValueByColumnAndRow(1, 1, 'English', true);\r
$s->setCellValueByColumnAndRow(2, 1, $lang_name, true);\r
\r
$xls->setActiveSheetIndex(0);\r
\r
- //return;\r
-\r
ob_end_clean();\r
files::registerMimeTypes(array('xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'));\r
cubeHTTP::forceDownload('Fluidbook_' . $lang_name . '.xlsx', false);\r