mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
show layout/messages on the dashboard
This commit is contained in:
@@ -43,6 +43,9 @@ class Dashboard extends CI_Controller
|
||||
$data['qra'] = "none";
|
||||
}
|
||||
|
||||
// We need the form_helper for the layout/messages
|
||||
$this->load->helper('form');
|
||||
|
||||
$this->load->model('stations');
|
||||
$this->load->model('setup_model');
|
||||
|
||||
|
||||
@@ -865,7 +865,6 @@ class User extends CI_Controller {
|
||||
|
||||
} else {
|
||||
if($this->user_model->login() == 1) {
|
||||
$this->session->set_flashdata('notice', __("User logged in"));
|
||||
$this->user_model->update_session($data['user']->user_id);
|
||||
$cookie= array(
|
||||
|
||||
|
||||
@@ -125,8 +125,9 @@ function echo_table_col($row, $name) {
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php } ?>
|
||||
<?php $this->load->view('layout/messages'); ?>
|
||||
</div>
|
||||
|
||||
<?php if($dashboard_map != "false" && $dashboard_map != "map_at_right") { ?>
|
||||
|
||||
Reference in New Issue
Block a user