Changeset 2099 in ExiteCMS for trunk/modules/user_info_panel/user_info_panel.php
- Timestamp:
- 12/07/08 22:05:25 (3 years ago)
- File:
-
- 1 edited
-
trunk/modules/user_info_panel/user_info_panel.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_info_panel/user_info_panel.php
r2095 r2099 79 79 $variables['login_expiry'] = isset($_SESSION['login_expire']) ? time_system2local($_SESSION['login_expire']) : ""; 80 80 81 // get which authentication to show 82 $variables['auth_methods'] = $GLOBALS['cms_authentication']->selected; 83 $variables['method_count'] = count($variables['auth_methods']); 84 $variables['auth_state'] = array(); 85 foreach($variables['auth_methods'] as $key => $method) { 86 if (isset($_SESSION['box_login'.$key])) { 87 $variables['auth_state'][] = $_SESSION['box_login'.$key] == 0 ? 1 : 0; 88 } else { 89 $variables['auth_state'][] = 1; 90 } 91 } 81 // get the login templates to allow authentication 82 $variables['auth_templates'] = $GLOBALS['cms_authentication']->get_templates("side"); 92 83 93 84 // check if we need to display a registration link
Note: See TracChangeset
for help on using the changeset viewer.
