function init() { var odfelement = document.getElementById("odf"), odfcanvas = new odf.OdfCanvas(odfelement); odfcanvas.load("'.$file_url_web.'"); createEditor(); } $(document).ready(function() { //createEditor(); window.setTimeout(init, 0); }); '; */ $htmlHeadXtra[] = ' '; } /* $interbreadcrumb[]=array("url"=>"./document.php?curdirpath=".urlencode($my_cur_dir_path).$req_gid, "name"=> get_lang('Documents')); // Interbreadcrumb for the current directory root path if (empty($document_data['parents'])) { $interbreadcrumb[] = array('url' => '#', 'name' => $document_data['title']); } else { foreach($document_data['parents'] as $document_sub_data) { if ($document_data['title'] == $document_sub_data['title']) { continue; } $interbreadcrumb[] = array('url' => $document_sub_data['document_url'], 'name' => $document_sub_data['title']); } } */ // echo Display::display_header(''); echo '
'; // echo ''; echo ''; Display::display_footer();