Benutzer hinzufuegen und loeschen realisiert.
This commit is contained in:
@@ -10,23 +10,24 @@ defined('_JEXEC') or die;
|
||||
<table width='100%' class='table table-stiped, table-hover'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th width='30%'>Benutzername</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></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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user