|
36 | 36 | <html lang="en"> |
37 | 37 |
|
38 | 38 | <head> |
39 | | - <script |
40 | | - src="<?php echo getURL("js/jquery-3.7.1.min.js"); ?>" |
41 | | - integrity="sha384-1H217gwSVyLSIfaLxHbE7dRb3v4mYCKbpQvzx0cegeju1MVsGrX5xXxAvs/HgeFs" |
42 | | - crossorigin="anonymous" |
43 | | - > |
44 | | - </script> |
45 | | - <script |
46 | | - src="<?php echo getURL("js/ckeditor5-47.3.0.min.js"); ?>" |
47 | | - integrity="sha384-vfrZDzuxNDOwwU8jB6WLBRm2Y37beBm82JEKPRi7i0ntHlWOiXcKCD/d9TEJldOb" |
48 | | - crossorigin="anonymous" |
49 | | - > |
50 | | - </script> |
51 | | - <link rel='stylesheet' type='text/css' href='<?php echo getURL("css/ckeditor5-47.3.0.css") ?>' /> |
| 39 | + <?php |
| 40 | + foreach (["jquery.min", "global-early", "ckeditor5.umd"] as $x) { |
| 41 | + $url = getURL("js/$x.js?cache_bust_increment_me=" . CONFIG["upstream"]["version"]); |
| 42 | + echo "<script src='$url'></script>"; |
| 43 | + } |
| 44 | + ?> |
52 | 45 | <style> |
53 | 46 | <?php |
54 | 47 | // set global css variables from branding |
|
61 | 54 | </style> |
62 | 55 |
|
63 | 56 | <?php |
64 | | - foreach (["global", "navbar", "modal", "tables", "filters", "messages"] as $x) { |
65 | | - $url = getURL("css/$x.css?v=" . CONFIG["upstream"]["version"]); |
| 57 | + foreach (["global", "navbar", "modal", "tables", "filters", "messages", "ckeditor5"] as $x) { |
| 58 | + $url = getURL("css/$x.css?cache_bust_increment_me=" . CONFIG["upstream"]["version"]); |
66 | 59 | echo "<link rel='stylesheet' type='text/css' href='$url' />"; |
67 | 60 | } |
68 | 61 | ?> |
|
142 | 135 | <div class="modalBody"></div> |
143 | 136 | </div> |
144 | 137 | </div> |
145 | | - <?php |
146 | | - foreach (["modal", "global-early"] as $x) { |
147 | | - $url = getURL("js/$x.js?v=" . CONFIG["upstream"]["version"]); |
148 | | - echo "<script src='$url'></script>"; |
149 | | - } |
150 | | - ?> |
| 138 | + <script |
| 139 | + src="<?php echo getURL("js/modal.js?cache_bust_increment_me=" . CONFIG["upstream"]["version"]) ?>" |
| 140 | + ></script> |
151 | 141 | <main> |
152 | 142 |
|
153 | 143 | <?php |
|
0 commit comments