function ad_admin_list in Advertisement 6
Same name and namespace in other branches
- 5.2 ad.module \ad_admin_list()
- 5 ad.module \ad_admin_list()
- 6.3 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.admin.inc, line 14 - Advertisement admin pages and functions.
Code
function ad_admin_list() {
_ad_check_installation();
$output = drupal_get_form('ad_filter_form');
if (isset($_POST['operation']) && $_POST['operation'] == 'delete' && isset($_POST['ads'])) {
return drupal_get_form('ad_multiple_delete_confirm');
}
$output .= drupal_get_form('ad_admin_ads');
return $output;
}