Changeset 1559 in ExiteCMS for trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl
- Timestamp:
- 07/30/08 18:35:15 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl
r1558 r1559 59 59 <div style='text-align:center'> 60 60 {$loginerror|default:""} 61 <form name='loginform' method='post' action='{$smarty.const.FUSION_SELF}'> 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 /> 61 </div> 62 <form name='loginform' method='post' action='{$smarty.const.FUSION_SELF}'> 63 {foreach from=$auth_methods item=method key=i} 64 {if $method_count > 1} 65 {if $method == "ldap"} 66 <div class='side-label'> 67 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 68 <img src='{$smarty.const.THEME}images/panel_{if $auth_state.$i}off{else}on{/if}.gif' alt='' name='b_login{$i}' onclick="javascript:flipBox('login{$i}')" /> 69 </div> 70 {$locale.069} {$method|upper} {$locale.061}: 71 </div> 72 <div id='box_login{$i}' name='login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 73 {elseif $method == "ad"} 74 <div class='side-label'> 75 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 76 <img src='{$smarty.const.THEME}images/panel_{if $auth_state.$i}off{else}on{/if}.gif' alt='' name='b_login{$i}' onclick="javascript:flipBox('login{$i}')" /> 77 </div> 78 {$locale.069} {$method|upper} {$locale.061}: 79 </div> 80 <div id='box_login{$i}' name='login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 81 {elseif $method == "local"} 82 <div class='side-label'> 83 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 84 <img src='{$smarty.const.THEME}images/panel_{if $auth_state.$i}off{else}on{/if}.gif' alt='' name='b_login{$i}' onclick="javascript:flipBox('login{$i}')" /> 85 </div> 86 {$locale.069} {$locale.061}: 87 </div> 88 <div id='box_login{$i}' name='login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 89 {elseif $method == "openid"} 90 <div class='side-label'> 91 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 92 <img src='{$smarty.const.THEME}images/panel_{if $auth_state.$i}off{else}on{/if}.gif' alt='' name='b_login{$i}' onclick="javascript:flipBox('login{$i}')" /> 93 </div> 94 {$locale.069} {$locale.067}: 95 </div> 96 <div id='box_login{$i}' name='login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 97 {/if} 65 98 {/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> · <a href="http://openid.net/what" target="_blank">{$locale.069}</a></span><br /> 99 <div style='padding-left:2px;'> 100 {if $method == "ldap"} 101 {$locale.061}:<br /><input type='text' name='ldap_name' class='textbox' style='width:145px' /><br /> 102 {$locale.062}:<br /><input type='password' name='ldap_pass' class='textbox' style='width:145px' /><br /> 103 {elseif $method == "ad"} 104 {$locale.061}:<br /><input type='text' name='ad_name' class='textbox' style='width:145px' /><br /> 105 {$locale.062}:<br /><input type='password' name='ad_pass' class='textbox' style='width:145px' /><br /> 106 {elseif $method == "local"} 107 {$locale.061}:<br /><input type='text' name='user_name' class='textbox' style='width:145px' /><br /> 108 {$locale.062}:<br /><input type='password' name='user_pass' class='textbox' style='width:145px' /><br /> 109 {elseif $method == "openid"} 110 <input type='text' name='user_openid_url' class='textbox' style='width:128px;background: url({$smarty.const.IMAGES}openid_small_logo.png) no-repeat; padding-left: 18px;' /><br /> 111 <span class='small' style='font-size:90%;'> <a href="http://en.wikipedia.org/wiki/OpenID" target="_blank">{$locale.068}</a></span><br /> 69 112 {/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 /> 73 <input type='hidden' name='javascript_check' value='n' /> 113 </div> 114 {if $method_count > 1} 115 </div> 116 {/if} 117 {/foreach} 118 <hr /> 119 <div style='text-align:center'> 120 <input type='submit' name='login' value='{$locale.064}' class='button' /> 121 <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 /> 122 <input type='hidden' name='javascript_check' value='n' /> 123 </div> 74 124 </form> 75 </div>76 {literal}77 <script type='text/javascript'>78 /* <![CDATA[ */79 if (document.loginform.javascript_check.value == 'n')80 {81 document.loginform.javascript_check.value = 'y';82 }83 /* ]]> */84 </script>85 {/literal}86 125 {if $show_reglink || $show_passlink} 87 126 <hr />
Note: See TracChangeset
for help on using the changeset viewer.
