Browse code

First iteration of revamped formilicious for Contao 4.13+

Benjamin Roth authored on20/01/2023 09:49:23
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,9 +0,0 @@
1
-<?php if (!$this->tableless): ?>
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
-  </tr>
6
-<?php else: ?>
7
-  <?= $this->generateLabel(); ?>
8
-  <?= $this->generateWithError(); ?><br>
9
-<?php endif; ?>
10 0
\ No newline at end of file
Browse code

Templates now use php short open tags

Benjamin Roth authored on17/08/2015 17:19:47
Showing1 changed files
... ...
@@ -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
Browse code

Initial commit

Benjamin Roth authored on27/03/2015 10:45:40
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,9 @@
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>
5
+  </tr>
6
+<?php else: ?>
7
+  <?php echo $this->generateLabel(); ?>
8
+  <?php echo $this->generateWithError(); ?><br>
9
+<?php endif; ?>
0 10
\ No newline at end of file