C:/drupal/modules/forum/forum.admin.inc File Reference

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)


Detailed Description

Administrative page callbacks for the forum module.

Definition in file forum.admin.inc.


Function Documentation

_forum_parent_select ( tid,
title,
child_type 
)

Returns a select box for available parent terms

Parameters:
$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().

Here is the call graph for this function:

forum_admin_settings (  ) 

Form builder for the forum settings page.

See also:
system_settings_form()

Definition at line 188 of file forum.admin.inc.

References drupal_map_assoc(), t(), and variable_get().

Here is the call graph for this function:

forum_confirm_delete ( &$  form_state,
tid 
)

Returns a confirmation page for deleting a forum taxonomy term.

Parameters:
$tid ID of the term to be deleted

Definition at line 162 of file forum.admin.inc.

References name, t(), and url().

Here is the call graph for this function:

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().

Here is the call graph for this function:

forum_form_main ( type,
edit = array() 
)

Definition at line 9 of file forum.admin.inc.

References $type, drupal_get_form(), and t().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Generated on Mon Jun 2 15:08:21 2008 for SimpleTest by  1.5.5