1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,21 +0,0 @@ |
1 |
-<?php $this->extend('form_row'); ?> |
|
2 |
- |
|
3 |
-<?php $this->block('label'); ?> |
|
4 |
- <?php if ($this->hasErrors()): ?> |
|
5 |
- <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span> |
|
6 |
- <?php endif; ?> |
|
7 |
- |
|
8 |
- <?php if ($this->label): ?> |
|
9 |
- <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>> |
|
10 |
- <?php if ($this->mandatory): ?> |
|
11 |
- <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span> |
|
12 |
- <?php else: ?> |
|
13 |
- <?= $this->label; ?> |
|
14 |
- <?php endif; ?> |
|
15 |
- </label> |
|
16 |
- <?php endif; ?> |
|
17 |
-<?php $this->endblock(); ?> |
|
18 |
- |
|
19 |
-<?php $this->block('field'); ?> |
|
20 |
- <input type="file" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="upload<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>> |
|
21 |
-<?php $this->endblock(); ?> |
... | ... |
@@ -2,20 +2,20 @@ |
2 | 2 |
|
3 | 3 |
<?php $this->block('label'); ?> |
4 | 4 |
<?php if ($this->hasErrors()): ?> |
5 |
- <span class="errortip" title="<?php echo htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span> |
|
5 |
+ <span class="errortip" title="<?= htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span> |
|
6 | 6 |
<?php endif; ?> |
7 | 7 |
|
8 | 8 |
<?php if ($this->label): ?> |
9 |
- <label for="ctrl_<?php echo $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>> |
|
9 |
+ <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>> |
|
10 | 10 |
<?php if ($this->mandatory): ?> |
11 |
- <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span> |
|
11 |
+ <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span> |
|
12 | 12 |
<?php else: ?> |
13 |
- <?php echo $this->label; ?> |
|
13 |
+ <?= $this->label; ?> |
|
14 | 14 |
<?php endif; ?> |
15 | 15 |
</label> |
16 | 16 |
<?php endif; ?> |
17 | 17 |
<?php $this->endblock(); ?> |
18 | 18 |
|
19 | 19 |
<?php $this->block('field'); ?> |
20 |
- <input type="file" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="upload<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>> |
|
20 |
+ <input type="file" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="upload<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>> |
|
21 | 21 |
<?php $this->endblock(); ?> |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,21 @@ |
1 |
+<?php $this->extend('form_row'); ?> |
|
2 |
+ |
|
3 |
+<?php $this->block('label'); ?> |
|
4 |
+ <?php if ($this->hasErrors()): ?> |
|
5 |
+ <span class="errortip" title="<?php echo htmlspecialchars($this->getErrorsAsString()); ?>" data-tooltip="position: top; offsetY: 10; theme: tooltipster-error; contentAsHTML: true;">?</span> |
|
6 |
+ <?php endif; ?> |
|
7 |
+ |
|
8 |
+ <?php if ($this->label): ?> |
|
9 |
+ <label for="ctrl_<?php echo $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>> |
|
10 |
+ <?php if ($this->mandatory): ?> |
|
11 |
+ <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span> |
|
12 |
+ <?php else: ?> |
|
13 |
+ <?php echo $this->label; ?> |
|
14 |
+ <?php endif; ?> |
|
15 |
+ </label> |
|
16 |
+ <?php endif; ?> |
|
17 |
+<?php $this->endblock(); ?> |
|
18 |
+ |
|
19 |
+<?php $this->block('field'); ?> |
|
20 |
+ <input type="file" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="upload<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>> |
|
21 |
+<?php $this->endblock(); ?> |