Révision 76e2e7c3
Ajouté par Assos Assos il y a environ 10 ans
drupal7/sites/all/modules/flag/includes/views/flag_handler_filter_flagged.inc | ||
---|---|---|
21 | 21 |
parent::options_form($form, $form_state); |
22 | 22 |
$form['value']['#type'] = 'radios'; |
23 | 23 |
$form['value']['#title'] = t('Status'); |
24 |
$form['value']['#options'] = array(1 => t('Flagged'), 0 => t('Not flagged'), 'All' => t('All')); |
|
24 |
$form['value']['#options'] = array( |
|
25 |
1 => t('Flagged'), |
|
26 |
0 => t('Not flagged'), |
|
27 |
'All' => t('All'), |
|
28 |
); |
|
25 | 29 |
$form['value']['#default_value'] = empty($this->options['value']) ? '0' : $this->options['value']; |
26 | 30 |
$form['value']['#description'] = '<p>' . t('This filter is only needed if the relationship used has the "Include only flagged content" option <strong>unchecked</strong>. Otherwise, this filter is useless, because all records are already limited to flagged content.') . '</p><p>' . t('By choosing <em>Not flagged</em>, it is possible to create a list of content <a href="@unflagged-url">that is specifically not flagged</a>.', array('@unflagged-url' => 'http://drupal.org/node/299335')) . '</p>'; |
27 | 31 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules