- Renamed TemplateLib to WidgetLib

- 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)
This commit is contained in:
Paolo
2017-03-23 12:25:58 +01:00
parent 2c4595005b
commit 2711430eb9
15 changed files with 63 additions and 48 deletions
@@ -7,7 +7,13 @@ class Messages extends VileSci_Controller
public function __construct()
{
parent::__construct();
// Loads the message library
$this->load->library('MessageLib');
// Loads the widget library
$this->load->library('WidgetLib');
$this->load->model('person/Person_model', 'PersonModel');
}
@@ -7,8 +7,13 @@ class Phrases extends FHC_Controller
public function __construct()
{
parent::__construct();
// Loads the phrases library
$this->load->library('PhrasesLib');
// Loads the widget library
$this->load->library('WidgetLib');
// Loads helper message to manage returning messages
$this->load->helper('message');
}
@@ -7,7 +7,12 @@ class Templates extends FHC_Controller
public function __construct()
{
parent::__construct();
// Loads the vorlage library
$this->load->library('VorlageLib');
// Loads the widget library
$this->load->library('WidgetLib');
}
public function index()