function theme_gallery_assist_form_new in Gallery Assist 6
Theme the "Add and edit items" form. Note: required to output prefix/suffix.
2 theme calls to theme_gallery_assist_form_new()
- gallery_assist_sorting_items_standard in ./
gallery_assist.module - _gallery_assist_form in ./
gallery_assist.module - Build the form section for upload- and items-administration.
File
- ./
gallery_assist.module, line 1303 - Drupal content type with gallery functionality.
Code
function theme_gallery_assist_form_new($form) {
// Define the output as draggable table
if (!is_numeric(variable_get('gallery_assist_editform_pager_limit', 'none'))) {
drupal_add_tabledrag('gallery-assist-list', 'order', 'sibling', 'gallery-assist-weight');
}
$output = drupal_render($form);
return $output;
}