1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,23 @@ |
1 |
+<?php $this->extend('block_searchable'); ?> |
|
2 |
+ |
|
3 |
+<?php $this->block('content'); ?> |
|
4 |
+ |
|
5 |
+<form id="form_oxTicketSelect_<?= $this->id ?>"<?php if ($this->action): ?> action="<?= $this->action ?>"<?php endif; ?> method="get"> |
|
6 |
+ <div class="formbody"> |
|
7 |
+ <div class="widget widget-select w100"> |
|
8 |
+ <label for="ticket_select_<?= $this->id ?>"><?= $this->selectLabel ?></label> |
|
9 |
+ <select class="select" name="ticket_select" id="ticket_select_<?= $this->id ?>"> |
|
10 |
+ <option value="">-</option> |
|
11 |
+ <?php foreach ($this->selectOptions as $option): ?> |
|
12 |
+ <option value="<?= $option['OXID'] ?>"<?php if (\Input::get('ticket_select') && \Input::get('ticket_select') == $option['OXID']): ?> selected<?php endif; ?>><?php echo ($option['PARENTTITLE'] ? $option['PARENTTITLE'].' '.$option['OXVARSELECT'] : $option['OXTITLE']); ?></option> |
|
13 |
+ <?php endforeach; ?> |
|
14 |
+ </select> |
|
15 |
+ </div> |
|
16 |
+ |
|
17 |
+ <div class="submit_container widget lblp button_block"> |
|
18 |
+ <button type="submit" class="submit"><?= $this->submitLabel ?></button> |
|
19 |
+ </div> |
|
20 |
+ </div> |
|
21 |
+</form> |
|
22 |
+ |
|
23 |
+<?php $this->endblock(); ?> |