From b91328b225502a9fd9d871bae4529b6ea04b9b67 Mon Sep 17 00:00:00 2001 From: Sergio Cambra <sergio@programatica.es> Date: Mon, 30 Jun 2014 05:09:21 -0400 Subject: [PATCH] display info message after domain owner change --- interface/web/client/domain_edit.php | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/interface/web/client/domain_edit.php b/interface/web/client/domain_edit.php index 735ec0b..a6eb22f 100644 --- a/interface/web/client/domain_edit.php +++ b/interface/web/client/domain_edit.php @@ -208,6 +208,8 @@ if($_SESSION["s"]["user"]["typ"] == 'admin' && isset($this->dataRecord["client_group_id"])) { $client_group_id = $app->functions->intval($this->dataRecord["client_group_id"]); $app->db->query("UPDATE domain SET sys_groupid = $client_group_id, sys_perm_group = 'ru' WHERE domain_id = ".$this->id); + $lng_text = $app->lng("domain_owner_changed"); + $_SESSION['show_info_msg'] = str_replace("{domain}", $this->dataRecord["domain"], $lng_text); } } -- Gitblit v1.9.1