summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4dd1d69)
raw | patch | inline | side by side (parent: 4dd1d69)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 15:38:37 +0000 (15:38 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 May 2005 15:38:37 +0000 (15:38 +0000) |
plugins/gofax/blocklists/class_blocklistManagement.inc | patch | blob | history | |
plugins/gofax/blocklists/generic.tpl | patch | blob | history |
diff --git a/plugins/gofax/blocklists/class_blocklistManagement.inc b/plugins/gofax/blocklists/class_blocklistManagement.inc
index 3056fb6af96e7f08a90440833e493ba4753d60c4..bc9bd46ea9c77168a8377ac455e17314df15e284 100644 (file)
$smarty->assign("$val"."ACL", chkacl($this->acl, "$val"));
}
+ /* Lock blocklist type for non new entries */
+ if ($this->dn != "new"){
+ $smarty->assign('typeACL', "disabled");
+ }
+
/* Show main page */
return($smarty->fetch (get_template_path('generic.tpl', TRUE)));
}
index 17bea618ecd656fa0d65d1a95ac0f2bd6d169f6f..4ab667e1a1b13dfc932a4c277e2177c50e7c9f0b 100644 (file)
<td>
<h2><img align="center" src="images/false.png"> {t}Blocked numbers{/t}</h2>
<select style="width:400px; height:200px;" name="numbers[]" size=15 multiple>
- {html_options values=$goFaxBlocklist output=$goFaxBlocklist selected=$type_select}
+ {html_options values=$goFaxBlocklist output=$goFaxBlocklist}
</select>
<br>
<input name="number" size=25 maxlength=60 {$goFaxBlocklistACL}>