mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-05 06:09:27 +00:00
2711430eb9
- Updated controllers and views to use WidgetLib - Removed TempleteLib from autoload config file - Removed loading of session library from FHC_Controller (already present in the autoload configuration file)
39 lines
1.1 KiB
PHP
39 lines
1.1 KiB
PHP
<?php
|
|
$this->load->view('templates/header', array('title' => 'PhrasesList', 'tablesort' => true, 'tableid' => 't1', 'headers' => '3:{sorter:false}'));
|
|
?>
|
|
<div class="row">
|
|
<div class="span4">
|
|
<h2>Phrasen</h2>
|
|
<!--
|
|
<form method="post" action="">
|
|
App: aufnahme
|
|
<?php
|
|
// This is an example to show that you can load stuff from inside the template file
|
|
//echo $this->widgetlib->widget("mimetype_widget", array('mimetype' => $mimetype));
|
|
?>
|
|
<button type="submit">Filter</button>
|
|
</form>
|
|
-->
|
|
<table id="t1" class="tablesorter">
|
|
<thead>
|
|
<tr><th class='table-sortable:default'>ID</th>
|
|
<th>App</th>
|
|
<th class='table-sortable:default'>Phrase</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($phrases as $p): ?>
|
|
<tr><td><a href="edit/<?php echo $p->phrase_id; ?>" target="PhrasesBottom"><?php echo $p->phrase_id; ?></a></td>
|
|
<td><?php echo $p->app; ?></td>
|
|
<td><a href="edit/<?php echo $p->phrase_id; ?>" target="PhrasesBottom"><?php echo $p->phrase; ?></a></td>
|
|
<td><a href="view/<?php echo $p->phrase_id; ?>" target="PhrasesTop">Phrasentexte bearbeiten</a></td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|