define('CONVERTER_PATH', ROOT . '/fluidbook/tools/');\r
define('MXMLC_PATH', 'C:\Program Files\Adobe\Flex SDK\bin\mxmlc.exe');\r
define('FTPROOT', '/');\r
+ define('FLUIDBOOK_SOURCES', 'C:\Users\Vincent\Documents\Works\fluidbook3d\_src');\r
} else {\r
// Définition des variables dans l'environnement de production\r
define('DB_HOST', 'localhost');\r
define('WS_THEMES', WS_FILES . '/themes');\r
define('WS_CACHE', WS_FILES . '/cache');\r
define('WS_COMPILE_ASSETS', WS_FILES . '/compile');\r
+define('WS_L10N',WS_FILES.'/l10n');\r
// define('MINIMIZE_JS', false);\r
define('WORKER_PREFIX', 'worker.');\r
\r
define('TYPOGRAPHP_PATH', ROOT . '/typo/' . MODE);\r
define('TYPOGRAPHP_WEBROOT', IMG . '/typographp');\r
\r
-define('MINIMIZE_JS',false);\r
+define('MINIMIZE_JS', false);\r
\r
define('JOURNEE', 8);\r
define('TAUX_JOURNALIER', 500);\r
// $f = $book->facturable;\r
$res .= '<td>' ./* $f .*/ '</td>';\r
$res .= '<td>' . $core->books_status[$book->status] . '</td>';\r
- $res .= '<td class="bouton"><a class="popupFS" rev="viewer_'.$book->book_id.'" href="' . SITE_PATH . 'viewer/' . $book->book_id . '_' . $book->hash . '/">' . $btVoir . '</a></td>';\r
- $res .= '<td class="bouton"><a class="popupFS" rev="editor_'.$book->book_id.'" href="' . SITE_PATH . 'editor/' . $book->book_id . '">' . $btEdit . '</a></td>';\r
+ $res .= '<td class="bouton"><a class="popupFS" rev="viewer_' . $book->book_id . '" href="' . SITE_PATH . 'viewer/' . $book->book_id . '_' . $book->hash . '/">' . $btVoir . '</a></td>';\r
+ $res .= '<td class="bouton"><a class="popupFS" rev="editor_' . $book->book_id . '" href="' . SITE_PATH . 'editor/' . $book->book_id . '">' . $btEdit . '</a></td>';\r
$res .= '<td class="bouton"><a href="' . SITE_PATH . 'stats/' . $book->book_id . '">' . $btStats . '</a></td>';\r
$res .= '<td class="bouton"><a href="' . SITE_PATH . 'supprimebook/' . $book->book_id . '">' . $btDownload . '</a></td>';\r
$res .= '<td class="bouton"><a href="#" rel="supprimeBook/' . $book->book_id . '" class="ajax" title="' . __('Êtes-vous certain de vouloir supprimer cette publication ?') . '">' . $btDel . '</a></td>';\r
return $res;\r
}\r
\r
+ public static function traductions($args)\r
+ {\r
+ global $core;\r
+ $res = extranetPage::barre();\r
+ $res .= extranetPage::tMain(null, true);\r
+ $res .= extranetPage::bh();\r
+ $res .= cubeLang::translationForm(FLUIDBOOK_SOURCES, 'fr' , WS_L10N);\r
+ $res .= extranetPage::bf();\r
+ $res .= extranetPage::bMain();\r
+ return $res;\r
+ }\r
+\r
public static function editor($args)\r
{\r
global $core;\r
}\r
\r
$dao = new wsDAOBook($core->con);\r
- $book_id=$e[0];\r
+ $book_id = $e[0];\r
$book = $dao->selectById($book_id);\r
if ($book->hash != $e[1]) {\r
http::head(401);\r
}\r
\r
$res .= '</head>';\r
- $res .= '<body style="background-color:#'.$theme->parametres->loadingBackColor.'" onload="this.focus();">';\r
+ $res .= '<body style="background-color:#' . $theme->parametres->loadingBackColor . '" onload="this.focus();">';\r
fb($theme);\r
- $res .= cubeMedia::flash2('index.swf', '100%', '100%', $fv, 'fluidbook', '', 10, '#'.$theme->parametres->loadingBackColor, '', 'true', 'noscale', 'gpu', array('allowScriptAccess' => 'always'));\r
+ $res .= cubeMedia::flash2('index.swf', '100%', '100%', $fv, 'fluidbook', '', 10, '#' . $theme->parametres->loadingBackColor, '', 'true', 'noscale', 'gpu', array('allowScriptAccess' => 'always'));\r
\r
$gacodes = array(GA);\r
if ($book->parametres->googleAnalytics != '') {\r
$gacodes[] = $book->parametres->googleAnalytics;\r
}\r
-\r
- //$res .= cubePage::googleAnalytics($gacodes, false);\r
-\r
+ // $res .= cubePage::googleAnalytics($gacodes, false);\r
$res .= '</body>';\r
$res .= '</html>';\r
\r