Include JS in installer and upgrader

This should fix issue #80 by giving serendipity_editor.js of default to the
installer and  the normal template JS to the upgrader
This commit is contained in:
onli
2014-03-09 16:00:38 +01:00
parent 3ef2575788
commit 7f4dbb3e2e
3 changed files with 6 additions and 10 deletions
+2 -5
View File
@@ -6,7 +6,8 @@
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{serendipity_getFile file='admin/style.css'}">
<script src="{$installerHTTPPath}{$templatePath}jquery.js"></script>
<script src="{serendipity_getFile file='jquery.js'}"></script>
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
</head>
<body id="serendipity_admin_page">
<header id="top">
@@ -286,12 +287,8 @@
{/if}
</div>
</main>
<footer id="meta">
<p>{$ADMIN_FOOTER_POWERED_BY|sprintf:$versionInstalled:$phpversion}</p>
</footer>
{* <script src="{$serendipityHTTPPath}{serendipity_getFile file='admin/js/installer_editor.js'}"></script> *}
</body>
</html>