From 87885ff6f3989594bc098f500ba6c0e02163c11e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 31 May 2005 05:26:26 +0000 Subject: [PATCH] Fax clean, no more SELECT_ git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@505 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../gofax/faxaccount/class_gofaxAccount.inc | 30 ------------------- plugins/gofax/faxaccount/generic.tpl | 6 ++-- plugins/gofax/faxaccount/lists.tpl | 10 ++----- 3 files changed, 4 insertions(+), 42 deletions(-) diff --git a/plugins/gofax/faxaccount/class_gofaxAccount.inc b/plugins/gofax/faxaccount/class_gofaxAccount.inc index d5751bbe0..83fdbbd62 100644 --- a/plugins/gofax/faxaccount/class_gofaxAccount.inc +++ b/plugins/gofax/faxaccount/class_gofaxAccount.inc @@ -354,19 +354,6 @@ class gofaxAccount extends plugin $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__))); @@ -396,17 +383,6 @@ class gofaxAccount extends plugin $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); @@ -447,12 +423,6 @@ class gofaxAccount extends plugin $smarty->assign("fax_to_printer", ""); } - if(count($this->facsimileAlternateTelephoneNumber)) { - $smarty->assign("SELECT_facsimileAlternateTelephoneNumber",true); - }else { - $smarty->assign("SELECT_facsimileAlternateTelephoneNumber",false); - } - $display.= $smarty->fetch (get_template_path('generic.tpl', TRUE, dirname(__FILE__))); return ($display); diff --git a/plugins/gofax/faxaccount/generic.tpl b/plugins/gofax/faxaccount/generic.tpl index c802f5ff0..674a28b61 100644 --- a/plugins/gofax/faxaccount/generic.tpl +++ b/plugins/gofax/faxaccount/generic.tpl @@ -54,6 +54,7 @@ {t}Deliver fax to printer{/t}  @@ -67,11 +68,8 @@

{t}Alternate fax numbers{/t}


  diff --git a/plugins/gofax/faxaccount/lists.tpl b/plugins/gofax/faxaccount/lists.tpl index 5ac02918f..cb6df29d2 100644 --- a/plugins/gofax/faxaccount/lists.tpl +++ b/plugins/gofax/faxaccount/lists.tpl @@ -4,11 +4,8 @@ {t}Blocked numbers/lists{/t}

@@ -29,11 +26,8 @@ {t}List of predefined blocklists{/t} -- 2.30.2