| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: date-views-filter-form.tpl.php,v 1.1.2.4 2008/12/08 12:15:57 karens Exp $ 3 /** 4 * @file 5 * Template to display the Views date filter form. 6 * 7 * Values available vary depending on the operator. The availability 8 * of date vs adjustment depending on the filter settings. It can 9 * be date-only, date and adjustment, or adjustment only. 10 * 11 * If the operator is anything but 'Is between' or 'Is not between', 12 * a single date and adjustment field is available. 13 * 14 * $date 15 * $adjustment 16 * 17 * If the operator is 'Is between' or 'Is not between', 18 * two date and adjustment fields are available. 19 * 20 * $mindate 21 * $minadjustment 22 * $maxdate 23 * $maxadjustment 24 * 25 * A description field is also available. 26 * 27 * $description 28 */ 29 ?> 30 <div class="date-views-filter-wrapper"> 31 <div class="container-inline-date date-clear"> 32 <?php if (!empty($date) || !empty($adjustment)) : ?> 33 <div class="date-clear"> 34 <div class="date-views-filter"><?php print $date; ?></div> 35 <div class="date-views-filter"><?php print $adjustment ?></div> 36 </div> 37 <?php endif; ?> 38 <?php if (!empty($mindate) || !empty($minadjustment)) : ?> 39 <div class="date-clear"> 40 <div class="date-views-filter"><?php print $mindate; ?></div> 41 <div class="date-views-filter"><?php print $minadjustment; ?></div> 42 </div> 43 <?php endif; ?> 44 <?php if (!empty($maxdate) || !empty($maxadjustment)) : ?> 45 <div class="date-clear"> 46 <div class="date-views-filter"><?php print $maxdate; ?></div> 47 <div class="date-views-filter"><?php print $maxadjustment; ?></div> 48 </div> 49 <?php endif; ?> 50 </div> 51 <div class="date-clear form-item"><div class="description"> 52 <?php print $description; ?> 53 </div> 54 </div> 55 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |