Fix getHtml para type

This commit is contained in:
Dennis Eichhorn 2019-04-27 18:29:24 +02:00
parent 627a5165cc
commit 764d66cf6b
3 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@ echo $this->getData('nav')->render(); ?>
<form id="drawForm" action="<?= \phpOMS\Uri\UriFactory::build('{/api}draw?{?}&csrf={$CSRF}'); ?>" method="POST">
<div class="ipt-wrap">
<div class="ipt-first"><input type="text" id="iTitle" name="title" class="wf-100"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>"></div>
</div>
</form>
</div>
@ -91,7 +91,7 @@ echo $this->getData('nav')->render(); ?>
<option>
</select>
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>
<tr><td><input id="iPermission" name="group" type="text" placeholder="&#xf084;"><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
<tr><td><input id="iPermission" name="group" type="text" placeholder="&#xf084;"><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
</table>
</form>
</div>

View File

@ -44,7 +44,7 @@ echo $this->getData('nav')->render(); ?>
<td data-label="<?= $this->getHtml('Created') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($value->getMedia()->getCreatedAt()->format('Y-m-d')); ?></a>
<?php endforeach; ?>
<?php if ($count === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
<tr><td colspan="5" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?>
</table>
</div>

View File

@ -25,7 +25,7 @@ echo $this->getData('nav')->render(); ?>
<form id="drawForm" action="<?= \phpOMS\Uri\UriFactory::build('{/api}draw?{?}&csrf={$CSRF}'); ?>" method="POST">
<div class="ipt-wrap">
<div class="ipt-first"><input type="text" id="iTitle" name="title" class="wf-100" value="<?= $this->printHtml($image->getMedia()->getName()); ?>"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Save', 0, 0); ?>"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
</div>
</form>
</div>
@ -93,7 +93,7 @@ echo $this->getData('nav')->render(); ?>
<option>
</select>
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>
<tr><td><input id="iPermission" name="group" type="text" placeholder="&#xf084;"><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
<tr><td><input id="iPermission" name="group" type="text" placeholder="&#xf084;"><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
</table>
</form>
</div>