summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8b6259)
raw | patch | inline | side by side (parent: e8b6259)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 05:48:11 +0000 (05:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 27 Jun 2005 05:48:11 +0000 (05:48 +0000) |
plugins/personal/connectivity/class_kolabAccount.inc | patch | blob | history | |
plugins/personal/connectivity/kolab.tpl | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc
index b55cc9d6410237077d0d5d698da078b26194af6b..14d3b0b777c7c81d81b694c771ac598ea3dc8e44 100644 (file)
/* 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)
<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> </option>
</select>
<br>
<input name="delegate_address" size=30 align=middle maxlength=60