Fix getHtml para type

This commit is contained in:
Dennis Eichhorn 2019-04-27 18:29:24 +02:00
parent 8139ae9b8e
commit 18c7a591ce
4 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ $newsList = $this->getData('news');
</a> </a>
<?php endforeach; ?> <?php endforeach; ?>
<?php if ($count === 0) : ?> <?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; ?> <?php endif; ?>
</table> </table>
</div> </div>

View File

@ -51,7 +51,7 @@ echo $this->getData('nav')->render(); ?>
<td><a href="<?= $url; ?>"><?= $this->printHtml($news->getPublish()->format('Y-m-d')); ?></a> <td><a href="<?= $url; ?>"><?= $this->printHtml($news->getPublish()->format('Y-m-d')); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
<?php if ($count === 0) : ?> <?php if ($count === 0) : ?>
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?> <tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', '0', '0'); ?>
<?php endif; ?> <?php endif; ?>
</table> </table>
</div> </div>

View File

@ -92,7 +92,7 @@ echo $this->getData('nav')->render(); ?>
<button type="button" formaction=""><i class="fa fa-book"></i></button> <button type="button" formaction=""><i class="fa fa-book"></i></button>
<input type="text" id="permission"><input type="hidden" form="docForm" name="permission"> <input type="text" id="permission"><input type="hidden" form="docForm" name="permission">
</span> </span>
<tr><td><button><?= $this->getHtml('Add', 0, 0); ?></button> <tr><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
</table> </table>
</div> </div>
</section> </section>
@ -105,7 +105,7 @@ echo $this->getData('nav')->render(); ?>
<button type="button" formaction=""><i class="fa fa-book"></i></button> <button type="button" formaction=""><i class="fa fa-book"></i></button>
<input type="text" id="groups"><input type="hidden" form="docForm" name="groups"> <input type="text" id="groups"><input type="hidden" form="docForm" name="groups">
</span> </span>
<tr><td><button><?= $this->getHtml('Add', 0, 0); ?></button> <tr><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
</table> </table>
</div> </div>
</section> </section>

View File

@ -46,7 +46,7 @@ echo $this->getData('nav')->render(); ?>
<td data-label="<?= $this->getHtml('Date') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($news->getPublish()->format('Y-m-d')); ?></a> <td data-label="<?= $this->getHtml('Date') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($news->getPublish()->format('Y-m-d')); ?></a>
<?php endforeach; ?> <?php endforeach; ?>
<?php if ($count === 0) : ?> <?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; ?> <?php endif; ?>
</table> </table>
</div> </div>