From 4be98656b74907dd3294a126f041e7d1feae4a39 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sun, 21 Mar 2010 06:29:19 -0400 Subject: [PATCH] Show traffic quota eceeded message when a website has been deactivated. --- interface/web/sites/web_domain_edit.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/interface/web/sites/web_domain_edit.php b/interface/web/sites/web_domain_edit.php index 7c7829a..ec422d7 100644 --- a/interface/web/sites/web_domain_edit.php +++ b/interface/web/sites/web_domain_edit.php @@ -203,6 +203,9 @@ $app->tpl->setVar("edit_disabled", 0); } + $tmp_txt = ($this->dataRecord['traffic_quota_lock'] == 'y')?'<b>('.$app->tform->lng('traffic_quota_exceeded_txt').')</b>':''; + $app->tpl->setVar("traffic_quota_exceeded_txt", $tmp_txt); + parent::onShowEnd(); } -- Gitblit v1.9.1