function ad_report_range_form_submit in Advertisement 5.2
Same name and namespace in other branches
- 6.3 report/ad_report.module \ad_report_range_form_submit()
- 6.2 report/ad_report.module \ad_report_range_form_submit()
- 7 report/ad_report.module \ad_report_range_form_submit()
Redirect to URL for displaying report.
File
- report/
ad_report.module, line 484 - Provides comprehensive charts and reports about advertising statistics.
Code
function ad_report_range_form_submit($form_id, $form_values) {
$start = date('YmdHi', strtotime($form_values['start']));
$end = date('YmdHi', strtotime($form_values['end']));
drupal_goto($form_values['url'] . "/{$start}/{$end}");
}