function theme_imagepicker_browse_admin in Image Picker 6.2
Same name and namespace in other branches
- 7 imagepicker.module \theme_imagepicker_browse_admin()
1 theme call to theme_imagepicker_browse_admin()
File
- ./
imagepicker.module, line 1861 - Enables permitted roles to upload images for insertion into configured nodes.
Code
function theme_imagepicker_browse_admin($forms = '', $message = "", $pref = "", $suff = "", $label = "") {
$output = $label ? '<fieldset><legend>' . $label . '</legend>' : '';
if ($forms) {
$output .= $pref;
$output .= $forms['browse_search'];
$output .= $forms['browse_groups'];
$output .= $forms['browse_public'];
$output .= $forms['browse_public_groups'];
$output .= $forms['browse_admin'];
$output .= $suff;
}
else {
$output .= '<div class="messages">' . $message . '</div>';
}
$output .= $label ? '</fieldset>' : '';
return $output;
}