diff --git a/interface/web/dns/dns_soa_edit.php b/interface/web/dns/dns_soa_edit.php index e17571e73612e8db511c303479aa3c87aed0ae8c..309a84236abc9dffa8b6943a3da54aeec5dae2ba 100644 --- a/interface/web/dns/dns_soa_edit.php +++ b/interface/web/dns/dns_soa_edit.php @@ -79,6 +79,16 @@ class page_action extends tform_actions { parent::onShowNew(); } + function onShowEdit() { + global $app, $conf; + + parent::onShowEdit(); + + if(isset($this->dataRecord)) { + $app->tform->formDef['title'] = $app->lng('DNS Zone') . ' ' . $this->dataRecord['origin']; + } + } + function onShowEnd() { global $app, $conf; diff --git a/interface/web/mail/mail_user_edit.php b/interface/web/mail/mail_user_edit.php index d8730fa2ebe78c3885af10f785a276e016b7ecfe..1c2bc47313745483d9ac83f50b4fb3a346cae57a 100644 --- a/interface/web/mail/mail_user_edit.php +++ b/interface/web/mail/mail_user_edit.php @@ -67,6 +67,17 @@ class page_action extends tform_actions { parent::onShowNew(); } + function onShowEdit() { + global $app, $conf; + + parent::onShowEdit(); + + if(isset($this->dataRecord)) { + $app->tform->formDef['title'] = $app->lng('Mailbox') . ' ' . $this->dataRecord['email']; + } + } + + function onShowEnd() { global $app, $conf;