Adapted installer.tpl to 2k11/2.0 backend.
This commit is contained in:
@ -43,8 +43,6 @@
|
||||
<main class="clearfix">
|
||||
{if NOT $admin_vars.is_logged_in}
|
||||
{$admin_vars.out|@serendipity_refhookPlugin:'backend_login_page'}
|
||||
{* <div id="login_container"> *}
|
||||
{* <h2>{$CONST.WELCOME_TO_ADMIN}</h2> *}
|
||||
{$admin_vars.out.header}
|
||||
{if $admin_vars.post_action != '' AND NOT $admin_vars.is_logged_in}
|
||||
<span class="msg_error">{$CONST.WRONG_USERNAME_OR_PASSWORD}</span>
|
||||
@ -74,7 +72,6 @@
|
||||
</form>
|
||||
<a id="back_to_blog" href="{$serendipityBaseURL}">{$CONST.BACK_TO_BLOG}</a>
|
||||
{$admin_vars.out.footer}
|
||||
{* </div> *}
|
||||
{else}
|
||||
{if NOT $admin_vars.no_sidebar}
|
||||
<nav id="main_menu">
|
||||
|
@ -1,64 +1,31 @@
|
||||
<html>
|
||||
<head>
|
||||
<!doctype html>
|
||||
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="{$CONST.LANG_CHARSET}">
|
||||
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
|
||||
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file='admin/style.css'}" />
|
||||
|
||||
<script type="text/javascript">
|
||||
function spawn() {
|
||||
if (self.Spawnextended) {
|
||||
Spawnextended();
|
||||
}
|
||||
|
||||
if (self.Spawnbody) {
|
||||
Spawnbody();
|
||||
}
|
||||
|
||||
if (self.Spawnnugget) {
|
||||
Spawnnugget();
|
||||
}
|
||||
}
|
||||
|
||||
function SetCookie(name, value) {
|
||||
var today = new Date();
|
||||
var expire = new Date();
|
||||
expire.setTime(today.getTime() + (60*60*24*30*1000));
|
||||
document.cookie = 'serendipity[' + name + ']='+escape(value) + ';expires=' + expire.toGMTString();
|
||||
}
|
||||
|
||||
function addLoadEvent(func) {
|
||||
var oldonload = window.onload;
|
||||
if (typeof window.onload != 'function') {
|
||||
window.onload = func;
|
||||
} else {
|
||||
window.onload = function() {
|
||||
oldonload();
|
||||
func();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body id="serendipity_admin_page" onload="spawn()">
|
||||
<table cellspacing="0" cellpadding="0" border="0" id="serendipityAdminFrame">
|
||||
<tr>
|
||||
<td colspan="2" id="serendipityAdminBanner">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="stylesheet" href="{serendipity_getFile file='admin/style.css'}">
|
||||
<script src="{serendipity_getFile file='admin/js/modernizr-2.6.2.min.js'}"></script>
|
||||
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
|
||||
</head>
|
||||
<body id="serendipity_admin_page">
|
||||
<header id="top">
|
||||
<div class="clearfix">
|
||||
<div id="banner_install">
|
||||
<h1>{$CONST.SERENDIPITY_INSTALLATION}</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" id="serendipityAdminInfopane">
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td class="serendipityAdminContent" colspan="2">
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{if $is_errors && is_array($errors)}
|
||||
<main class="clearfix serendipityAdminContent">
|
||||
<div id="content" class="clearfix">
|
||||
{if $is_errors && is_array($errors)}
|
||||
{foreach $errors AS $error}
|
||||
<span class="msg_error"><span class="icon-attention"></span> {$error}</span>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if $getstepint0}
|
||||
{/if}
|
||||
{if $getstepint0}
|
||||
<h2>{$CONST.WELCOME_TO_INSTALLATION}</h2>
|
||||
|
||||
<h3>{$CONST.FIRST_WE_TAKE_A_LOOK}</h3>
|
||||
@ -264,21 +231,21 @@
|
||||
<div><a href="?serendipity[step]=2a">{$CONST.SIMPLE_INSTALLATION}</a> - <a href="?serendipity[step]=2b">{$CONST.EXPERT_INSTALLATION}</a></div>
|
||||
{/if}
|
||||
</div>
|
||||
{elseif $s9yGETstep == '2a'}
|
||||
{elseif $s9yGETstep == '2a'}
|
||||
<form action="?" method="post">
|
||||
<input name="serendipity[step]" type="hidden" value="{$s9yGETstep}">
|
||||
<input name="serendipity[getstep]" type="hidden" value="3">
|
||||
{if $ob_serendipity_printConfigTemplate}{$ob_serendipity_printConfigTemplate}{/if}
|
||||
<input name="submit" type="submit" value="{$CONST.COMPLETE_INSTALLATION}">
|
||||
</form>
|
||||
{elseif $s9yGETstep == '2b'}
|
||||
{elseif $s9yGETstep == '2b'}
|
||||
<form action="?" method="post">
|
||||
<input name="serendipity[step]" type="hidden" value="{$s9yGETstep}">
|
||||
<input name="serendipity[getstep]" type="hidden" value="3">
|
||||
{if $ob_serendipity_printConfigTemplate}{$ob_serendipity_printConfigTemplate}{/if}
|
||||
<input name="submit" type="submit" value="{$CONST.COMPLETE_INSTALLATION}">
|
||||
</form>
|
||||
{elseif $getstepint3}
|
||||
{elseif $getstepint3}
|
||||
<h3>{$CONST.CHECK_DATABASE_EXISTS}</h3>
|
||||
{if is_array($authors_query)}
|
||||
<span class="msg_success"><span class="icon-ok-circle"></span> <strong>{$CONST.THEY_DO}</strong>, {$CONST.WONT_INSTALL_DB_AGAIN}</span>
|
||||
@ -313,18 +280,14 @@
|
||||
{else}
|
||||
<span class="msg_error"><span class="icon-attention"></span> {$CONST.ERROR_DETECTED_IN_INSTALL}</span>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="serendipityAdminFooterSpacer"></div>
|
||||
|
||||
<div id="serendipityAdminFooter">
|
||||
<span>
|
||||
{$ADMIN_FOOTER_POWERED_BY|sprintf:$versionInstalled:$phpversion}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
</body>
|
||||
</main>
|
||||
|
||||
<footer id="meta">
|
||||
<p>{$ADMIN_FOOTER_POWERED_BY|sprintf:$versionInstalled:$phpversion}</p>
|
||||
</footer>
|
||||
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user