Fix open id.
This commit is contained in:
@@ -3,6 +3,23 @@
|
||||
|
||||
<%--@elvariable id="isHsql" type="boolean"--%>
|
||||
|
||||
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
|
||||
<script type="text/javascript" src="js/openid-jquery.js"></script>
|
||||
<script type="text/javascript" src="js/openid-en.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
openid.init('openid_identifier');
|
||||
openid.setDemoMode(true); //Stops form submission for client javascript-only test purposes
|
||||
});
|
||||
</script>
|
||||
<!-- /Simple OpenID Selector -->
|
||||
<style type="text/css">
|
||||
/* Basic page formatting */
|
||||
body {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
$(function () {
|
||||
$('#loginForm').submit(function () {
|
||||
@@ -17,6 +34,25 @@
|
||||
<spring:message code="WELCOME_DETAILS"/>
|
||||
</div>
|
||||
<div class="span1">
|
||||
<!-- Simple OpenID Selector -->
|
||||
<form action="examples/consumer/try_auth.php" method="get" id="openid_form">
|
||||
<input type="hidden" name="action" value="verify" />
|
||||
<fieldset>
|
||||
<legend>Sign-in or Create New Account</legend>
|
||||
<div id="openid_choice">
|
||||
<p>Please click your account provider:</p>
|
||||
<div id="openid_btns"></div>
|
||||
</div>
|
||||
<div id="openid_input_area">
|
||||
<input id="openid_identifier" name="openid_identifier" type="text" value="http://" />
|
||||
<input id="openid_submit" type="submit" value="Sign-In"/>
|
||||
</div>
|
||||
<noscript>
|
||||
<p>OpenID is service that allows you to log-on to many different websites using a single indentity.
|
||||
Find out <a href="http://openid.net/what/">more about OpenID</a> and <a href="http://openid.net/get/">how to get an OpenID enabled account</a>.</p>
|
||||
</noscript>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
<div id="login" class="fform span6">
|
||||
@@ -69,13 +105,13 @@
|
||||
|
||||
<div class="row">
|
||||
<div id="register" class="span12">
|
||||
<c:if test="${requestScope['security.type']=='db'}">
|
||||
<b><spring:message code="NOT_READY_A_USER"/></b>
|
||||
<spring:message code="NOT_READY_A_USER_MESSAGE"/>
|
||||
<a href="c/user/registration">
|
||||
<spring:message code="JOIN_NOW"/>
|
||||
</a>
|
||||
</c:if>
|
||||
<c:if test="${requestScope['security.type']=='db'}">
|
||||
<b><spring:message code="NOT_READY_A_USER"/></b>
|
||||
<spring:message code="NOT_READY_A_USER_MESSAGE"/>
|
||||
<a href="c/user/registration">
|
||||
<spring:message code="JOIN_NOW"/>
|
||||
</a>
|
||||
</c:if>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user