function ad_admin_list in Advertisement 5
Same name and namespace in other branches
- 5.2 ad.module \ad_admin_list()
- 6.3 ad.admin.inc \ad_admin_list()
- 6 ad.admin.inc \ad_admin_list()
- 6.2 ad.admin.inc \ad_admin_list()
- 7 ad.admin.inc \ad_admin_list()
Build default ad administration page.
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;
}