You are here

function ad_admin_list in Advertisement 5

Same name and namespace in other branches
  1. 5.2 ad.module \ad_admin_list()
  2. 6.3 ad.admin.inc \ad_admin_list()
  3. 6 ad.admin.inc \ad_admin_list()
  4. 6.2 ad.admin.inc \ad_admin_list()
  5. 7 ad.admin.inc \ad_admin_list()

Build default ad administration page.

1 string reference to 'ad_admin_list'
ad_menu in ./ad.module
Implementation of hook_menu().

File

./ad.module, line 1659
An advertising system for Drupal powered websites.

Code

function ad_admin_list() {
  _ad_check_install();
  $output = drupal_get_form('ad_filter_form');
  if ($_POST['operation'] == 'delete' && $_POST['ads']) {
    return drupal_get_form('ad_multiple_delete_confirm');
  }
  $output .= drupal_get_form('ad_admin_ads');
  return $output;
}