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">
|
---|
14 | browser.support.chromeFrame = <?php echo (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), " chromeframe") !== false) ? "true" : "false" ?>;
|
---|
15 | browser.support.zip = <?php echo (class_exists('ZipArchive') && !$this->config['denyZipDownload']) ? "true" : "false" ?>;
|
---|
16 | browser.lang = "<?php echo text::jsValue($this->lang) ?>";
|
---|
17 | browser.type = "<?php echo text::jsValue($this->type) ?>";
|
---|
18 | browser.theme = "<?php echo text::jsValue($this->config['theme']) ?>";
|
---|
19 | browser.readonly = <?php echo $this->config['readonly'] ? "true" : "false" ?>;
|
---|
20 | browser.dir = "<?php echo text::jsValue($this->session['dir']) ?>";
|
---|
21 | browser.uploadURL = "<?php echo text::jsValue($this->config['uploadURL']) ?>";
|
---|
22 | browser.thumbsURL = browser.uploadURL + "/<?php echo text::jsValue($this->config['thumbsDir']) ?>";
|
---|
23 | <?php IF (isset($this->get['opener']) && strlen($this->get['opener'])): ?>
|
---|
24 | browser.opener.name = "<?php echo text::jsValue($this->get['opener']) ?>";
|
---|
25 | <?php ENDIF ?>
|
---|
26 | <?php IF (isset($this->opener['CKEditor']['funcNum']) && $this->opener['CKEditor']['funcNum']): ?>
|
---|
27 | browser.opener.CKEditor = {};
|
---|
28 | browser.opener.CKEditor.funcNum = <?php echo $this->opener['CKEditor']['funcNum'] ?>;
|
---|
29 | <?php ENDIF ?>
|
---|
30 | <?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
|
---|
31 | browser.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>
|
---|