Changeset 1561 in ExiteCMS
- Timestamp:
- 07/31/08 09:48:00 (4 years ago)
- Location:
- trunk/modules/user_info_panel
- Files:
-
- 2 edited
-
templates/modules.user_info_panel.tpl (modified) (1 diff)
-
user_info_panel.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_info_panel/templates/modules.user_info_panel.tpl
r1559 r1561 109 109 {elseif $method == "openid"} 110 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 />111 <span class='small' style='font-size:90%;'> <a href="http://{$settings.locale_code}.wikipedia.org/wiki/OpenID" target="_blank">{$locale.068}</a></span><br /> 112 112 {/if} 113 113 </div> -
trunk/modules/user_info_panel/user_info_panel.php
r1559 r1561 74 74 $variables['auth_state'] = array(); 75 75 foreach($variables['auth_methods'] as $key => $method) { 76 $variables['auth_state'][] = isset($_SESSION['box_login'.$key]) && $_SESSION['box_login'.$key] == 0; 76 if (isset($_SESSION['box_login'.$key])) { 77 $variables['auth_state'][] = $_SESSION['box_login'.$key] == 0 ? 1 : 0; 78 } else { 79 $variables['auth_state'][] = 1; 80 } 77 81 } 78 82
Note: See TracChangeset
for help on using the changeset viewer.
