$resolution = $this->callArgs[2];\r
$local = (isset($this->callArgs[3])) ? $this->callArgs[3] : null;\r
\r
+ if ($id == 4) {\r
+ $resolution = 150;\r
+ }\r
+\r
$this->outputXML = false;\r
header('Content-type: application/json');\r
\r
$traductions[$r->lang_id] = json_decode($r->traductions);\r
}\r
\r
- $d = array('id' => $id, 'ns' => $ns, 'langs' => $langs, 'langnames' => $langsnames, 'time' => $version, 'datas' => $composition, 'couvertures' => $couvertures, 'traductions' => $traductions, 'contents' => $contents);\r
+ $d = array('id' => $id, 'res' => $resolution, 'ns' => $ns, 'langs' => $langs, 'langnames' => $langsnames, 'time' => $version, 'datas' => $composition, 'couvertures' => $couvertures, 'traductions' => $traductions, 'contents' => $contents);\r
$d = array_merge($d, $this->_getManifest($publications, '/fluidbook/collections/versions/' . $id . '/' . $version . '/' . $os, $books, $resolution));\r
\r
$dao = new wsDAOCollection($core->con);\r