Go to the source code of this file.
Functions | |
forum_form_main ($type, $edit=array()) | |
forum_form_forum (&$form_state, $edit=array()) | |
forum_form_submit ($form, &$form_state) | |
forum_form_container (&$form_state, $edit=array()) | |
forum_confirm_delete (&$form_state, $tid) | |
forum_confirm_delete_submit ($form, &$form_state) | |
forum_admin_settings () | |
forum_overview (&$form_state) | |
_forum_parent_select ($tid, $title, $child_type) |
Definition in file forum.admin.inc.
_forum_parent_select | ( | $ | tid, | |
$ | title, | |||
$ | child_type | |||
) |
Returns a select box for available parent terms
$tid | ID of the term which is being added or edited | |
$title | Title to display the select box with | |
$child_type | Whether the child is forum or container |
Definition at line 256 of file forum.admin.inc.
References $children, $title, t(), and variable_get().
Referenced by forum_form_container(), and forum_form_forum().
forum_admin_settings | ( | ) |
Form builder for the forum settings page.
Definition at line 188 of file forum.admin.inc.
References drupal_map_assoc(), t(), and variable_get().
forum_confirm_delete | ( | &$ | form_state, | |
$ | tid | |||
) |
Returns a confirmation page for deleting a forum taxonomy term.
$tid | ID of the term to be deleted |
Definition at line 162 of file forum.admin.inc.
References name, t(), and url().
forum_confirm_delete_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Implementation of forms api _submit call. Deletes a forum after confirmation.
Definition at line 174 of file forum.admin.inc.
References drupal_set_message(), t(), and watchdog().
forum_form_main | ( | $ | type, | |
$ | edit = array() | |||
) |
Definition at line 9 of file forum.admin.inc.
References $type, drupal_get_form(), and t().
forum_form_submit | ( | $ | form, | |
&$ | form_state | |||
) |
Process forum form and container form submissions.
Definition at line 72 of file forum.admin.inc.
References $status, $type, drupal_set_message(), t(), variable_get(), and variable_set().
forum_overview | ( | &$ | form_state | ) |
Returns an overview list of existing forums and containers
Definition at line 217 of file forum.admin.inc.
References drupal_set_title(), element_children(), l(), module_load_include(), t(), taxonomy_overview_terms(), url(), and variable_get().