From 17ba4544c513cad804ec0ea5d51e7715e433aa80 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Nov 2007 14:48:13 +0000 Subject: [PATCH] Removed debug content. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7779 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ObjectListViewport.inc | 7 +------ tests/ListTest/ObjectListViewport.tpl | 5 ++++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/include/class_ObjectListViewport.inc b/include/class_ObjectListViewport.inc index 477fd4132..8de6494ce 100644 --- a/include/class_ObjectListViewport.inc +++ b/include/class_ObjectListViewport.inc @@ -255,7 +255,7 @@ class ObjectListViewport implements GOsaGuiElement { } $smarty = get_smarty(); - $smarty->assign("OLV_Entries",$entries); + $smarty->assign("OLV_Entries",$objects); $smarty->assign("OLV_List_Id",$this->id); /* Footer variables */ @@ -267,11 +267,6 @@ class ObjectListViewport implements GOsaGuiElement { $smarty->assign("OLV_Header_Enabled",$this->displayHeaderFlag); $smarty->assign("OLV_Header",$this->headline); - $buffer =""; - foreach($this->headline as $key => $value){ - $buffer .= "".$value['name']."\n"; - } - return($smarty->fetch("ObjectListViewport.tpl")); } diff --git a/tests/ListTest/ObjectListViewport.tpl b/tests/ListTest/ObjectListViewport.tpl index b3bfb5b03..11ebc08ed 100644 --- a/tests/ListTest/ObjectListViewport.tpl +++ b/tests/ListTest/ObjectListViewport.tpl @@ -18,7 +18,10 @@
- {$OLV_Entries} + + {foreach from=$OLV_Entries key=key item=item} + {$key} + {/foreach}
-- 2.30.2