<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\r
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="$lang" lang="$lang">\r
-<head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta http-equiv="Cache-Control" content="max-age=0" />\r
-<meta http-equiv="Cache-Control" content="no-cache" />\r
-<meta http-equiv="Expires" content="0" />\r
-<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />\r
-<meta http-equiv="Pragma" content="no-cache" />\r
-$favicon\r
-$robots\r
-$facebook\r
-<title>$title</title>\r
-<link href="style.css?junk=$junk" rel="stylesheet" type="text/css" />\r
-<script type="text/javascript" src="fluidbook.js?junk=$junk"></script>\r
-<script type="text/javascript">FB_DEFAULT_LANG='$lang';</script>\r
-$redirectScript\r
-</head>\r
-<body style="background-color:#$bgcolor" onload="this.focus();">\r
-<div id="fluidbook">\r
-<div style="padding:20px;text-align:center;"><a href="http://get.adobe.com/flashplayer/" target="_blank"><img style="border:0;" src="$pathToGetflash" alt="" width="734" height="409" /></a></div>\r
-<div style="padding:20px;">$alt</div>\r
-</div>\r
-<script type="text/javascript">\r
-if(isMobile()){\r
- $redirectMobile\r
-}else{\r
- swfobject.embedSWF("$pathToIndex?junk=$junk", "fluidbook", "100%", "100%", "10.0.22","", getFlashvars($junk), {"allowScriptAccess":"always","quality":"high","scale":"noscale","wmode":getWmode(),"allowFullScreen":"true"},{"bgcolor":"#$bgcolor"});\r
-}\r
-</script>\r
-$ga\r
-</body>\r
+ <head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+ <meta http-equiv="Cache-Control" content="max-age=0" />\r
+ <meta http-equiv="Cache-Control" content="no-cache" />\r
+ <meta http-equiv="Expires" content="0" />\r
+ <meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />\r
+ <meta http-equiv="Pragma" content="no-cache" />\r
+ <meta http-equiv="X-UA-Compatible" content="IE=9" />\r
+ $favicon\r
+ $robots\r
+ $facebook\r
+ <title>$title</title>\r
+ <link href="style.css?junk=$junk" rel="stylesheet" type="text/css" />\r
+ <script type="text/javascript" src="fluidbook.js?junk=$junk"></script>\r
+ <script type="text/javascript">FB_DEFAULT_LANG='$lang';</script>\r
+ $redirectScript\r
+ </head>\r
+ <body style="background-color:#$bgcolor" onload="this.focus();">\r
+ <div id="fluidbook">\r
+ <div style="padding:20px;text-align:center;"><a href="http://get.adobe.com/flashplayer/" target="_blank"><img style="border:0;" src="$pathToGetflash" alt="" width="734" height="409" /></a></div>\r
+ <div style="padding:20px;">$alt</div>\r
+ </div>\r
+ <script type="text/javascript">\r
+ if(isMobile()){\r
+ $redirectMobile\r
+ }else{\r
+ swfobject.embedSWF("$pathToIndex?junk=$junk", "fluidbook", "100%", "100%", "10.0.22","", getFlashvars($junk), {"allowScriptAccess":"always","quality":"high","scale":"noscale","wmode":getWmode(),"allowFullScreen":"true"},{"bgcolor":"#$bgcolor"});\r
+ }\r
+ </script>\r
+ $ga\r
+ </body>\r
</html>
\ No newline at end of file
$this->makeTextsIndexes($book, $pages, $index, $textes);\r
$daoDoc->getLinksAndRulers($book_id, $links, $rulers);\r
\r
-\r
$imagesassets = array();\r
$id = 1;\r
foreach ($links as $id => $link) {\r
$allTraductions[$lang->lang_id] = $lang->traductions;\r
}\r
\r
- $flex->addVariable('traductions', $traductions, false, true, 'JSONObject');\r
+ $flex->addVariable('traductions', $traductions, false, true, 'JSONObject', false);\r
$flex->addVariable('allTraductions', $allTraductions, false, true, 'JSONObject');\r
$flex->addVariable('chapters', $book->chapters, false, true, 'JSONObject');\r
$flex->addVariable('extras', '<extras>' . $book->extras . '</extras>', false, true, 'XML');\r
$flexLight->addVariable('fwidth', round($size[0], 4), false, true, 'Number');\r
$flexLight->addVariable('fheight', round($size[1], 4), false, true, 'Number');\r
$flexLight->addVariable('pagesInDatas', $complete, false, true, 'Boolean');\r
- $flex->addVariable('index', $index, false, true, 'JSONObject');\r
- $flex->addVariable('textes', $textes, false, true, 'JSONObject');\r
+ $flex->addVariable('index', $index, false, true, 'JSONObject', false,false);\r
+ $flex->addVariable('textes', $textes, false, true, 'JSONObject', false,false);\r
\r
$rasterized = array();\r
$sizes = array();\r