Repository URL to install this package:
|
Version:
0.0.1-0 ▾
|
zendcddemo-apps-gotcms-project
/
zendcddemo-files
/
apps
/
gotcms_project
/
module
/
Config
/
views
/
config
/
user
/
index.phtml
|
|---|
<?php
/**
* This source file is part of GotCms.
*
* GotCms is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GotCms is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along
* with GotCms. If not, see <http://www.gnu.org/licenses/lgpl-3.0.html>.
*
* PHP Version >=5.3
*
* @category Gc
* @package Config
* @subpackage Design
* @author Pierre Rambaud (GoT) <pierre.rambaud86@gmail.com>
* @license GNU/LGPL http://www.gnu.org/licenses/lgpl-3.0.html
* @link http://www.got-cms.com
*/
/** @var $this \Zend\View\Renderer\PhpRenderer */
?>
<table class="table clickable table-striped table-hover">
<colgroup>
<col width="20%">
<col width="20%">
<col width="30%">
<col width="20%">
<col width="5%">
<col width="5%">
</colgroup>
<thead>
<tr>
<th><?php echo $this->escapeHtml($this->translate('Lastname')); ?></th>
<th><?php echo $this->escapeHtml($this->translate('Firstname')); ?></th>
<th><?php echo $this->escapeHtml($this->translate('Email')); ?></th>
<th><?php echo $this->escapeHtml($this->translate('Login')); ?></th>
<th class="text-center"><?php echo $this->escapeHtml($this->translate('Edit')); ?></th>
<th class="text-center"><?php echo $this->escapeHtml($this->translate('Delete')); ?></th>
</tr>
</thead>
<tbody>
<?php foreach ($this->users as $user): ?>
<tr>
<td><?php echo $this->escapeHtml($user->getLastname()); ?></td>
<td><?php echo $this->escapeHtml($user->getFirstname()); ?></td>
<td><?php echo $this->escapeHtml($user->getEmail()); ?></td>
<td><?php echo $this->escapeHtml($user->getLogin()); ?></td>
<td class="text-center">
<a href="<?php echo $this->url('config/user/edit', array('id' => $user->getId())); ?>" class="edit-line">
<img src="<?php echo $this->cdnBackend('backend/images/icones/edit.png'); ?>" alt="<?php echo $this->escapeHtml($this->translate('Edit')); ?>" />
</a>
</td>
<td class="text-center">
<a href="<?php echo $this->url('config/user/delete', array('id' => $user->getId())); ?>" class="delete-line">
<img src="<?php echo $this->cdnBackend('backend/images/icones/delete.png'); ?>" alt="<?php echo $this->escapeHtml($this->translate('Delete')); ?>">
</a>
</td>
</tr>
<?php endforeach; ?>
</tbody>
</table>
<script type="text/javascript">
Gc.initTableList();
</script>