| 1 |
<?php if (!empty($data['status_toolbar'])) echo '<input type="hidden" id="acym__toolbar__statuses-value" value="'.acym_escape(json_encode($data['status_toolbar'])).'">'; ?> |
| 2 |
<div class="grid-x acym__toolbar acym__content align-justify"> |
| 3 |
<div class="cell"> |
| 4 |
<div class="grid-x grid-margin-x margin-y"> |
| 5 |
<?php if (!empty($data['leftPart'])) { ?> |
| 6 |
<div class="large-3 medium-6 small-12 cell"> |
| 7 |
<?php echo $data['leftPart']; ?> |
| 8 |
</div> |
| 9 |
<?php if (!empty($data['moreOptionsPart'])) { ?> |
| 10 |
<button id="acym__toolbar__button-more-filters" type="button" class="medium-6 button button-secondary cell large-shrink"> |
| 11 |
<i class="acymicon-filter"></i> |
| 12 |
<?php echo acym_translation('ACYM_SHOW_FILTERS'); ?> |
| 13 |
</button> |
| 14 |
<?php } ?> |
| 15 |
<?php } ?> |
| 16 |
<div class="cell large-3 xlarge-auto show-for-large"></div> |
| 17 |
<?php echo $data['rightPart']; ?> |
| 18 |
</div> |
| 19 |
</div> |
| 20 |
</div> |
| 21 |
<div class="grid-x acym__toolbar__more-filters acym__content" style="display: none;"> |
| 22 |
<div class="cell"> |
| 23 |
<div class="grid-x grid-margin-x grid-margin-y margin-bottom-1"> |
| 24 |
<?php foreach ($data['moreOptionsPart'] as $option) { ?> |
| 25 |
<div class="cell medium-3 margin-left-1"> |
| 26 |
<?php echo $option; ?> |
| 27 |
</div> |
| 28 |
<?php } ?> |
| 29 |
</div> |
| 30 |
</div> |
| 31 |
<div class="cell"> |
| 32 |
<div class="grid-x grid-margin-x grid-margin-y align-right"> |
| 33 |
<?php if (!empty($data['cleartask'])) { ?> |
| 34 |
<input type="hidden" name="cleartask" value="<?php echo acym_escape($data['cleartask']); ?>" /> |
| 35 |
<?php } ?> |
| 36 |
<button data-task="clearFilters" |
| 37 |
type="button" |
| 38 |
class="cell medium-shrink acy_button_submit button button-secondary"><?php echo acym_translation('ACYM_CLEAR_FILTERS'); ?></button> |
| 39 |
<button id="acym__toolbar__more-filters-apply" type="button" class="cell medium-shrink button"> |
| 40 |
<?php echo acym_translation('ACYM_APPLY_FILTERS'); ?> |
| 41 |
</button> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
</div> |
| 45 |
|
| 46 |
|