diff options
Diffstat (limited to 'modules/forum/forum.admin.inc')
-rw-r--r-- | modules/forum/forum.admin.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/forum/forum.admin.inc b/modules/forum/forum.admin.inc index d7dbe5fa3..105e2fd26 100644 --- a/modules/forum/forum.admin.inc +++ b/modules/forum/forum.admin.inc @@ -99,6 +99,21 @@ function forum_form_submit($form, &$form_state) { } /** + * Theme forum forms. + * + * By default this does not alter the appearance of a form at all, + * but is provided as a convenience for themers. + * + * @param $variables + * An associative array containing: + * - form: An associative array containing the structure of the form. + * @ingroup themeable + */ +function theme_forum_form($variables) { + return drupal_render_children($variables['form']); +} + +/** * Returns a form for adding a container to the forum vocabulary * * @param $edit Associative array containing a container term to be added or edited. |