#*
  The contents of this file are subject to the Mozilla Public License Version 1.1
  (the "License"); you may not use this file except in compliance with the License.
  You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
  
  Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
  WARRANTY OF ANY KIND, either express or implied. See the License for the specific
  language governing rights and limitations under the License.
  
  The Original Code is the Venice Web Communities System.
  
  The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
  for Silverwrist Design Studios.  Portions created by Eric J. Bowersox are
  Copyright (C) 2003 Eric J. Bowersox/Silverwrist Design Studios.  All Rights Reserved.
  
  Contributor(s): 
*#
#renderDialog( $loginDialog )
<p />
#header1( "Login via Federated Identity" )
<p>If you have previously established an account here, AND you have previously federated it with one of
the following Identity Providers, then you may click on the appropriate Identity Provider link below.
You will be taken to the IDP's logon page, and returned here after authentication is complete.</p>
<p>Note that this WILL NOT work unless you have previously federated an account between this installation and
the Identity Provider. If you have not done this yet, then first create an account using the form above.</p>
<ul>
#set( $etgt = "#encodeURL( $target )" )
#foreach( $prov in $idpList )
  #set( $arg = "#encodeURL( $prov.ProviderID )" )
  <li><a href="#formatURL( "SERVLET" "sourceid/login_sso.js.vs?tgt=$etgt&provider=$arg" )">$prov.ProviderID</a></li>
#end
</ul>
<br />
