Fix getHtml para type

This commit is contained in:
Dennis Eichhorn 2019-04-27 18:29:24 +02:00
parent 26a14de207
commit 782e4301a1
2 changed files with 9 additions and 9 deletions

View File

@ -35,7 +35,7 @@ echo $this->getData('nav')->render(); ?>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td><label for="iId"><?= $this->getHtml('ID', 0, 0); ?></label>
<tr><td><label for="iId"><?= $this->getHtml('ID', '0', '0'); ?></label>
<tr><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="number" id="iId" min="1" name="id" required></span>
<tr><td><label for="iName1"><?= $this->getHtml('Name1') ?></label>
<tr><td><input type="text" id="iName1" name="name1" placeholder="&#xf040;" required>
@ -43,7 +43,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iName2" name="name2" placeholder="&#xf040;">
<tr><td><label for="iName3"><?= $this->getHtml('Name3') ?></label>
<tr><td><input type="text" id="iName3" name="name3" placeholder="&#xf040;">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">
</table>
</form>
</div>
@ -74,7 +74,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><input type="text" id="iCInfo" name="cinfo">
<tr><td><label for="iCData"><?= $this->getHtml('Contact') ?></label>
<tr><td><input type="text" id="iCData" name="cdata">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
</table>
</form>
</div>
@ -102,7 +102,7 @@ echo $this->getData('nav')->render(); ?>
<tr><td><label for="iAInfo"><?= $this->getHtml('Info') ?></label>
<tr><td><input type="text" id="iAInfo" name="ainfo">
<tr><td><span class="check"><input type="checkbox" id="iDefault" name="default" checked><label for="iDefault"><?= $this->getHtml('IsDefault') ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
</table>
</form>
</div>
@ -130,7 +130,7 @@ echo $this->getData('nav')->render(); ?>
<option>
</select>
<tr><td><span class="check"><input type="checkbox" id="iFreightage" name="freightage"><label for="iFreightage"><?= $this->getHtml('Freightage'); ?></label></span>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
</table>
</form>
</div>
@ -148,7 +148,7 @@ echo $this->getData('nav')->render(); ?>
<option><?= $this->getHtml('Wire') ?>
<option><?= $this->getHtml('Creditcard') ?>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', '0', '0'); ?>">
</table>
</form>
</div>
@ -171,7 +171,7 @@ echo $this->getData('nav')->render(); ?>
<thead>
<tr>
<td>IP
<td><?= $this->getHtml('ID', 0, 0); ?>
<td><?= $this->getHtml('ID', '0', '0'); ?>
<td><?= $this->getHtml('Name') ?>
<td class="wf-100"><?= $this->getHtml('Log') ?>
<td><?= $this->getHtml('Date') ?>

View File

@ -25,7 +25,7 @@ echo $this->getData('nav')->render(); ?>
<caption><?= $this->getHtml('Suppliers'); ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead>
<tr>
<td><?= $this->getHtml('ID', 0, 0); ?>
<td><?= $this->getHtml('ID', '0', '0'); ?>
<td><?= $this->getHtml('Name1') ?>
<td><?= $this->getHtml('Name2') ?>
<td class="wf-100"><?= $this->getHtml('Name3') ?>
@ -40,7 +40,7 @@ echo $this->getData('nav')->render(); ?>
<?php $count = 0; foreach ([] as $key => $value) : ++$count; ?>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
<tr><td colspan="8" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>