Completed
Pull Request — develop (#740)
by Maxim
08:32
created
manager/media/browser/mcpuk/tpl/tpl_javascript.php 1 patch
Upper-Lower-Casing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -7,12 +7,12 @@  discard block
 block discarded – undo
7 7
 <script src="js/FileAPI/FileAPI.exif.js" type="text/javascript"></script>
8 8
 <script src="js/browser/joiner.php" type="text/javascript"></script>
9 9
 <script src="js_localize.php?lng=<?php echo $this->lang ?>" type="text/javascript"></script>
10
-<?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
10
+<?php if (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
11 11
 <script src="<?php echo $this->config['_tinyMCEPath'] ?>/tiny_mce_popup.js" type="text/javascript"></script>
12
-<?php ENDIF ?>
13
-<?php IF (file_exists("themes/{$this->config['theme']}/init.js")): ?>
12
+<?php endif ?>
13
+<?php if (file_exists("themes/{$this->config['theme']}/init.js")): ?>
14 14
 <script src="themes/<?php echo $this->config['theme'] ?>/init.js" type="text/javascript"></script>
15
-<?php ENDIF ?>
15
+<?php endif ?>
16 16
 <script type="text/javascript">
17 17
 browser.version = "<?php echo self::VERSION ?>";
18 18
 browser.support.chromeFrame = <?php echo (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), " chromeframe") !== false) ? "true" : "false" ?>;
@@ -29,19 +29,19 @@  discard block
 block discarded – undo
29 29
 browser.allowedExts = /<?php echo str_replace(' ', '|', strtolower(text::clearWhitespaces($this->types[$this->type]))) ?>$/;
30 30
 browser.deniedExts = /<?php echo str_replace(' ', '|', strtolower(text::clearWhitespaces($this->config['deniedExts']))) ?>$/;
31 31
 browser.maxFileSize = <?php echo text::jsValue($this->config['maxfilesize']) ?>;
32
-<?php IF (isset($this->get['opener']) && strlen($this->get['opener'])): ?>
32
+<?php if (isset($this->get['opener']) && strlen($this->get['opener'])): ?>
33 33
 browser.opener.name = "<?php echo text::jsValue($this->get['opener']) ?>";
34
-<?php ENDIF ?>
35
-<?php IF (isset($this->opener['CKEditor']['funcNum']) && preg_match('/^\d+$/', $this->opener['CKEditor']['funcNum'])): ?>
34
+<?php endif ?>
35
+<?php if (isset($this->opener['CKEditor']['funcNum']) && preg_match('/^\d+$/', $this->opener['CKEditor']['funcNum'])): ?>
36 36
 browser.opener.CKEditor = {};
37 37
 browser.opener.CKEditor.funcNum = <?php echo $this->opener['CKEditor']['funcNum'] ?>;
38
-<?php ENDIF ?>
39
-<?php IF (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
38
+<?php endif ?>
39
+<?php if (isset($this->opener['TinyMCE']) && $this->opener['TinyMCE']): ?>
40 40
 browser.opener.TinyMCE = true;
41
-<?php ENDIF ?>
42
-<?php IF (isset($this->get['opener']) && ($this->get['opener'] == "tinymce4") && isset($this->get['field'])): ?>
41
+<?php endif ?>
42
+<?php if (isset($this->get['opener']) && ($this->get['opener'] == "tinymce4") && isset($this->get['field'])): ?>
43 43
 browser.opener.TinyMCE4 = "<?= text::jsValue($this->get['field']) ?>";
44
-<?php ENDIF ?>
44
+<?php endif ?>
45 45
 browser.cms = "<?php echo text::jsValue($this->cms) ?>";
46 46
 _.kuki.domain = "<?php echo text::jsValue($this->config['cookieDomain']) ?>";
47 47
 _.kuki.path = "<?php echo text::jsValue($this->config['cookiePath']) ?>";
Please login to merge, or discard this patch.