I need the checkboxes labels exposed in views search pages to be different than the checkboxes labels displayed in the node/xx/edit forms.
I found the same documentation everywhere about the way to change the label of a submit button using a template.php function (works fine) :
function MYTHEME_preprocess_views_exposed_form(&$vars, $hook) {
if ($vars['form']['#id'] == 'views-exposed-form-XXX') {
$vars['form']['submit']['#value'] = 'gagarine' ;
unset($vars['form']['submit']['#printed']);
$vars['button'] = drupal_render($vars['form']['submit']);
}
}
I can't find any accurate documentation to rename a cck field label when exposed in a search page.
edit² : cleaning the thread for relative readability since I got something working