Révision 599a39cd
Ajouté par Assos Assos il y a environ 3 ans
drupal7/sites/all/modules/date/date_views/theme/date-views-filter-form.tpl.php | ||
---|---|---|
4 | 4 |
* @file |
5 | 5 |
* Template to display the Views date filter form. |
6 | 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.
|
|
7 |
* Values available vary depending on the operator. The availability of date vs
|
|
8 |
* adjustment depending on the filter settings. It can be date-only, date and
|
|
9 |
* adjustment, or adjustment only. |
|
10 | 10 |
* |
11 |
* If the operator is anything but 'Is between' or 'Is not between', |
|
12 |
* a single date and adjustment field is available.
|
|
11 |
* If the operator is anything but 'Is between' or 'Is not between', a single
|
|
12 |
* date and adjustment field is available. |
|
13 | 13 |
* |
14 | 14 |
* $date |
15 | 15 |
* $adjustment |
16 | 16 |
* |
17 |
* If the operator is 'Is between' or 'Is not between', |
|
18 |
* two date and adjustment fields are available.
|
|
17 |
* If the operator is 'Is between' or 'Is not between', two date and adjustment
|
|
18 |
* fields are available. |
|
19 | 19 |
* |
20 | 20 |
* $mindate |
21 | 21 |
* $minadjustment |
... | ... | |
28 | 28 |
*/ |
29 | 29 |
?> |
30 | 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> |
|
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; ?> |
|
36 | 50 |
</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> |
|
51 |
<div class="date-clear form-item"><div class="description"> |
|
52 |
<?php print $description; ?> |
|
53 |
</div></div> |
|
55 | 54 |
</div> |
Formats disponibles : Unified diff
Weekly update of contrib modules