Changeset 2099 in ExiteCMS for trunk/login.php
- Timestamp:
- 12/07/08 22:05:25 (3 years ago)
- File:
-
- 1 edited
-
trunk/login.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/login.php
r2095 r2099 39 39 $variables['login_expiry'] = (iADMIN && isset($_SESSION['login_expire'])) ? time_system2local($_SESSION['login_expire']) : ""; 40 40 41 // get which authentication to show 42 $variables['auth_methods'] = explode(",",$settings['authentication_selected']); 43 $variables['method_count'] = count($variables['auth_methods']); 44 $variables['auth_state'] = array(); 45 foreach($variables['auth_methods'] as $key => $method) { 46 if (isset($_SESSION['box_login'.$key])) { 47 $variables['auth_state'][] = $_SESSION['box_login'.$key] == 0 ? 1 : 0; 48 } else { 49 $variables['auth_state'][] = 1; 50 } 51 } 41 // get the login templates to allow authentication 42 $variables['auth_templates'] = $GLOBALS['cms_authentication']->get_templates("body"); 52 43 53 44 // check if we need to display a registration link
Note: See TracChangeset
for help on using the changeset viewer.
