mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-07 15:19:31 +00:00
39 lines
1.2 KiB
PHP
39 lines
1.2 KiB
PHP
<?php
|
|
$this->load->view('templates/header', array('title' => 'TemplatesList', 'tablesort' => true, 'tableid' => 't1', 'headers' => '4:{sorter:false}'));
|
|
?>
|
|
<div class="row">
|
|
<div class="span4">
|
|
<h2>Vorlagen</h2>
|
|
<form method="post" action="">
|
|
MimeType
|
|
<?php
|
|
// This is an example to show that you can load stuff from inside the template file
|
|
echo $this->templatelib->widget("mimetype_widget", array('mimetype' => $mimetype));
|
|
?>
|
|
<button type="submit">Filter</button>
|
|
</form>
|
|
|
|
<table id="t1" class="tablesorter">
|
|
<thead>
|
|
<tr><th class='table-sortable:default'>Vorlage</th>
|
|
<th class='table-sortable:default'>Bezeichnung</th>
|
|
<th>Anmerkung</th><th>MimeType</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($vorlage as $v): ?>
|
|
<tr><td><a href="edit/<?php echo $v->vorlage_kurzbz; ?>" target="TemplatesBottom"><?php echo $v->vorlage_kurzbz; ?></a></td>
|
|
<td><?php echo $v->bezeichnung; ?></td>
|
|
<td><?php echo $v->anmerkung; ?></td>
|
|
<td><?php echo $v->mimetype; ?></td>
|
|
<td><a href="view/<?php echo $v->vorlage_kurzbz; ?>">Vorlagenexte bearbeiten</a></td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|