| 1 |
<?php |
<?php |
| 2 |
// $Id: persistent_login.pages.inc,v 1.1.2.4 2009/04/26 03:53:33 markuspetrux Exp $ |
// $Id: persistent_login.pages.inc,v 1.1.2.5 2009/04/29 21:54:18 markuspetrux Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 31 |
'#description' => t('The maximum number of days for which a persistent login session is valid; afterwards, the user will need to log in again. Enter 0 for no expiration.'), |
'#description' => t('The maximum number of days for which a persistent login session is valid; afterwards, the user will need to log in again. Enter 0 for no expiration.'), |
| 32 |
); |
); |
| 33 |
|
|
| 34 |
|
$form['persistent_login_maxlogins'] = array( |
| 35 |
|
'#type' => 'select', |
| 36 |
|
'#title' => t('Remembered logins per user'), |
| 37 |
|
'#default_value' => variable_get('persistent_login_maxlogins', 10), |
| 38 |
|
'#options' => drupal_map_assoc(array(5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80, 90, 100)), |
| 39 |
|
'#description' => t('The maximum number of Persisten Logins remembered per user.'), |
| 40 |
|
); |
| 41 |
|
|
| 42 |
$form['persistent_login_secure'] = array( |
$form['persistent_login_secure'] = array( |
| 43 |
'#type' => 'radios', |
'#type' => 'radios', |
| 44 |
'#title' => t('Pages which require an explicit login'), |
'#title' => t('Pages which require an explicit login'), |