From aa5519a3ca326d70c028687a35816a5e28b2d3fa Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 24 May 2005 13:15:11 +0000 Subject: [PATCH] w3c git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@379 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofax/faxaccount/class_gofaxAccount.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index 83502276e..d5751bbe0 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -395,6 +395,19 @@ class gofaxAccount extends plugin } else { $smarty->assign("department", ""); } + + if(count($this->current_blocklist)) { + $smarty->assign("SELECT_cblocklist",true); + }else { + $smarty->assign("SELECT_cblocklist",false); + } + + if(count($list)) { + $smarty->assign("SELECT_list",true); + }else { + $smarty->assign("SELECT_list",false); + } + $display.= $smarty->fetch (get_template_path('lists.tpl', TRUE, dirname(__FILE__))); return ($display); } -- 2.30.2