function theme_imagepicker_quota_message in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \theme_imagepicker_quota_message()
2 theme calls to theme_imagepicker_quota_message()
- imagepicker_postlet_upload in contribs/
imagepicker_postlet/ imagepicker_postlet.module - Function to display the postlet applet
- imagepicker_quota_ok in ./
imagepicker.functions.inc - Checks quotas
File
- ./
imagepicker.module, line 1431 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function theme_imagepicker_quota_message($message1, $message2, $form, $label, $help) {
$output = $label ? '<fieldset><legend>' . $label . '</legend>' : '';
$output .= $message1 ? '<div class="messages">' . $message1 . '</div>' : '';
$output .= $help ? '<div class="imgp_help">' . $help . '</div>' : '';
$output .= $form;
$output .= $message2 ? '<div class="messages">' . $message2 . '</div>' : '';
$output .= $label ? '</fieldset>' : '';
return $output;
}