flash.moe/public/chat/lib/template/loggedOut~.html

61 lines
2.8 KiB
HTML
Raw Normal View History

2020-08-20 00:02:37 +00:00
<?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" lang="en-gb">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<title>[LANG]title[/LANG]</title>
<link rel="shortcut icon" href="/favicon.ico" />
<!--link rel="stylesheet" type="text/css" href="//cdn.flashii.net/global.css" /-->
<link rel="stylesheet" type="text/css" href="css/chatlogin.css" />
<script src="js/chat.js" type="text/javascript" charset="UTF-8"></script>
<script src="js/[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();">
<div id="container">
<div id="content">
<h1>[LANG]title[/LANG]</h1>
<div id="errorContainer">
[ERROR_MESSAGES/]
<noscript>
<h3>[LANG]requiresJavaScript[/LANG]</h3>
</noscript>
</div>
<form id="loginForm" action="[LOGIN_URL/]" method="post" enctype="application/x-www-form-urlencoded">
<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] (e.g. [CHAT_BOT_NAME/])" />
<input type="password" name="password" id="passwordField" placeholder="[LANG]password[/LANG]" />
<select name="channelName" id="channelField">[CHANNEL_OPTIONS/]</select>
<input type="submit" name="submit" id="loginButton" value="[LANG]login[/LANG]"/>
</form>
<div class="copyright">
&copy;Flashii Media 2013-2014.<br />
Based on <a href="http://blueimp.net/ajax" target="_blank">AJAX Chat</a> by <a href="http://blueimp.net" target="_blank">blueimp</a>.
</div>
</div>
</div>
</body>
</html>