Commit a29e6770 by netz.coop eG

Sysoutput Funktionen werden nur noch je nach bedarf aufgerufen

1 parent 1d3cb290
Showing with 10 additions and 2 deletions
...@@ -163,13 +163,21 @@ if (!isset($_SESSION['user_id'])) { ...@@ -163,13 +163,21 @@ if (!isset($_SESSION['user_id'])) {
} }
$_POST[$acttable] = 'print'; $_POST[$acttable] = 'print';
$sysout = new Sytemoutput(); $sysout = new Sytemoutput();
if ($acttable === 'groups') {
$array_pclistgroups = $db->getpclistgroupsarray(); $array_pclistgroups = $db->getpclistgroupsarray();
$sysout->createfw($array_pclistgroups); $sysout->createfw($array_pclistgroups);
} else if ($acttable === 'domains') {
$domaingroupsarray = $db->getdomaingroupsarray(); $domaingroupsarray = $db->getdomaingroupsarray();
$sysout->createhosts($domaingroupsarray); $sysout->createhosts($domaingroupsarray);
} else if ($acttable === 'close_fw_cron') {
} $array_closefwcron = $db->getclosefwcronarray();
$sysout->closefwcron($array_closefwcron);
}
}
/** /**
* Create Controlls - Buttons * Create Controlls - Buttons
*/ */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!