From 6a8a67f05081001851bbd70644188263132c5921 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Wed, 20 Nov 2013 13:49:54 -0500 Subject: [PATCH] Fixed missing save and cancel button texts in reseller and client form. --- interface/web/client/client_edit.php | 4 ++++ interface/web/client/reseller_edit.php | 3 +++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/interface/web/client/client_edit.php b/interface/web/client/client_edit.php index 52b7020..5a38844 100644 --- a/interface/web/client/client_edit.php +++ b/interface/web/client/client_edit.php @@ -172,6 +172,7 @@ $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 @@ } } } + + $app->tpl->setVar('btn_save_txt',$app->lng('btn_save_txt')); + $app->tpl->setVar('btn_cancel_txt',$app->lng('btn_cancel_txt')); parent::onShowEnd(); diff --git a/interface/web/client/reseller_edit.php b/interface/web/client/reseller_edit.php index 20273b7..606e7b1 100644 --- a/interface/web/client/reseller_edit.php +++ b/interface/web/client/reseller_edit.php @@ -158,6 +158,9 @@ $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(); -- Gitblit v1.9.1