fixed error reporting, fixed table_helper, added translations, fixed bootstrap grid, various fixes (#472)

This commit is contained in:
FrancescoUK
2016-04-30 17:54:17 +01:00
parent 2b9c9ce203
commit 5fb73ce2cb
51 changed files with 497 additions and 121 deletions

View File

@@ -69,13 +69,13 @@ class Config extends Secure_area
'custom10_name'=>$this->input->post('custom10_name')
);
$result = $this->Appconfig->batch_save($batch_save_data);
$success = $result ? true : false;
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
$result = $this->Appconfig->batch_save($batch_save_data);
$success = $result ? true : false;
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
}
function save_locale()
function save_locale()
{
$batch_save_data = array(
'currency_symbol'=>$this->input->post('currency_symbol'),
@@ -93,11 +93,11 @@ class Config extends Secure_area
$result = $this->Appconfig->batch_save($batch_save_data);
$success = $result ? true : false;
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
}
function save_message()
function save_message()
{
$batch_save_data = array(
'msg_msg'=>$this->input->post('msg_msg'),
@@ -106,10 +106,10 @@ class Config extends Secure_area
'msg_src'=>$this->input->post('msg_src')
);
$result = $this->Appconfig->batch_save($batch_save_data);
$success = $result ? true : false;
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
$result = $this->Appconfig->batch_save($batch_save_data);
$success = $result ? true : false;
echo json_encode(array('success'=>$success, 'message'=>$this->lang->line('config_saved_' . ($success ? '' : 'un') . 'successfully')));
}
function stock_locations()