source: trunk/admin/inc/ckeditor/filemanager/tpl/tpl_javascript.php@ 427

Last change on this file since 427 was 239, checked in by luc, 9 years ago

Admin: correzione visulaizzazione immissione dati spoglio per Chrome e Safari - Aggiornamento dell'editor da FCKeditor a CKeditor , accessibili anche a Chrome e Safari.

  • Property svn:executable set to *
File size: 2.8 KB
Line 
1<script src="js/jquery.js" type="text/javascript"></script>
2<script src="js/jquery.rightClick.js" type="text/javascript"></script>
3<script src="js/jquery.drag.js" type="text/javascript"></script>
4<script src="js/helper.js" type="text/javascript"></script>
5<script src="js/browser/joiner.php" type="text/javascript"></script>
6<script src="js_localize.php?lng=<?php echo $this->lang ?>" type="text/javascript"></script>
7<?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
8<script src="<?php echo $this->config['_tinyMCEPath'] ?>/tiny_mce_popup.js" type="text/javascript"></script>
9<?php ENDIF ?>
10<?php IF (file_exists("themes/{$this->config['theme']}/init.js")): ?>
11<script src="themes/<?php echo $this->config['theme'] ?>/init.js" type="text/javascript"></script>
12<?php ENDIF ?>
13<script type="text/javascript">
14browser.version = "<?php echo self::VERSION ?>";
15browser.support.chromeFrame = <?php echo (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), " chromeframe") !== false) ? "true" : "false" ?>;
16browser.support.zip = <?php echo (class_exists('ZipArchive') && !$this->config['denyZipDownload']) ? "true" : "false" ?>;
17browser.support.check4Update = <?php echo ((!isset($this->config['denyUpdateCheck']) || !$this->config['denyUpdateCheck']) && (ini_get("allow_url_fopen") || function_exists("http_get") || function_exists("curl_init") || function_exists('socket_create'))) ? "true" : "false" ?>;
18browser.lang = "<?php echo text::jsValue($this->lang) ?>";
19browser.type = "<?php echo text::jsValue($this->type) ?>";
20browser.theme = "<?php echo text::jsValue($this->config['theme']) ?>";
21browser.access = <?php echo json_encode($this->config['access']) ?>;
22browser.dir = "<?php echo text::jsValue($this->session['dir']) ?>";
23browser.uploadURL = "<?php echo text::jsValue($this->config['uploadURL']) ?>";
24browser.thumbsURL = browser.uploadURL + "/<?php echo text::jsValue($this->config['thumbsDir']) ?>";
25<?php IF (isset($this->get['opener']) && strlen($this->get['opener'])): ?>
26browser.opener.name = "<?php echo text::jsValue($this->get['opener']) ?>";
27<?php ENDIF ?>
28<?php IF (isset($this->opener['CKEditor']['funcNum']) && preg_match('/^\d+$/', $this->opener['CKEditor']['funcNum'])): ?>
29browser.opener.CKEditor = {};
30browser.opener.CKEditor.funcNum = <?php echo $this->opener['CKEditor']['funcNum'] ?>;
31<?php ENDIF ?>
32<?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
33browser.opener.TinyMCE = true;
34<?php ENDIF ?>
35browser.cms = "<?php echo text::jsValue($this->cms) ?>";
36_.kuki.domain = "<?php echo text::jsValue($this->config['cookieDomain']) ?>";
37_.kuki.path = "<?php echo text::jsValue($this->config['cookiePath']) ?>";
38_.kuki.prefix = "<?php echo text::jsValue($this->config['cookiePrefix']) ?>";
39$(document).ready(function() {
40 browser.resize();
41 browser.init();
42 $('#all').css('visibility', 'visible');
43});
44$(window).resize(browser.resize);
45</script>
Note: See TracBrowser for help on using the repository browser.