You are here

function theme_asaf_examples_areas in Asaf (ajax submit for any form) 8

Same name and namespace in other branches
  1. 7 modules/asaf_example/asaf_example.api.areas.inc \theme_asaf_examples_areas()
1 theme call to theme_asaf_examples_areas()
asaf_example_api_areas in modules/asaf_example/asaf_example.api.areas.inc

File

modules/asaf_example/asaf_example.api.areas.inc, line 95

Code

function theme_asaf_examples_areas($variables) {
  $output = '';
  $element = $variables['element'];
  $output .= drupal_render($element['up']);
  $output .= drupal_render($element['time']);
  $output .= '<div class="area1-wrapper">' . drupal_render($element['area1']) . '</div>';
  $output .= '<div class="area2-wrapper">' . drupal_render($element['area2']) . '</div>';
  $output .= drupal_render($element['actions']);
  foreach (element_children($element, TRUE) as $key) {
    $output .= drupal_render($element[$key]);
  }
  return $output;
}