From: vincent@cubedesigners.com Date: Wed, 27 Aug 2014 09:50:07 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=afb0c6951df5af16e97c8aa5f8a99f2d1c7c0a69;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 3138295ad..465b436f6 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -294,6 +294,7 @@ class wsUrl { $res.='

' . __('Contenus') . ' [' . $l . ']

'; $res.=''; $res.=''; + $res.=''; $res.=''; //'splash' => $res.=''; @@ -1689,6 +1690,7 @@ html{height:100%}' . "\n"; commonDroits::min(3); $settings = is_null($settings) ? $core->user->getSettings('clients_ws') : $settings; $change = is_null($dashboard) ? 'Client' : 'Dashboard/' . $dashboard; + $dao = new commonDAOEntreprise($core->con); if (isset($settings['search']) && !is_null($settings['search'])) { $dao->setSearch($settings['search']); diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index fd5a373d8..5967e78b9 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -46,11 +46,15 @@ class wsExporter { $phonegap->setNamespace($collection->settings['namespace']); $phonegap->setActivity($collection->settings['activity']); + $appNames = array(); + foreach ($compiler->langs as $l) { $src = $compiler->wdir . '/' . $collection->theme['splash_' . $l]; $phonegap->setSplash($src, $l); $phonegap->setIcon($compiler->wdir . '/' . $collection->theme['icon'], $l); + $appNames[$l] = $collection->contents[$l]['titrehome']; } + $phonegap->setAppName($appNames); $phonegap->setWWWDirectory($dir); if ($os == 'ios') { $phonegap->setDistantCompiler('paris.cubedesigners.com', 'vincent', 'iquique', '/Phonegap/Projects/' . $d, '/mnt/macbox/Phonegap/Projects/' . $d, 22022, SSH_KEY); @@ -59,6 +63,7 @@ class wsExporter { $phonegap->setManifest(WS_COMPILE_ASSETS . '/_html5app/_android/AndroidManifest' . $manifestType . '.xml'); $phonegap->setMain(WS_COMPILE_ASSETS . '/_html5app/_android/Main' . $manifestType . '.java'); $phonegap->setDistantCompiler('paris.cubedesigners.com', 'Vincent', 'iquique', 'h:/Phonegap/Projects/' . $d, '/mnt/vincent/cygdrive/h/Phonegap/Projects/' . $d, 22322, SSH_KEY); + $phonegap->setSourceVariables(array('background' => '0xff' . $collection->settings['couleurD'])); } $phonegap->setPreference('orientation', CubeIT_Mobile_Phonegap::ORIENTATION_PORTRAIT); $phonegap->setPreference('target-device', CubeIT_Mobile_Phonegap::TARGET_TABLET); diff --git a/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php b/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php index 7e2e287b6..d113e9891 100644 --- a/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php +++ b/inc/ws/Util/html5/app/class.ws.html5.app.compiler.php @@ -264,5 +264,3 @@ class wsHTML5AppCompiler { } } - -?>
' . __('Titre') . '' . form::field(array('contents[' . $l . '][titre]', 'contents_' . $l . '_titre'), 64, 64, $collection->contents[$l]['titre']) . '
' . __("Titre sur l'écran d'accueil") . '' . form::field(array('contents[' . $l . '][titrehome]', 'contents_' . $l . '_titrehome'), 64, 64, $collection->contents[$l]['titrehome']) . '
' . __('A propos') . '' . form::textarea(array('contents[' . $l . '][apropos]', 'contents_' . $l . '_apropos'), 60, 10, $collection->contents[$l]['apropos']) . '
' . __('Ecran de lancement') . ' (2048x2048px)' . form::hidden(array('theme[splash_' . $l . ']', 'splash_' . $l), $collection->theme['splash_' . $l]) . '