Browse code

Templates now use php short open tags

Benjamin Roth authored on17/08/2015 17:19:47
Showing21 changed files
... ...
@@ -1,27 +1,27 @@
1 1
 
2 2
 <!-- indexer::stop -->
3
-<div class="<?php echo $this->class; ?> <?php echo $this->tableless ? 'tableless' : 'tableform'; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
3
+<div class="<?= $this->class; ?> <?php echo $this->tableless ? 'tableless' : 'tableform'; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
4 4
 
5 5
   <?php if ($this->headline): ?>
6
-    <<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
6
+    <<?= $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
7 7
   <?php endif; ?>
8 8
 
9
-  <form<?php if ($this->action): ?> action="<?php echo $this->action; ?>"<?php endif; ?> id="<?php echo $this->formId; ?>" method="<?php echo $this->method; ?>" enctype="<?php echo $this->enctype; ?>"<?php echo $this->attributes; ?><?php echo $this->novalidate; ?>>
9
+  <form<?php if ($this->action): ?> action="<?= $this->action; ?>"<?php endif; ?> id="<?php echo $this->formId; ?>" method="<?php echo $this->method; ?>" enctype="<?php echo $this->enctype; ?>"<?php echo $this->attributes; ?><?php echo $this->novalidate; ?>>
10 10
     <div class="formbody">
11 11
       <?php if ($this->method != 'get'): ?>
12
-        <input type="hidden" name="FORM_SUBMIT" value="<?php echo $this->formSubmit; ?>">
12
+        <input type="hidden" name="FORM_SUBMIT" value="<?= $this->formSubmit; ?>">
13 13
         <input type="hidden" name="REQUEST_TOKEN" value="{{request_token}}">
14 14
         <?php if ($this->maxFileSize): ?>
15
-          <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $this->maxFileSize; ?>">
15
+          <input type="hidden" name="MAX_FILE_SIZE" value="<?= $this->maxFileSize; ?>">
16 16
         <?php endif; ?>
17 17
       <?php endif; ?>
18
-      <?php echo $this->hidden; ?>
18
+      <?= $this->hidden; ?>
19 19
       <?php if (!$this->tableless): ?>
20 20
         <table>
21
-          <?php echo $this->fields; ?>
21
+          <?= $this->fields; ?>
22 22
         </table>
23 23
       <?php else: ?>
24
-        <?php echo $this->fields; ?>
24
+        <?= $this->fields; ?>
25 25
       <?php endif; ?>
26 26
     </div>
27 27
   </form>
... ...
@@ -2,24 +2,24 @@
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->getQuestion(); ?><span class="mandatory">*</span>
11
+        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->getQuestion(); ?><span class="mandatory">*</span>
12 12
       <?php else: ?>
13
-        <?php echo $this->getQuestion(); ?>
13
+        <?= $this->getQuestion(); ?>
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="text" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="captcha mandatory<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
20
+  <input type="text" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="captcha mandatory<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
21 21
 
22 22
   <?php if ($this->addSubmit): ?>
23
-    <input type="submit" id="ctrl_<?php echo $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>">
23
+    <input type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>">
24 24
   <?php endif; ?>
25 25
 <?php $this->endblock(); ?>
... ...
@@ -2,24 +2,24 @@
2 2
 
3 3
 <?php $this->block('field'); ?>
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
-  <fieldset id="ctrl_<?php echo $this->id; ?>" class="checkbox_container<?php if ($this->class) echo ' ' . $this->class; ?>">
7
+  <fieldset id="ctrl_<?= $this->id; ?>" class="checkbox_container<?php if ($this->class) echo ' ' . $this->class; ?>">
8 8
 
9 9
     <?php if ($this->label): ?>
10 10
       <legend>
11 11
         <?php if ($this->mandatory): ?>
12
-          <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
12
+          <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
13 13
         <?php else: ?>
14
-          <?php echo $this->label; ?>
14
+          <?= $this->label; ?>
15 15
         <?php endif; ?>
16 16
       </legend>
17 17
     <?php endif; ?>
18 18
 
19
-    <input type="hidden" name="<?php echo $this->name; ?>" value="">
19
+    <input type="hidden" name="<?= $this->name; ?>" value="">
20 20
 
21 21
     <?php foreach ($this->getOptions() as $option): ?>
22
-      <span><input type="checkbox" name="<?php echo $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="checkbox" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
22
+      <span><input type="checkbox" name="<?= $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="checkbox" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
23 23
     <?php endforeach; ?>
24 24
 
25 25
   </fieldset>
... ...
@@ -1,14 +1,14 @@
1 1
 
2 2
 <?php if ($this->tableless): ?>
3 3
 
4
-  <div class="<?php echo $this->prefix; ?> explanation<?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?>">
5
-    <?php echo $this->generate(); ?>
4
+  <div class="<?= $this->prefix; ?> explanation<?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?>">
5
+    <?= $this->generate(); ?>
6 6
   </div>
7 7
 
8 8
 <?php else: ?>
9 9
 
10
-  <tr class="<?php echo $this->rowClass; ?>">
11
-    <td colspan="2" class="colspan explanation"><?php echo $this->generate(); ?></td>
10
+  <tr class="<?= $this->rowClass; ?>">
11
+    <td colspan="2" class="colspan explanation"><?= $this->generate(); ?></td>
12 12
   </tr>
13 13
 
14 14
 <?php endif; ?>
... ...
@@ -1,9 +1,9 @@
1 1
 
2 2
 <?php if ($this->fsType == 'fsStart'): ?>
3 3
 
4
-  <fieldset<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
4
+  <fieldset<?php if ($this->class): ?> class="<?= $this->class; ?>"<?php endif; ?>>
5 5
   <?php if ($this->label): ?>
6
-    <legend><?php echo $this->label; ?></legend>
6
+    <legend><?= $this->label; ?></legend>
7 7
   <?php endif; ?>
8 8
 
9 9
 <?php else: ?>
... ...
@@ -1,14 +1,14 @@
1 1
 
2 2
 <?php if ($this->tableless): ?>
3 3
 
4
-  <div class="<?php echo $this->prefix; ?> headline w100">
5
-    <?php echo $this->generate(); ?>
4
+  <div class="<?= $this->prefix; ?> headline w100">
5
+    <?= $this->generate(); ?>
6 6
   </div>
7 7
 
8 8
 <?php else: ?>
9 9
 
10
-  <tr class="<?php echo $this->rowClass; ?>">
11
-    <td colspan="2" class="colspan headline"><?php echo $this->generate(); ?></td>
10
+  <tr class="<?= $this->rowClass; ?>">
11
+    <td colspan="2" class="colspan headline"><?= $this->generate(); ?></td>
12 12
   </tr>
13 13
 
14 14
 <?php endif; ?>
... ...
@@ -1,2 +1,2 @@
1 1
 
2
-<input type="hidden" name="<?php echo $this->name; ?>" value="<?php echo $this->value; ?>">
2
+<input type="hidden" name="<?= $this->name; ?>" value="<?php echo $this->value; ?>">
... ...
@@ -1,2 +1,2 @@
1 1
 
2
-<?php echo $this->html; ?>
2
+<?= $this->html; ?>
... ...
@@ -1,14 +1,14 @@
1 1
 
2 2
 <?php if ($this->tableless): ?>
3 3
 
4
-  <div class="<?php echo $this->class; ?>">
5
-    <?php echo $this->message; ?>
4
+  <div class="<?= $this->class; ?>">
5
+    <?= $this->message; ?>
6 6
   </div>
7 7
 
8 8
 <?php else: ?>
9 9
 
10
-  <tr class="<?php echo $this->class; ?>">
11
-    <td colspan="2"><div class="colspan"><?php echo $this->message; ?></div></td>
10
+  <tr class="<?= $this->class; ?>">
11
+    <td colspan="2"><div class="colspan"><?= $this->message; ?></div></td>
12 12
   </tr>
13 13
 
14 14
 <?php endif; ?>
... ...
@@ -2,40 +2,40 @@
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="password" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
20
+  <input type="password" name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
21 21
 
22 22
   <?php if ($this->addSubmit): ?>
23
-    <input type="submit" id="ctrl_<?php echo $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>">
23
+    <input type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit" value="<?php echo $this->slabel; ?>">
24 24
   <?php endif; ?>
25 25
 <?php $this->endblock(); ?>
26 26
 
27 27
 <?php $this->block('label2'); ?>
28 28
   <?php if ($this->confirmLabel): ?>
29
-    <label for="ctrl_<?php echo $this->id; ?>_confirm" class="confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
29
+    <label for="ctrl_<?= $this->id; ?>_confirm" class="confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
30 30
       <?php if ($this->mandatory): ?>
31
-        <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->confirmLabel; ?><span class="mandatory">*</span>
31
+        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->confirmLabel; ?><span class="mandatory">*</span>
32 32
       <?php else: ?>
33
-        <?php echo $this->confirmLabel; ?>
33
+        <?= $this->confirmLabel; ?>
34 34
       <?php endif; ?>
35 35
     </label>
36 36
   <?php endif; ?>
37 37
 <?php $this->endblock(); ?>
38 38
 
39 39
 <?php $this->block('field2'); ?>
40
-  <input type="password" name="<?php echo $this->name; ?>_confirm" id="ctrl_<?php echo $this->id; ?>_confirm" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
40
+  <input type="password" name="<?= $this->name; ?>_confirm" id="ctrl_<?php echo $this->id; ?>_confirm" class="text password<?php if ($this->class) echo ' ' . $this->class; ?>" value=""<?php echo $this->getAttributes(); ?>>
41 41
 <?php $this->endblock(); ?>
... ...
@@ -2,22 +2,22 @@
2 2
 
3 3
 <?php $this->block('field'); ?>
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
-  <fieldset id="ctrl_<?php echo $this->id; ?>" class="radio_container<?php if ($this->class) echo ' ' . $this->class; ?>">
7
+  <fieldset id="ctrl_<?= $this->id; ?>" class="radio_container<?php if ($this->class) echo ' ' . $this->class; ?>">
8 8
 
9 9
     <?php if ($this->label): ?>
10 10
       <legend>
11 11
         <?php if ($this->mandatory): ?>
12
-          <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
12
+          <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
13 13
         <?php else: ?>
14
-          <?php echo $this->label; ?>
14
+          <?= $this->label; ?>
15 15
         <?php endif; ?>
16 16
       </legend>
17 17
     <?php endif; ?>
18 18
 
19 19
     <?php foreach ($this->getOptions() as $option): ?>
20
-      <span><input type="radio" name="<?php echo $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="radio" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
20
+      <span><input type="radio" name="<?= $option['name']; ?>" id="opt_<?php echo $option['id']; ?>" class="radio" value="<?php echo $option['value']; ?>"<?php echo $option['checked']; ?><?php echo $option['attributes']; ?>> <label id="lbl_<?php echo $option['id']; ?>" for="opt_<?php echo $option['id']; ?>"><?php echo $option['label']; ?></label></span>
21 21
     <?php endforeach; ?>
22 22
 
23 23
   </fieldset>
... ...
@@ -1,7 +1,7 @@
1 1
 
2 2
 <?php if ($this->tableless): ?>
3 3
 
4
-  <div class="<?php echo $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>">
4
+  <div class="<?= $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>">
5 5
     <?php $this->block('label'); ?>
6 6
     <?php $this->endblock(); ?>
7 7
 
... ...
@@ -15,7 +15,7 @@
15 15
 
16 16
 <?php else: ?>
17 17
 
18
-  <tr class="<?php echo $this->rowClass; ?>">
18
+  <tr class="<?= $this->rowClass; ?>">
19 19
     <td class="col_0 col_first">
20 20
       <?php $this->block('label'); ?>
21 21
         &nbsp;
... ...
@@ -1,7 +1,7 @@
1 1
 
2 2
 <?php if ($this->tableless): ?>
3 3
 
4
-  <div class="<?php echo $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?>">
4
+  <div class="<?= $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?>">
5 5
     <?php $this->block('label'); ?>
6 6
     <?php $this->endblock(); ?>
7 7
 
... ...
@@ -9,7 +9,7 @@
9 9
     <?php $this->endblock(); ?>
10 10
   </div>
11 11
 
12
-  <div class="<?php echo $this->prefix; ?> confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
12
+  <div class="<?= $this->prefix; ?> confirm<?php if ($this->class) echo ' ' . $this->class; ?>">
13 13
     <?php $this->block('label2'); ?>
14 14
     <?php $this->endblock(); ?>
15 15
 
... ...
@@ -19,7 +19,7 @@
19 19
 
20 20
 <?php else: ?>
21 21
 
22
-  <tr class="<?php echo $this->rowClass; ?>">
22
+  <tr class="<?= $this->rowClass; ?>">
23 23
     <td class="col_0 col_first">
24 24
       <?php $this->block('label'); ?>
25 25
         &nbsp;
... ...
@@ -31,7 +31,7 @@
31 31
       <?php $this->endblock(); ?>
32 32
     </td>
33 33
   </tr>
34
-  <tr class="<?php echo $this->rowClassConfirm; ?>">
34
+  <tr class="<?= $this->rowClassConfirm; ?>">
35 35
     <td class="col_0 col_first">
36 36
       <?php $this->block('label2'); ?>
37 37
         &nbsp;
... ...
@@ -2,29 +2,29 @@
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
-  <select name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="<?php echo $this->class; ?>"<?php echo $this->getAttributes(); ?>>
20
+  <select name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="<?php echo $this->class; ?>"<?php echo $this->getAttributes(); ?>>
21 21
     <?php foreach ($this->getOptions() as $option): ?>
22 22
       <?php if ($option['type'] == 'group_start'): ?>
23
-        <optgroup label="<?php echo $option['label']; ?>">
23
+        <optgroup label="<?= $option['label']; ?>">
24 24
       <?php endif; ?>
25 25
 
26 26
       <?php if ($option['type'] == 'option'): ?>
27
-        <option value="<?php echo $option['value']; ?>"<?php echo $option['selected']; ?>><?php echo $option['label']; ?></option>
27
+        <option value="<?= $option['value']; ?>"<?php echo $option['selected']; ?>><?php echo $option['label']; ?></option>
28 28
       <?php endif; ?>
29 29
 
30 30
       <?php if ($option['type'] == 'group_end'): ?>
... ...
@@ -1,23 +1,23 @@
1 1
 <?php if ($this->tableless): ?>
2 2
 
3
-  <div class="submit_container widget<?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?><?php if ($this->eSM_fl_lblpadding): ?> lblp<?php endif; ?><?php if ($this->eSM_fl_alignment): ?> <?php echo $this->eSM_fl_alignment; ?><?php endif; ?>">
3
+  <div class="submit_container widget<?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?= $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?><?php if ($this->eSM_fl_lblpadding): ?> lblp<?php endif; ?><?php if ($this->eSM_fl_alignment): ?> <?php echo $this->eSM_fl_alignment; ?><?php endif; ?>">
4 4
     <?php if ($this->src): ?>
5
-      <input type="image" src="<?php echo $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
5
+      <input type="image" src="<?= $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
6 6
     <?php else: ?>
7
-      <button type="submit" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>><?php echo specialchars($this->slabel); ?></button>
7
+      <button type="submit" id="ctrl_<?= $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>"<?php echo $this->getAttributes(); ?>><?php echo specialchars($this->slabel); ?></button>
8 8
     <?php endif; ?>
9 9
   </div>
10 10
 
11 11
 <?php else: ?>
12 12
 
13
-  <tr class="<?php echo $this->rowClass; ?>">
13
+  <tr class="<?= $this->rowClass; ?>">
14 14
     <td class="col_0 col_first">&nbsp;</td>
15 15
     <td class="col_1 col_last">
16 16
       <div class="submit_container">
17 17
         <?php if ($this->src): ?>
18
-          <input type="image" src="<?php echo $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
18
+          <input type="image" src="<?= $this->src; ?>" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" title="<?php echo specialchars($this->slabel); ?>" alt="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
19 19
         <?php else: ?>
20
-          <input type="submit" id="ctrl_<?php echo $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
20
+          <input type="submit" id="ctrl_<?= $this->id; ?>" class="submit<?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->slabel); ?>"<?php echo $this->getAttributes(); ?>>
21 21
         <?php endif; ?>
22 22
       </div>
23 23
     </td>
... ...
@@ -2,19 +2,19 @@
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
   <?php if ($this->label): ?>
8
-    <label for="ctrl_<?php echo $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
8
+    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
9 9
       <?php if ($this->mandatory): ?>
10
-        <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
10
+        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
11 11
       <?php else: ?>
12
-        <?php echo $this->label; ?>
12
+        <?= $this->label; ?>
13 13
       <?php endif; ?>
14 14
     </label>
15 15
   <?php endif; ?>
16 16
 <?php $this->endblock(); ?>
17 17
 
18 18
 <?php $this->block('field'); ?>
19
-  <textarea name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="textarea<?php if ($this->class) echo ' ' . $this->class; ?>" rows="<?php echo $this->rows; ?>" cols="<?php echo $this->cols; ?>"<?php echo $this->getAttributes(); ?>><?php echo $this->value; ?></textarea>
19
+  <textarea name="<?= $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="textarea<?php if ($this->class) echo ' ' . $this->class; ?>" rows="<?php echo $this->rows; ?>" cols="<?php echo $this->cols; ?>"<?php echo $this->getAttributes(); ?>><?php echo $this->value; ?></textarea>
20 20
 <?php $this->endblock(); ?>
... ...
@@ -2,19 +2,19 @@
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
   <?php if ($this->label): ?>
8
-    <label for="ctrl_<?php echo $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
8
+    <label for="ctrl_<?= $this->id; ?>"<?php if ($this->class): ?> class="<?php echo $this->class; ?>"<?php endif; ?>>
9 9
       <?php if ($this->mandatory): ?>
10
-        <span class="invisible"><?php echo $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
10
+        <span class="invisible"><?= $this->mandatoryField; ?></span> <?php echo $this->label; ?><span class="mandatory">*</span>
11 11
       <?php else: ?>
12
-        <?php echo $this->label; ?>
12
+        <?= $this->label; ?>
13 13
       <?php endif; ?>
14 14
     </label>
15 15
   <?php endif; ?>
16 16
 <?php $this->endblock(); ?>
17 17
 
18 18
 <?php $this->block('field'); ?>
19
-  <input type="<?php echo $this->type; ?>" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text<?php if ($this->hideInput) echo ' password'; ?><?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->value); ?>"<?php echo $this->getAttributes(); ?>>
19
+  <input type="<?= $this->type; ?>" name="<?php echo $this->name; ?>" id="ctrl_<?php echo $this->id; ?>" class="text<?php if ($this->hideInput) echo ' password'; ?><?php if ($this->class) echo ' ' . $this->class; ?>" value="<?php echo specialchars($this->value); ?>"<?php echo $this->getAttributes(); ?>>
20 20
 <?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,9 +1,9 @@
1 1
 <?php if (!$this->tableless): ?>
2
-  <tr class="<?php echo $this->rowClass; ?>">
3
-    <td class="col_0 col_first"><?php echo $this->generateLabel(); ?></td>
4
-    <td class="col_1 col_last"><?php echo $this->generateWithError(); ?></td>
2
+  <tr class="<?= $this->rowClass; ?>">
3
+    <td class="col_0 col_first"><?= $this->generateLabel(); ?></td>
4
+    <td class="col_1 col_last"><?= $this->generateWithError(); ?></td>
5 5
   </tr>
6 6
 <?php else: ?>
7
-  <?php echo $this->generateLabel(); ?>
8
-  <?php echo $this->generateWithError(); ?><br>
7
+  <?= $this->generateLabel(); ?>
8
+  <?= $this->generateWithError(); ?><br>
9 9
 <?php endif; ?>
10 10
\ No newline at end of file
... ...
@@ -1,4 +1,4 @@
1
-<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->charset; ?>" standalone="yes" ?>
1
+<?= '<?'; ?>xml version="1.0" encoding="<?php echo $this->charset; ?>" standalone="yes" ?>
2 2
 <!DOCTYPE form [
3 3
   <!ELEMENT form (field)+>
4 4
   <!ELEMENT field (name, value+)>
... ...
@@ -8,9 +8,9 @@
8 8
 <form>
9 9
   <?php foreach ($this->fields as $field): ?>
10 10
     <field>
11
-      <name><?php echo $field['name']; ?></name>
11
+      <name><?= $field['name']; ?></name>
12 12
       <?php foreach ($field['values'] as $value): ?>
13
-        <value><?php echo $value; ?></value>
13
+        <value><?= $value; ?></value>
14 14
       <?php endforeach; ?>
15 15
     </field>
16 16
   <?php endforeach; ?>
... ...
@@ -1,3 +1,3 @@
1 1
 <?php $this->block('addSubmit'); ?>
2
-    <button type="submit" id="ctrl_<?php echo $this->id; ?>_submit" class="submit"><?php echo $this->slabel; ?></button>
2
+    <button type="submit" id="ctrl_<?= $this->id; ?>_submit" class="submit"><?php echo $this->slabel; ?></button>
3 3
 <?php $this->endblock(); ?>