Changeset 2099 in ExiteCMS for trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl
- Timestamp:
- 12/07/08 22:05:25 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl
r2079 r2099 65 65 </div> 66 66 <form name='loginform1' method='post' action='{$smarty.const.BASEDIR}setuser.php?login=yes'> 67 {foreach from=$auth_methods item=method key=i} 68 {if $method_count > 1} 69 {if $method == "ldap"} 70 <div class='side-label'> 71 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 72 <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}')" /> 73 </div> 74 {$locale.069} {$method|upper} {$locale.061}: 75 </div> 76 <div id='box_login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 77 {elseif $method == "ad"} 78 <div class='side-label'> 79 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 80 <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}')" /> 81 </div> 82 {$locale.069} {$method|upper} {$locale.061}: 83 </div> 84 <div id='box_login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 85 {elseif $method == "local"} 86 <div class='side-label'> 87 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 88 <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}')" /> 89 </div> 90 {$locale.069} {$locale.061}: 91 </div> 92 <div id='box_login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 93 {elseif $method == "openid"} 94 <div class='side-label'> 95 <div style='display:inline; position:relative; float:right;margin-top:2px;'> 96 <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}')" /> 97 </div> 98 {$locale.069} {$locale.067}: 99 </div> 100 <div id='box_login{$i}' style='display:{if $auth_state.$i}block{else}none{/if};'> 101 {/if} 102 {/if} 103 <div style='padding-left:2px;'> 104 {if $method == "ldap"} 105 {$locale.061}:<br /><input type='text' name='ldap_name' class='textbox' style='width:145px' /><br /> 106 {$locale.062}:<br /><input type='password' name='ldap_pass' class='textbox' style='width:145px' /><br /> 107 {elseif $method == "ad"} 108 {$locale.061}:<br /><input type='text' name='ad_name' class='textbox' style='width:145px' /><br /> 109 {$locale.062}:<br /><input type='password' name='ad_pass' class='textbox' style='width:145px' /><br /> 110 {elseif $method == "local"} 111 {$locale.061}:<br /><input type='text' name='user_name' class='textbox' style='width:145px' /><br /> 112 {$locale.062}:<br /><input type='password' name='user_pass' class='textbox' style='width:145px' /><br /> 113 {elseif $method == "openid"} 114 <input type='text' name='user_openid_url' class='textbox' style='width:128px;background: url({$smarty.const.IMAGES}openid_small_logo.gif) no-repeat; padding-left: 18px;' /><br /> 115 <span class='small' style='font-size:90%;'> <a href="http://{$settings.locale_code}.wikipedia.org/wiki/OpenID" target="_blank">{$locale.068}</a></span><br /> 116 {/if} 117 </div> 118 {if $method_count > 1} 119 </div> 120 {/if} 67 {foreach from=$auth_templates item=method key=i} 68 {include file=$i} 121 69 {/foreach} 122 <hr />123 <div style='text-align:center'>124 <input type='checkbox' name='remember_me' value='yes' title='{$locale.063}' style='vertical-align:middle;'{if $remember_me|default:"no" == "yes"} checked="checked"{/if}/>125 <input type='submit' name='login' value='{$locale.064}' class='button' /><br />126 <input type='hidden' name='javascript_check' value='n' />127 </div>128 </form>70 <hr /> 71 <div style='text-align:center'> 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}/> 73 <input type='submit' name='login' value='{$locale.064}' class='button' /><br /> 74 <input type='hidden' name='javascript_check' value='n' /> 75 </div> 76 </form> 129 77 {literal} 130 78 <script type='text/javascript'>
Note: See TracChangeset
for help on using the changeset viewer.
