You are here

function theme_imagepicker_quota in Image Picker 7

Same name and namespace in other branches
  1. 6.2 imagepicker.module \theme_imagepicker_quota()
1 theme call to theme_imagepicker_quota()
imagepicker_admin_images in ./imagepicker.admin.inc

File

./imagepicker.module, line 1638
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function theme_imagepicker_quota($variables) {
  $form = $variables['quotaform'];
  $message = $variables['message'];
  $label = $variables['label'];
  $output = $label ? '<fieldset><legend>' . $label . '</legend>' : '';
  $output .= $message ? '<div class="messages">' . $message . '</div>' : '';
  $output .= $form ? render($form) : '';
  $output .= $label ? '</fieldset>' : '';
  return $output;
}