fix and prepare installer path for js includement
References #80 needs a special eg installer_editor.js file for JS events
This commit is contained in:
parent
179f6a19d6
commit
8b951cbc17
@ -29,6 +29,8 @@ if (defined('S9Y_DATA_PATH')) {
|
||||
$data['basedir'] = $basedir;
|
||||
$data['phpversion'] = phpversion();
|
||||
$data['versionInstalled'] = $serendipity['versionInstalled'];
|
||||
$data['templatePath'] = $serendipity['templatePath'];
|
||||
$data['serendipityHTTPPath'] = dirname($_SERVER['PHP_SELF']) . '/';
|
||||
|
||||
/**
|
||||
* Checks a return code constant if it's successfull or an error and return HTML code
|
||||
|
@ -5,7 +5,8 @@
|
||||
<meta charset="{$CONST.LANG_CHARSET}">
|
||||
<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'}">
|
||||
<link rel="stylesheet" href="{$serendipityHTTPPath}{serendipity_getFile file='admin/style.css'}">
|
||||
<script src="{$serendipityHTTPPath}{$templatePath}jquery.js"></script>
|
||||
</head>
|
||||
<body id="serendipity_admin_page">
|
||||
<header id="top">
|
||||
@ -287,5 +288,8 @@
|
||||
<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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user