phrases stuff

This commit is contained in:
Gerry Raab
2016-07-05 00:22:53 +02:00
parent 39c0350af8
commit a6c61d0bc1
4 changed files with 19 additions and 5 deletions
+4 -3
View File
@@ -1,5 +1,5 @@
<?php
$this->load->view('templates/header', array('title' => 'PhrasesList', 'tablesort' => true, 'tableid' => 't1', 'headers' => '2:{sorter:false}'));
$this->load->view('templates/header', array('title' => 'PhrasesList', 'tablesort' => true, 'tableid' => 't1', 'headers' => '3:{sorter:false}'));
?>
<div class="row">
<div class="span4">
@@ -17,6 +17,7 @@ App: aufnahme
<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>
@@ -24,9 +25,9 @@ App: aufnahme
<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->phrase; ?></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="PhrasesBottom">Inhalte anzeigen</a></td>
</tr>
<?php endforeach ?>
</tbody>