Started work on backend with self-written models
This commit is contained in:
32
src/admin/views/users/tmpl/default.php
Normal file
32
src/admin/views/users/tmpl/default.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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></th>
|
||||
<th width='30%'>Benutzername</th>
|
||||
<th width='30%'>Ort</th>
|
||||
<th width='30%'>E-Mail</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><?php echo htmlentities($user->getMail()); ?></td>
|
||||
<td><?php echo htmlentities($user->getId()); ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user