function theme_imagepicker_user_config in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \theme_imagepicker_user_config()
1 theme call to theme_imagepicker_user_config()
- imagepicker_user_config_admin in ./
imagepicker.user.inc - Menu callback; presents the configuration settings form for imagepicker user.
File
- ./
imagepicker.module, line 1503 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function theme_imagepicker_user_config($form, $label = '', $help = '', $message1 = '', $message2 = '') {
$output = $label ? '<fieldset><legend>' . $label . '</legend>' : '';
$output .= $help ? '<div class="imgp_help">' . $help . '</div>' : '';
$output .= $message1 ? '<div class="messages">' . $message1 . '</div>' : '';
$output .= $form;
$output .= $message2 ? '<div class="messages">' . $message2 . '</div>' : '';
$output .= $label ? '</fieldset>' : '';
return $output;
}