public static function getTranslationSources()
{
- return array(__('Version HTML5') => WS_COMPILE_ASSETS . '/player/local', __('Compilateur HTML5') => ROOT . '/inc/ws/Util/html5', __('Application') => WS_COMPILE_ASSETS . '/_html5app');
+ return array(__('Version HTML5') => WS_COMPILE_ASSETS . '/player/local', __('Version HTML5 GIT') => WS_COMPILE_ASSETS . '/player/branches', __('Compilateur HTML5') => ROOT . '/inc/ws/Util/html5', __('Application') => WS_COMPILE_ASSETS . '/_html5app');
}
public static function exportLangAsExcel($args)
public static function loadingCompile($url, $book, $theme)
{
+
+ $tcolor = $theme->parametres->couleurL;
+ if ($tcolor == $theme->parametres->backgroundColor) {
+ $tcolor = $theme->parametres->loadingSecColor;
+ }
$res = '<html>';
$res .= '<head>';
$res .= '<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">';
}
*{margin:0;padding:0;}
html,body{height:100%;cursor: wait;font-family: "Open Sans", Arial;background-color:#' . $theme->parametres->backgroundColor . ';}';
- $res .= 'h2,h3{text-align:center;color:#' . $theme->parametres->couleurL . ';font-weight:400;position:relative;top:55%;}';
+ $res .= 'h2,h3{text-align:center;color:#' . $tcolor . ';font-weight:400;position:relative;top:55%;}';
$res .= 'h2{font-size:16px;}';
$res .= 'h3{font-size:10px;}';
$res .= 'svg{position:absolute;top:calc(50% - 24px);left:calc(50% - 24px);