/[drupal]/contributions/modules/flag_form/flag_form.menu.inc
ViewVC logotype

Contents of /contributions/modules/flag_form/flag_form.menu.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Sat Apr 11 02:03:28 2009 UTC (7 months, 2 weeks ago) by aaron
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA2, DRUPAL-6--1-0-ALPHA3, DRUPAL-6--1-0-ALPHA1, HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/x-php
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