| 1 |
<?php |
<?php |
| 2 |
// $Id: comment_info.module,v 1.1.2.1.2.2 2007/02/23 20:20:50 mfer Exp $ |
// $Id: comment_info.module,v 1.1.2.1.2.3 2007/03/12 23:35:27 mfer Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 42 |
*/ |
*/ |
| 43 |
function comment_info_admin_settings() { |
function comment_info_admin_settings() { |
| 44 |
$form['comment_info_description'] = array( |
$form['comment_info_description'] = array( |
| 45 |
'#value' => 'The Comment Info module allows anonymous users to save their comment information. There are two methods for storing the anonymous users information. The classic way via the users session and using jQuery with cookies. Using the jQuery method will only work in javascript enabled browsers. The jQuery method is the only method that works with caching and is therefore the default/only option when caching is enabled.' |
'#value' => t('The Comment Info module allows anonymous users to save their comment information. There are two methods for storing the anonymous users information. The classic way via the users session and using jQuery with cookies. Using the jQuery method will only work in javascript enabled browsers. The jQuery method is the only method that works with caching and is therefore the default/only option when caching is enabled.') |
| 46 |
); |
); |
| 47 |
|
|
| 48 |
$form['comment_info_setting'] = array( |
$form['comment_info_setting'] = array( |
| 88 |
|
|
| 89 |
$form['comment_info']['optin'] = array( |
$form['comment_info']['optin'] = array( |
| 90 |
'#type' => 'checkbox', |
'#type' => 'checkbox', |
| 91 |
'#title' => 'Save my Comment Information for next time.', |
'#title' => t('Save my Comment Information for next time.'), |
| 92 |
'#default_value' => $_SESSION['comment_info']['optin'] |
'#default_value' => $_SESSION['comment_info']['optin'] |
| 93 |
); |
); |
| 94 |
} |
} |