You are here

function theme_google_admanager_ad_slots in DFP Small Business (Google Ad Manager) 6.3

1 theme call to theme_google_admanager_ad_slots()
google_admanager_admin_settings_form in ./google_admanager.admin.inc
Implementation of hook_admin_settings() for configuring the module.

File

./google_admanager.admin.inc, line 339
Admin functionality.

Code

function theme_google_admanager_ad_slots($form) {
  $head = array(
    t('Name'),
    t('Width'),
    t('Height'),
    '',
  );
  $rows = array();
  foreach (element_children($form) as $key) {
    $rows[] = array(
      drupal_render($form[$key]['name']),
      drupal_render($form[$key]['width']),
      drupal_render($form[$key]['height']),
      drupal_render($form[$key]['delete']),
    );
  }
  return theme('table', $head, $rows);
}