From ffa17077a2869bdc08a9d51267626d0f2e83c85d Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 22 Jul 2005 06:24:07 +0000 Subject: [PATCH] Fixed Label tags and removed Undefined Index in wingeneric.tpl git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@994 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_winGeneric.inc | 5 +++++ plugins/admin/systems/network.tpl | 2 +- plugins/admin/systems/terminal.tpl | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_winGeneric.inc b/plugins/admin/systems/class_winGeneric.inc index b1b2f4214..2294fb02a 100644 --- a/plugins/admin/systems/class_winGeneric.inc +++ b/plugins/admin/systems/class_winGeneric.inc @@ -73,6 +73,11 @@ class wingeneric extends plugin /* Fill templating stuff */ $smarty= get_smarty(); + + // Undefined index in wingeneric.tpl ... + $smarty->assign("macAddress",""); + $smarty->assign("ipHostNumber",""); + $smarty->assign("bases", $this->config->idepartments); /* Assign attributes */ diff --git a/plugins/admin/systems/network.tpl b/plugins/admin/systems/network.tpl index 0167794c1..ec0b219ec 100644 --- a/plugins/admin/systems/network.tpl +++ b/plugins/admin/systems/network.tpl @@ -13,7 +13,7 @@ - +
{$staticAddress}
diff --git a/plugins/admin/systems/terminal.tpl b/plugins/admin/systems/terminal.tpl index 4e4ec532b..cf457831e 100644 --- a/plugins/admin/systems/terminal.tpl +++ b/plugins/admin/systems/terminal.tpl @@ -49,7 +49,7 @@ - +