From: vincent@cubedesigners.com Date: Fri, 9 Sep 2016 13:13:52 +0000 (+0000) Subject: done #692 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=06539224b564b7be0893c53d9a7cb398450f5eb9;p=cubeextranet.git done #692 @1 --- diff --git a/inc/ws/Controlleur/class.ws.flash.php b/inc/ws/Controlleur/class.ws.flash.php index 5abd570ab..c561de12b 100644 --- a/inc/ws/Controlleur/class.ws.flash.php +++ b/inc/ws/Controlleur/class.ws.flash.php @@ -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); diff --git a/inc/ws/Util/class.ws.exporter.php b/inc/ws/Util/class.ws.exporter.php index c451e6293..0d9fc55f9 100644 --- a/inc/ws/Util/class.ws.exporter.php +++ b/inc/ws/Util/class.ws.exporter.php @@ -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/'; diff --git a/inc/ws/Util/packager/class.ws.packager.html.php b/inc/ws/Util/packager/class.ws.packager.html.php index b6cef2c18..5774d2500 100644 --- a/inc/ws/Util/packager/class.ws.packager.html.php +++ b/inc/ws/Util/packager/class.ws.packager.html.php @@ -356,7 +356,7 @@ class wsPackagerHTML extends wsPackager { protected function makeHTMLFooter() { $res = ''; return $res; }