oms-Draw/Theme/Backend/draw-list.tpl.php
Dennis Eichhorn 0f52239265 Language display optimized
Language is now no longer direct array access but provided through a
function. This can be later used to hot load language files instead of
pre-loading them.
2016-07-02 14:14:31 +02:00

45 lines
1.3 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.0
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright 2013 Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
/**
* @var \phpOMS\Views\View $this
*/
$footerView = new \Web\Views\Lists\PaginationView($this->app, $this->request, $this->response);
$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig');
$footerView->setPages(20);
$footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<div class="box">
<table class="table">
<caption><?= $this->l11n->getText('Draw', 'Images'); ?></caption>
<thead>
<tr>
<td class="wf-100"><?= $this->l11n->getText('Draw', 'Name'); ?>
<td><?= $this->l11n->getText('Draw', 'Creator'); ?>
<td><?= $this->l11n->getText('Draw', 'Created'); ?>
<tfoot>
<tr>
<td colspan="3"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="5" class="empty"><?= $this->l11n->getText(0, 'Empty'); ?>
<?php endif; ?>
</table>
</div>