From c86da31b33c57df2e2cc611bf088be70830bcd0c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sun, 21 Mar 2010 07:05:13 -0400 Subject: [PATCH] Fixed: FS#1111 - Delete an 'in use' template should be blocked --- 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