... | ... |
@@ -2,13 +2,23 @@ |
2 | 2 |
|
3 | 3 |
<?php $this->block('content'); ?> |
4 | 4 |
|
5 |
+<?php if (!empty($this->filters)): ?> |
|
6 |
+ <div class="member-list-filter"> |
|
7 |
+ <?php $this->insert('memberExtension_filter', [ |
|
8 |
+ 'filters' => $this->filters, |
|
9 |
+ 'requestToken' => $this->requestToken, |
|
10 |
+ 'formId' => $this->filterFormId, |
|
11 |
+ ]) ?> |
|
12 |
+ </div> |
|
13 |
+<?php endif; ?> |
|
14 |
+ |
|
5 | 15 |
<?php if (empty($this->members)): ?> |
6 |
- <p class="empty message"><?=$this->empty?></p> |
|
16 |
+ <p class="empty message"><?=$this->empty?></p> |
|
7 | 17 |
<?php else: ?> |
8 |
- <?php foreach ($this->members as $member): ?> |
|
9 |
- <?=$member?> |
|
10 |
- <?php endforeach; ?> |
|
11 |
- <?= $this->pagination ?> |
|
18 |
+ <?php foreach ($this->members as $member): ?> |
|
19 |
+ <?=$member?> |
|
20 |
+ <?php endforeach; ?> |
|
21 |
+ <?= $this->pagination ?> |
|
12 | 22 |
<?php endif; ?> |
13 | 23 |
|
14 | 24 |
<?php $this->endblock(); ?> |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,14 @@ |
1 |
+<?php $this->extend('block_unsearchable'); ?> |
|
2 |
+ |
|
3 |
+<?php $this->block('content'); ?> |
|
4 |
+ |
|
5 |
+<?php if (empty($this->members)): ?> |
|
6 |
+ <p class="empty message"><?=$this->empty?></p> |
|
7 |
+<?php else: ?> |
|
8 |
+ <?php foreach ($this->members as $member): ?> |
|
9 |
+ <?=$member?> |
|
10 |
+ <?php endforeach; ?> |
|
11 |
+ <?= $this->pagination ?> |
|
12 |
+<?php endif; ?> |
|
13 |
+ |
|
14 |
+<?php $this->endblock(); ?> |