Parent Directory
|
Revision Log
|
Revision Graph
This will display selected node flags within a form of checkboxes, rather then as links. This allows multiple flags to be marked simultaneously.
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Menu page callbacks for Flag Form. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Callback for admin/build/flags/flag-form. |
| 11 | */ |
| 12 | function flag_form_page() { |
| 13 | $form = array(); |
| 14 | $form['flag_form_title'] = array( |
| 15 | '#type' => 'textfield', |
| 16 | '#title' => t('Flag form title'), |
| 17 | '#description' => t('This is the title that will be displayed for flag forms.'), |
| 18 | '#default_value' => variable_get('flag_form_title', t('Flags')), |
| 19 | ); |
| 20 | return system_settings_form($form); |
| 21 | } |
| 22 |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |