36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
<?php
|
|
|
|
use Joomla\CMS\Router\Route;
|
|
|
|
// No direct access.
|
|
defined('_JEXEC') or die;
|
|
|
|
?>
|
|
|
|
<table width='100%' class='table table-stiped, table-hover'>
|
|
<thead>
|
|
<tr>
|
|
<th width='15%'>Benutzername</th>
|
|
<th width='20%'>Name</th>
|
|
<th width='30%'>Ort</th>
|
|
<th width='30%'>E-Mail</th>
|
|
<th width='5%'>Löschen?</th>
|
|
<th width='5%'>id</th>
|
|
</tr>
|
|
</thead>
|
|
<?php foreach($this->users as $user): ?>
|
|
<?php $link = Route::_('index.php?option=com_clubs&view=user&id=' . $user->getId()); ?>
|
|
<tr>
|
|
<td><a href='<?php echo $link; ?>'><?php echo htmlentities($user->getUser()); ?></a></td>
|
|
<td><a href='<?php echo $link; ?>'><?php echo htmlentities($user->getName()); ?></a></td>
|
|
<td><?php echo htmlentities($user->getCity()); ?></td>
|
|
<td><a href='mailto:<?php echo htmlentities($user->getMail()); ?>'><?php echo htmlentities($user->getMail()); ?></a></td>
|
|
<td><a href='<?php echo Route::_('index.php?option=com_clubs&task=user.delete&id=' . $user->getId()); ?>'>Del</a></td>
|
|
<td><?php echo htmlentities($user->getId()); ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</table>
|
|
|
|
<div><a href='<?php echo Route::_('index.php?option=com_clubs&view=user&id=new'); ?>'>Neuen Benutzer anlegen</a></div>
|
|
|