]> _ Git - cubeextranet.git/commitdiff
done #692 @1
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 9 Sep 2016 13:13:52 +0000 (13:13 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 9 Sep 2016 13:13:52 +0000 (13:13 +0000)
inc/ws/Controlleur/class.ws.flash.php
inc/ws/Util/class.ws.exporter.php
inc/ws/Util/packager/class.ws.packager.html.php

index 5abd570ab0b925be71a6d80d1618403160af244b..c561de12b99e924e123da23339d7bba6c938ecae 100644 (file)
@@ -623,6 +623,16 @@ class wsFlash extends cubeFlashGateway {
                $this->xml->addChild('ok', $res ? '1' : '0');
        }
 
+       public function getMetadata() {
+               global $core;
+
+               $dao = new wsDAOBook($core->con);
+               $book = $dao->selectById($this->args['book_id']);
+
+               $this->xml->addChild('title', htmlspecialchars($book->nom));
+               $this->xml->addChild('date', $book->changedate);
+       }
+
        public function getBookInfos() {
                global $core;
                $dao = new wsDAOBook($core->con);
index c451e6293c6ebbb51fc533a70fe80c177d778d42..0d9fc55f93e760af73c146d7bd4245c62ebd499a 100644 (file)
@@ -42,7 +42,7 @@ class wsExporter {
                $phonegap = CubeIT_Mobile_Phonegap::create($os);
                $phonegap->setName($collection->nom);
                $phonegap->setId($collection->settings['namespace']);
-               $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'http://www.fluidbook.com');
+               $phonegap->setAuthor('Fluidbook', 'contact@fluidbook.com', 'https://www.fluidbook.com');
                $phonegap->setVersion($collection->settings['version']);
                $phonegap->setBuild($collection->settings['build']);
                if ($os == 'android') {
@@ -326,7 +326,7 @@ class wsExporter {
                if ($this->action == 'references') {
                        //$root = 'fluidbook@www.fluidbook.com:/home/fluidbook/www/references/';
                        $root = '/mnt/sshfs/fluidbook/www/references/';
-                       $rootURL = 'http://www.fluidbook.com/references/';
+                       $rootURL = 'https://www.fluidbook.com/references/';
                } else if ($this->action == 'hosting') {
                        //$root = 'fluidbook@hosting.fluidbook.com:/home/fluidbook/hosting/';
                        $root = '/mnt/sshfs/fluidbook/hosting/';
index b6cef2c18fce9c12ecfbf62b8a54d91c7d7e1009..5774d2500b168084445941ff7d0ea116315a0016 100644 (file)
@@ -356,7 +356,7 @@ class wsPackagerHTML extends wsPackager {
 
        protected function makeHTMLFooter() {
                $res = '<footer>';
-               $res .= '<h2><a href="http://www.fluidbook.com">Fluidbook : Solution de catalogues interactifs et brochures en ligne</a></h2>';
+               $res .= '<h2><a href="https://www.fluidbook.com">Fluidbook : Solution de catalogues interactifs et brochures en ligne</a></h2>';
                $res .= '</footer>';
                return $res;
        }