ajax-chat/template/loggedOut.html

72 lines
No EOL
2.9 KiB
HTML

<?xml version="1.0" encoding="[CONTENT_ENCODING/]"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[LANG_CODE/]" lang="[LANG_CODE/]" dir="[BASE_DIRECTION/]">
<head>
<meta charset="utf-8" />
<title>Flashii - Chat</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/mio.css" />
<style>
.spoiler{
background: black;
}
.spoiler:hover{
background: #FBEEFF !important;
}
select,input[type="text"],input[type="password"] {
width: 190px;
}
div.mioboxcontent {
text-align: center;
padding-left: 0px !important;
}
</style>
<script src="js/chat.js" type="text/javascript" charset="UTF-8"></script>
<script src="js/lang/[LANG_CODE/].js" type="text/javascript" charset="UTF-8"></script>
<script src="js/config.js" type="text/javascript" charset="UTF-8"></script>
<script type="text/javascript">
// <![CDATA[
function initializeLoginPage() {
document.getElementById('userNameField').focus();
if(!ajaxChat.isCookieEnabled()) {
var node = document.createElement('div');
var text = document.createTextNode(ajaxChatLang['errorCookiesRequired']);
node.appendChild(text);
document.getElementById('errorContainer').appendChild(node);
}
}
ajaxChatConfig.sessionName = '[SESSION_NAME/]';
ajaxChatConfig.cookieExpiration = parseInt('[COOKIE_EXPIRATION/]');
ajaxChatConfig.cookiePath = '[COOKIE_PATH/]';
ajaxChatConfig.cookieDomain = '[COOKIE_DOMAIN/]';
ajaxChatConfig.cookieSecure = '[COOKIE_SECURE/]';
ajaxChat.init(ajaxChatConfig, ajaxChatLang, true, true, false);
// ]]>
</script>
</head>
<body onload="initializeLoginPage();">
<a href="/"><img class="logo" src="images/pixel.png" alt="[LANG]title[/LANG]" /></a><br />
<div id="errorContainer">[ERROR_MESSAGES/]<noscript><h3 class="miotitle">[LANG]requiresJavaScript[/LANG]</h3></noscript></div>
<form id="loginForm" action="[LOGIN_URL/]" method="post" enctype="application/x-www-form-urlencoded">
<div class="mioboards">
<h3 class="miotitle">[LANG]title[/LANG] Login</h3>
<div class="mioboxcontent">
<input type="hidden" name="login" id="loginField" value="login"/>
<input type="hidden" name="redirect" id="redirectField" value="[REDIRECT_URL/]"/>
<input type="text" name="userName" id="userNameField" maxlength="[USER_NAME_MAX_LENGTH/]" placeholder="[LANG]userName[/LANG]" />
<input type="password" name="password" id="passwordField" placeholder="[LANG]password[/LANG]" />
<select name="channelName" id="channelField">[CHANNEL_OPTIONS/]</select>
<select id="languageSelection" name="lang" onchange="ajaxChat.switchLanguage(this.value);">[LANGUAGE_OPTIONS/]</select>
<input type="submit" name="submit" id="loginButton" value="[LANG]login[/LANG]"/>
<br />[SANDSTORM/]<br />
</div>
</div>
</form>
<div class="navbar">
[MENU_BAR/]
</div>
[COPYRIGHT/]
</body>
</html>