summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1bac9b4)
raw | patch | inline | side by side (parent: 1bac9b4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 04:07:43 +0000 (04:07 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 26 Sep 2006 04:07:43 +0000 (04:07 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4767 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goVirusServer.inc | patch | blob | history | |
plugins/admin/systems/goVirusServer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_goVirusServer.inc b/plugins/admin/systems/class_goVirusServer.inc
index 2a4fc187cbec87b16d7b36348f060e0400f8236e..442ebb6eadcef93cec2525b4ff1e87ab0d69eb50 100644 (file)
$smarty->assign($name."ACL",$this->getacl($name));
}
- if(get_class($this->parent) == "servtabs"){
-
- $smarty->assign("servtabs",TRUE);
-
- /* Do we need to flip is_account state? */
- if (isset($_POST['modify_state'])) {
- $this->is_account = !$this->is_account;
- }
-
- /* Show tab dialog headers */
- if ($this->is_account) {
- /* call Add Acoount to add account */
- $display = $this->show_header(_("Remove anti virus extension"),
- _("This server has anti virus features enabled. You can disable them by clicking below."));
- } else {
- /* call remove Account */
- $display = $this->show_header(_("Add anti virus service"),
- _("This server has anti virus features disabled. You can enable them by clicking below."));
- return ($display);
- }
- }else{
- $display = "";
- $smarty->assign("servtabs",FALSE);
- $this->is_account = true;
- }
+ $display = "";
+ $smarty->assign("servtabs",FALSE);
+ $this->is_account = true;
/* Assign smarty vars */
foreach($this->attributes as $attr){
index 7df14ea2d431d7b6eebf3234ea0e8395b3cd1e90..790d07d82491a21ba8215a62d9e66f989b602130 100644 (file)
</tr>
</table>
<input type='hidden' name='goVirusServer' value='1'>
-{if !$servtabs}
<p class='seperator'> </p>
<p>
<div style="width:100%; text-align:right;">
<input type='submit' name='CancelService' value='{t}Cancel{/t}'>
</div>
</p>
-{/if}