source: trunk/admin/inc/ckeditor/filemanager/tpl/tpl__javascript.php@ 239

Last change on this file since 239 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.5 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/index.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.support.chromeFrame = <?php echo (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), " chromeframe") !== false) ? "true" : "false" ?>;
15browser.support.zip = <?php echo (class_exists('ZipArchive') && !$this->config['denyZipDownload']) ? "true" : "false" ?>;
16browser.lang = "<?php echo text::jsValue($this->lang) ?>";
17browser.type = "<?php echo text::jsValue($this->type) ?>";
18browser.theme = "<?php echo text::jsValue($this->config['theme']) ?>";
19browser.readonly = <?php echo $this->config['readonly'] ? "true" : "false" ?>;
20browser.dir = "<?php echo text::jsValue($this->session['dir']) ?>";
21browser.uploadURL = "<?php echo text::jsValue($this->config['uploadURL']) ?>";
22browser.thumbsURL = browser.uploadURL + "/<?php echo text::jsValue($this->config['thumbsDir']) ?>";
23<?php IF (isset($this->get['opener']) && strlen($this->get['opener'])): ?>
24browser.opener.name = "<?php echo text::jsValue($this->get['opener']) ?>";
25<?php ENDIF ?>
26<?php IF (isset($this->opener['CKEditor']['funcNum']) && $this->opener['CKEditor']['funcNum']): ?>
27browser.opener.CKEditor = {};
28browser.opener.CKEditor.funcNum = <?php echo $this->opener['CKEditor']['funcNum'] ?>;
29<?php ENDIF ?>
30<?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
31browser.opener.TinyMCE = true;
32<?php ENDIF ?>
33_.kuki.domain = "<?php echo text::jsValue($this->config['cookieDomain']) ?>";
34_.kuki.path = "<?php echo text::jsValue($this->config['cookiePath']) ?>";
35_.kuki.prefix = "<?php echo text::jsValue($this->config['cookiePrefix']) ?>";
36$(document).ready(function() {
37 browser.resize();
38 browser.init();
39 $('#all').css('visibility', 'visible');
40});
41$(window).resize(browser.resize);
42</script>
Note: See TracBrowser for help on using the repository browser.