Code

tidy
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 05:48:11 +0000 (05:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 27 Jun 2005 05:48:11 +0000 (05:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@861 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_kolabAccount.inc
plugins/personal/connectivity/kolab.tpl

index b55cc9d6410237077d0d5d698da078b26194af6b..14d3b0b777c7c81d81b694c771ac598ea3dc8e44 100644 (file)
@@ -157,7 +157,8 @@ class kolabAccount extends plugin
 
     /* Transfer delegation list */
     if (!count($this->kolabDelegate)){
-      $smarty->assign("kolabDelegate", array(""));
+      /* Smarty will produce <option value=""></option> and tidy don't like that, so tell smarty to create no option (array();)*/
+      $smarty->assign("kolabDelegate", array());
     } else {
       $smarty->assign("kolabDelegate", $this->kolabDelegate);
     }
index bb5307df2583db35db18e8918102c9c9342c6d8c..0798d2e1ddd288259dea63e6a2b704bae9b08e7b 100644 (file)
@@ -10,6 +10,7 @@
    <b>{t}Delegations{/t}</b><br>
    <select style="width:350px; height:100px;" name="delegate_list[]" size=15 multiple>
     {html_options values=$kolabDelegate output=$kolabDelegate}
+       <option disabled>&nbsp;</option>
    </select>
    <br>
    <input name="delegate_address" size=30 align=middle maxlength=60