]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 21 May 2013 11:38:41 +0000 (11:38 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 21 May 2013 11:38:41 +0000 (11:38 +0000)
inc/ws/Util/packager/class.ws.packager.phonegap.php

index 7067690958ec3050f025cb965f55ff5bcaab6d50..0dffa2227ce3114adf3d6c333107c2167662a6f9 100644 (file)
@@ -70,7 +70,7 @@ class wsPackagerPhonegap extends wsPackager {
                        $views[] = array('orientation' => $orientation, 'url' => $url);
                }
 
-               $baseUrl = 'http://workshop.fluidbook.com/viewerh/' . $this->book->book_id . '_' . $this->book->hash . '_' . $this->book->compilehtml5date . '/index.html?s=1#';
+               $baseUrl = 'http://workshop.fluidbook.com/viewerh/' . $this->book->book_id . '_' . $this->book->hash . '_' . TIME . '/index.html?s=1#';
 
 
                foreach ($resolutions as $n => $res) {
@@ -151,7 +151,7 @@ class wsPackagerPhonegap extends wsPackager {
 
        protected function makeIOSResources($resources) {
                $splashs = array('320x480' => 'Default~iphone', '640x960' => 'Default@2x~iphone', '1024x748' => 'Default-Landscape~ipad', '768x1004' => 'Default-Portrait~ipad', '2048x1496' => 'Default-Landscape@2x~ipad', '1536x2008' => 'Default-Portrait@2x~ipad', '640x1136' => 'Default-568h@2x~iphone');
-               $icons = array(57 => 'icon', 72 => 'icon-72', 114 => 'icon@2x', 144 => 'icon-72@2x');
+               $icons = array(57 => 'icon', 72 => 'icon-72', 114 => 'icon@2x', 144 => 'icon-72@2x', 1024 => 'store');
 
                if (!file_exists($resources . '/splash')) {
                        mkdir($resources . '/splash', 0777, true);
@@ -181,8 +181,8 @@ class wsPackagerPhonegap extends wsPackager {
                        $im2 = imagecreatefromfile($this->themeRoot . '/' . $this->theme->parametres->logoLoader);
                        $lw = imagesx($im2);
                        $lh = imagesy($im2);
-                       imagealphablending($im,true);
-                       imagealphablending($im2,true);
+                       imagealphablending($im, true);
+                       imagealphablending($im2, true);
                        imagecopy($im, $im2, ($width - $lw) / 2, ($height - $lh) / 2, 0, 0, $lw, $lh);
                        imagedestroy($im2);
                }