diff --git a/plugins/admin/systems/workstationStartup.tpl b/plugins/admin/systems/workstationStartup.tpl
index 9466a5092669c249a311c3f9efd432bd8d20edcc..7c4c25397b5b4ca7a668d43cb64eb196835a588d 100644 (file)
<tr>
<td>
<select style="width:100%;height:150px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
- {html_options values=$gotoShareKeys output=$gotoShares}
- <option disabled> </option>
+ {html_options values=$gotoShareKeys output=$gotoShares}
+ <option disabled> </option>
</select>
<br>
<select name="gotoShareSelection" {$gotoShareACL}>
- {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
- <option disabled> </option>
+ {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
+ <option disabled> </option>
</select>
<input type="text" size=15 {$gotoShareACL} name="gotoShareMountPoint" value="{t}Mountpoint{/t}">
<input type="submit" {$gotoShareACL} name="gotoShareAdd" value="{t}Add{/t}">
- <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}">
+ <input type="submit" {$gotoShareACL} name="gotoShareDel" value="{t}Remove{/t}" {if $gotoSharesCount == 0} disabled {/if}>
</td>
</tr>
</table>