From: hickert Date: Wed, 25 May 2005 06:35:29 +0000 (+0000) Subject: Select must have an option value, else they aren't W3c conform X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eddd6853e4e80a690f56304eb3120b735bf9f1fe;p=gosa.git Select must have an option value, else they aren't W3c conform so i added an if the smarty array is empty (count() < 0) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@387 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index b5f7b2c55..e41789989 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -527,6 +527,11 @@ class userManagement extends plugin /* Show main page */ $smarty->assign("userlist", $this->userlist); + if(count($this->userlist)) { + $smarty->assign("SELECT_userlist",true); + } else { + $smarty->assign("SELECT_userlist",false); + } $smarty->assign("search_image", get_template_path('images/search.png')); $smarty->assign("tree_image", get_template_path('images/tree.png')); $smarty->assign("infoimage", get_template_path('images/info.png')); diff --git a/plugins/admin/users/headpage.tpl b/plugins/admin/users/headpage.tpl index 629ea6ce2..f195f2b39 100644 --- a/plugins/admin/users/headpage.tpl +++ b/plugins/admin/users/headpage.tpl @@ -9,7 +9,11 @@