Added translation using phrases

. added translation functionality by
-- adding loadPhrases-method in Controllers
-- replacing hardcoded html-text with $this->p->t(...)
This commit is contained in:
Cris
2018-05-09 12:36:35 +02:00
parent 8c00fb7be5
commit 1254e8d618
18 changed files with 274 additions and 268 deletions
@@ -20,6 +20,13 @@ class Messages extends VileSci_Controller
$this->load->library('WidgetLib');
$this->load->model('person/Person_model', 'PersonModel');
$this->loadPhrases(array(
'global',
'person',
'lehre',
'ui',
'infocenter'));
$this->_setAuthUID(); // sets property uid
}