Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/search/search.admin.inc | ||
---|---|---|
125 | 125 |
'#options' => $module_options, |
126 | 126 |
'#description' => t('Choose which search module is the default.') |
127 | 127 |
); |
128 |
$form['logging'] = array( |
|
129 |
'#type' => 'fieldset', |
|
130 |
'#title' => t('Logging') |
|
131 |
); |
|
132 |
$form['logging']['search_logging'] = array( |
|
133 |
'#type' => 'checkbox', |
|
134 |
'#title' => t('Log searches'), |
|
135 |
'#default_value' => variable_get('search_logging', 1), |
|
136 |
'#description' => t('If checked, all searches will be logged. Uncheck to skip logging. Logging may affect performance.'), |
|
137 |
); |
|
128 | 138 |
$form['#validate'][] = 'search_admin_settings_validate'; |
129 | 139 |
$form['#submit'][] = 'search_admin_settings_submit'; |
130 | 140 |
|
Formats disponibles : Unified diff
Udpate to 7.54