Code

Usermng free from SELECT_
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 05:30:15 +0000 (05:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 31 May 2005 05:30:15 +0000 (05:30 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@507 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/users/class_userManagement.inc
plugins/admin/users/headpage.tpl

index e417899896f98cf043bd98c0137ef1b9f5c9df8c..ea650026b722bd7c58dc5cf795a1fc71e34bc6dd 100644 (file)
@@ -527,10 +527,6 @@ 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'));
index f195f2b39e7a4d5a8350e795d4fc3ed77cab5d1a..36c93a53e702548e90782859284d29c8ba46730f 100644 (file)
@@ -9,11 +9,8 @@
   <div class="contentboxb">
     <p class="contentboxb">
       <select style="width:500px; height:450px;" name="userlist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
-               {if $SELECT_userlist==true}     
                        {html_options options=$userlist}
-               {else}
                        <option disabled></option>
-               {/if}
       </select>
       <br>
       <input type=submit value="{t}New{/t}..." name="new_user">&nbsp;