Inserted data into frontend from models for some views
This commit is contained in:
@@ -8,3 +8,22 @@ defined('_JEXEC') or die;
|
||||
<pre>
|
||||
Ort Verein Adresse Ansprechpartner Email
|
||||
</pre>
|
||||
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<th>Ort</th>
|
||||
<th>Verein</th>
|
||||
<th>Adresse</th>
|
||||
<th>Vorsitzener</th>
|
||||
<th>E-Mail-Adresse</th>
|
||||
</tr>
|
||||
<?php foreach ($this->clubs as $club): ?>
|
||||
<tr>
|
||||
<td><?php echo htmlentities($club->getCity()); ?></td>
|
||||
<td><?php echo htmlentities($club->getName()); ?></td>
|
||||
<td><?php echo nl2br(htmlentities($club->getAddress())); ?></td>
|
||||
<td><?php echo htmlentities($club->getPresident()->getName()); ?></td>
|
||||
<td><a href='mailto:<?php echo htmlentities($club->getMail()); ?>'><?php echo htmlentities($club->getMail()); ?></a></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
||||
6
src/site/views/clubs/tmpl/default.xml
Normal file
6
src/site/views/clubs/tmpl/default.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Liste der Vereine">
|
||||
<message>Liste aller aktiven Vereine des Verbands</message>
|
||||
</layout>
|
||||
</metadata>
|
||||
Reference in New Issue
Block a user