Commit 6a8a67f0 authored by Till Brehm's avatar Till Brehm

Fixed missing save and cancel button texts in reseller and client form.

parent 63d69244
......@@ -172,6 +172,7 @@ class page_action extends tform_actions {
$app->tpl->setVar('template_additional_list', $text);
$app->tpl->setVar('app_module', 'client');
//* Set the 'customer no' default value
if($this->id == 0) {
......@@ -210,6 +211,9 @@ class page_action extends tform_actions {
}
}
}
$app->tpl->setVar('btn_save_txt',$app->lng('btn_save_txt'));
$app->tpl->setVar('btn_cancel_txt',$app->lng('btn_cancel_txt'));
parent::onShowEnd();
......
......@@ -158,6 +158,9 @@ class page_action extends tform_actions {
$app->db->datalogUpdate('sys_ini', "config = '".$app->db->quote($system_config_str)."'", 'sysini_id', 1);
}
}
$app->tpl->setVar('btn_save_txt',$app->lng('btn_save_txt'));
$app->tpl->setVar('btn_cancel_txt',$app->lng('btn_cancel_txt'));
parent::onShowEnd();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment