Mercurial > defr > drupal > ad
comparison ad.admin.inc @ 7:6aeff3329e01 ad
maj module ad 2.1rc1
| author | piotre |
|---|---|
| date | Mon, 20 Jul 2009 13:54:40 +0000 |
| parents | 416ea999ed76 |
| children |
comparison
equal
deleted
inserted
replaced
| 6:b7653861e0b4 | 7:6aeff3329e01 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: ad.admin.inc,v 1.1.2.9.2.5 2009/04/16 14:24:53 jeremy Exp $ | 2 // $Id: ad.admin.inc,v 1.1.2.9.2.6 2009/07/11 16:39:21 jeremy Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * Advertisement admin pages and functions. | 6 * Advertisement admin pages and functions. |
| 7 * | 7 * |
| 285 */ | 285 */ |
| 286 function ad_filters() { | 286 function ad_filters() { |
| 287 $session = &$_SESSION['ad_overview_filter']; | 287 $session = &$_SESSION['ad_overview_filter']; |
| 288 $session = is_array($session) ? $session : array(); | 288 $session = is_array($session) ? $session : array(); |
| 289 // Regular filters | 289 // Regular filters |
| 290 $options = array(); | |
| 291 $options = array( | 290 $options = array( |
| 292 'pending-1' => t('pending'), | 291 'pending-1' => t('pending'), |
| 293 'approved-1' => t('approved'), | 292 'approved-1' => t('approved'), |
| 294 'active-1' => t('active'), | 293 'active-1' => t('active'), |
| 295 'offline-1' => t('offline'), | 294 'offline-1' => t('offline'), |
