Ignore:
Timestamp:
07/30/08 16:04:17 (4 years ago)
Author:
hverton
Message:

added preliminary support for multiple authentication methods. Currently, local database and OpenID are supported

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl

    r1402 r1558  
    6060        {$loginerror|default:""} 
    6161        <form name='loginform' method='post' action='{$smarty.const.FUSION_SELF}'> 
    62             {$locale.061}<br /><input type='text' name='user_name' class='textbox' style='width:100px' /><br /> 
    63             {$locale.062}<br /><input type='password' name='user_pass' class='textbox' style='width:100px' /><br /> 
    64             <br /><input type='checkbox' name='remember_me' value='yes' title='{$locale.063}' style='vertical-align:middle;'{if $remember_me|default:"no" == "yes"} checked="checked"{/if}/> 
    65             <input type='submit' name='login' value='{$locale.064}' class='button' /><br /> 
     62            {if $auth_userpass} 
     63                {$locale.061}<br /><input type='text' name='user_name' class='textbox' style='width:125px' /><br /> 
     64                {$locale.062}<br /><input type='password' name='user_pass' class='textbox' style='width:125px' /><br /> 
     65            {/if} 
     66            {if $auth_openid} 
     67                {$locale.067}<br /><input type='text' name='user_openid_url' class='textbox' style='width:108px;background: url({$smarty.const.IMAGES}openid_small_logo.png) no-repeat; padding-left: 18px;' /><br /> 
     68                <span class='small' style='font-size:90%;'>  <a href="http://openid.net/get/"  target="_blank">{$locale.068}</a> &middot; <a href="http://openid.net/what" target="_blank">{$locale.069}</a></span><br /> 
     69            {/if} 
     70            <br /> 
     71            <input type='submit' name='login' value='{$locale.064}' class='button' /> 
     72            <input type='checkbox' name='remember_me' value='yes' title='{$locale.063}' style='vertical-align:middle;'{if $remember_me|default:"no" == "yes"} checked="checked"{/if}/><br /> 
    6673            <input type='hidden' name='javascript_check' value='n' /> 
    6774        </form> 
    6875    </div> 
    69     {literal} 
     76{literal} 
    7077<script type='text/javascript'> 
    7178/* <![CDATA[ */ 
     
    7683    /* ]]> */ 
    7784</script> 
    78     {/literal} 
    79     <br /> 
    80     {if $settings.enable_registration}{$settings.siteurl|string_format:$locale.065}<br /><br />{/if} 
    81     {$settings.siteurl|string_format:$locale.066} 
     85{/literal} 
     86    {if $show_reglink || $show_passlink} 
     87        <hr /> 
     88    {/if} 
     89    {if $show_reglink}{$settings.siteurl|string_format:$locale.065}<br /><br />{/if} 
     90    {if $show_passlink}{$settings.siteurl|string_format:$locale.066}{/if} 
    8291{/if} 
    8392{if $smarty.const.iMEMBER|default:false} 
Note: See TracChangeset for help on using the changeset viewer.