Skip to content

Commit 6a8a67f

Browse files
author
Till Brehm
committed
Fixed missing save and cancel button texts in reseller and client form.
1 parent 63d6924 commit 6a8a67f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

interface/web/client/client_edit.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ function onShowEnd() {
172172
$app->tpl->setVar('template_additional_list', $text);
173173
$app->tpl->setVar('app_module', 'client');
174174

175+
175176
//* Set the 'customer no' default value
176177
if($this->id == 0) {
177178

@@ -210,6 +211,9 @@ function onShowEnd() {
210211
}
211212
}
212213
}
214+
215+
$app->tpl->setVar('btn_save_txt',$app->lng('btn_save_txt'));
216+
$app->tpl->setVar('btn_cancel_txt',$app->lng('btn_cancel_txt'));
213217

214218
parent::onShowEnd();
215219

interface/web/client/reseller_edit.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ function onShowEnd() {
158158
$app->db->datalogUpdate('sys_ini', "config = '".$app->db->quote($system_config_str)."'", 'sysini_id', 1);
159159
}
160160
}
161+
162+
$app->tpl->setVar('btn_save_txt',$app->lng('btn_save_txt'));
163+
$app->tpl->setVar('btn_cancel_txt',$app->lng('btn_cancel_txt'));
161164

162165
parent::onShowEnd();
163166

0 commit comments

Comments
 (0)