diff --git a/application/controllers/system/Phrases.php b/application/controllers/system/Phrases.php index e62cee746..f03e299fd 100644 --- a/application/controllers/system/Phrases.php +++ b/application/controllers/system/Phrases.php @@ -35,6 +35,7 @@ class Phrases extends FHC_Controller if (empty($phrase_id)) exit; $phrase_inhalt = $this->phraseslib->getPhraseInhalt($phrase_id); + $phrase = $this->phraseslib->getPhrase($phrase_id); if ($phrase_inhalt->error) show_error($phrase_inhalt->retval); //var_dump($vorlage); @@ -42,6 +43,7 @@ class Phrases extends FHC_Controller $data = array ( 'phrase_id' => $phrase_id, + 'phrase' => $phrase->retval[0]->phrase, 'phrase_inhalt' => $phrase_inhalt->retval ); $v = $this->load->view('system/phrasesinhaltList.php', $data); diff --git a/application/views/system/phraseinhaltEdit.php b/application/views/system/phraseinhaltEdit.php index 4c3647499..66148808f 100644 --- a/application/views/system/phraseinhaltEdit.php +++ b/application/views/system/phraseinhaltEdit.php @@ -14,6 +14,7 @@ templatelib->widget("organisationseinheit_widget", array('oe_kurzbz' => $orgeinheit_kurzbz)); ?> Preview + Orgformtemplatelib->widget("orgform_widget", array('orgform_kurzbz' => $orgform_kurzbz)); ?> Sprachetemplatelib->widget("sprache_widget", array('sprache' => $sprache)); ?> Text diff --git a/application/views/system/phrasesList.php b/application/views/system/phrasesList.php index ff293c58f..91f2a6149 100644 --- a/application/views/system/phrasesList.php +++ b/application/views/system/phrasesList.php @@ -1,5 +1,5 @@ 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}')); ?>
@@ -17,6 +17,7 @@ App: aufnahme + @@ -24,9 +25,9 @@ App: aufnahme - + + - diff --git a/application/views/system/phrasesinhaltList.php b/application/views/system/phrasesinhaltList.php index 0efc1691b..5938fcc94 100644 --- a/application/views/system/phrasesinhaltList.php +++ b/application/views/system/phrasesinhaltList.php @@ -4,7 +4,7 @@
-

Phrase Inhalt -

+

Phrase Inhalt -

@@ -31,13 +31,23 @@
- +
IDApp Phrase
phrase_id; ?>phrase; ?>app; ?>phrase; ?> Inhalte anzeigen
text; ?> description; ?> editdelete + delete +
+ load->view('templates/footer');