lemonldap-ng/modules/lemonldap-ng-portal/example/AuthLA/tpl/auth.tpl
2008-05-06 09:33:47 +00:00

59 lines
1.9 KiB
Smarty

<?xml version="1.0" encoding="UTF-8"?>
<!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="en" lang="en">
<head>
<title>LemonLDAP::NG Portal - Authentication</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<link rel="stylesheet" type="text/css" href="tpl/themes/federid/sso.css" title="FederID"/>
</head>
<body>
<div id="page">
<div id="top">&nbsp;</div>
<div id="info-box"><h1>FederID WebSSO</h1><p>LemonLDAP::NG Portal - Authentication</p></div>
<div id="content">
<div id="messages"><ul class="message"><li><TMPL_VAR NAME="AUTH_ERROR"></li></ul></div>
<form method="post" id="acegiForm">
<input type="hidden" name="url" value="<TMPL_VAR NAME="AUTH_URL">" />
<fieldset><legend>Authentication on this service (no Identity federation)</legend>
<label class="required">Login</label>
<TMPL_IF NAME="AUTH_USER">
<input type="hidden" name="user" value="<TMPL_VAR NAME="AUTH_USER">" />
<TMPL_VAR NAME="AUTH_USER">
<TMPL_ELSE>
<input name="user" type="text" size="30" />
</TMPL_IF>
<label class="required">Password</label>
<input name="password" type="password" autocomplete="off" size="30" />
</fieldset>
<fieldset><legend>Liberty Alliance authentication</legend>
<select name="idpChoice">
<option value="null">Select your Identity Provider</option>
<TMPL_LOOP NAME="AUTH_IDPS">
<option value="<TMPL_VAR NAME="IDPNAME">"><TMPL_VAR NAME="IDPNAME"></option>
</TMPL_LOOP>
</select>
</fieldset>
<input type="submit" name="submit" value="Submit" />
</form>
</div>
<div id="footer"><p>Provided by LemonLDAP::NG</p></div>
</div>
</body>
</html>