| ... | ... |
@@ -1,34 +1,8 @@ |
| 1 | 1 |
|
| 2 |
-<?php if ($this->tableless): ?> |
|
| 2 |
+<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; ?>"> |
|
| 3 |
+ <?php $this->block('label'); ?>
|
|
| 4 |
+ <?php $this->endblock(); ?> |
|
| 3 | 5 |
|
| 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 |
- <?php $this->block('label'); ?>
|
|
| 6 |
- <?php $this->endblock(); ?> |
|
| 7 |
- |
|
| 8 |
- <?php $this->block('field'); ?>
|
|
| 9 |
- <?php $this->endblock(); ?> |
|
| 10 |
- |
|
| 11 |
- <?php if ($this->addSubmit): ?> |
|
| 12 |
- <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?>
|
|
| 13 |
- <?php endif; ?> |
|
| 14 |
- </div> |
|
| 15 |
- |
|
| 16 |
-<?php else: ?> |
|
| 17 |
- |
|
| 18 |
- <tr class="<?= $this->rowClass; ?>"> |
|
| 19 |
- <td class="col_0 col_first"> |
|
| 20 |
- <?php $this->block('label'); ?>
|
|
| 21 |
- |
|
| 22 |
- <?php $this->endblock(); ?> |
|
| 23 |
- </td> |
|
| 24 |
- <td class="col_1 col_last"> |
|
| 25 |
- <?php $this->block('field'); ?>
|
|
| 26 |
- |
|
| 27 |
- <?php $this->endblock(); ?> |
|
| 28 |
- <?php if ($this->addSubmit): ?> |
|
| 29 |
- <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?>
|
|
| 30 |
- <?php endif; ?> |
|
| 31 |
- </td> |
|
| 32 |
- </tr> |
|
| 33 |
- |
|
| 34 |
-<?php endif; ?> |
|
| 6 |
+ <?php $this->block('field'); ?>
|
|
| 7 |
+ <?php $this->endblock(); ?> |
|
| 8 |
+</div> |
| ... | ... |
@@ -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 |
|
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,34 @@ |
| 1 |
+ |
|
| 2 |
+<?php if ($this->tableless): ?> |
|
| 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; ?>"> |
|
| 5 |
+ <?php $this->block('label'); ?>
|
|
| 6 |
+ <?php $this->endblock(); ?> |
|
| 7 |
+ |
|
| 8 |
+ <?php $this->block('field'); ?>
|
|
| 9 |
+ <?php $this->endblock(); ?> |
|
| 10 |
+ |
|
| 11 |
+ <?php if ($this->addSubmit): ?> |
|
| 12 |
+ <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?>
|
|
| 13 |
+ <?php endif; ?> |
|
| 14 |
+ </div> |
|
| 15 |
+ |
|
| 16 |
+<?php else: ?> |
|
| 17 |
+ |
|
| 18 |
+ <tr class="<?php echo $this->rowClass; ?>"> |
|
| 19 |
+ <td class="col_0 col_first"> |
|
| 20 |
+ <?php $this->block('label'); ?>
|
|
| 21 |
+ |
|
| 22 |
+ <?php $this->endblock(); ?> |
|
| 23 |
+ </td> |
|
| 24 |
+ <td class="col_1 col_last"> |
|
| 25 |
+ <?php $this->block('field'); ?>
|
|
| 26 |
+ |
|
| 27 |
+ <?php $this->endblock(); ?> |
|
| 28 |
+ <?php if ($this->addSubmit): ?> |
|
| 29 |
+ <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?>
|
|
| 30 |
+ <?php endif; ?> |
|
| 31 |
+ </td> |
|
| 32 |
+ </tr> |
|
| 33 |
+ |
|
| 34 |
+<?php endif; ?> |