mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-08 04:48:41 +00:00
Fix getHtml para type
This commit is contained in:
parent
8139ae9b8e
commit
18c7a591ce
|
|
@ -52,7 +52,7 @@ $newsList = $this->getData('news');
|
|||
</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>
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><a href="<?= $url; ?>"><?= $this->printHtml($news->getPublish()->format('Y-m-d')); ?></a>
|
||||
<?php endforeach; ?>
|
||||
<?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; ?>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<button type="button" formaction=""><i class="fa fa-book"></i></button>
|
||||
<input type="text" id="permission"><input type="hidden" form="docForm" name="permission">
|
||||
</span>
|
||||
<tr><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
<tr><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
|
@ -105,7 +105,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<button type="button" formaction=""><i class="fa fa-book"></i></button>
|
||||
<input type="text" id="groups"><input type="hidden" form="docForm" name="groups">
|
||||
</span>
|
||||
<tr><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
|
||||
<tr><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
|
||||
</table>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
<?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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user