Code

Udpated mime acls
[gosa.git] / plugins / admin / systems / workstationStartup.tpl
index 9466a5092669c249a311c3f9efd432bd8d20edcc..117bb7a835d4d88a0a7a0bff5f093434f72efb64 100644 (file)
@@ -82,7 +82,7 @@
                                                {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
                                                <option disabled>&nbsp;</option>
                                        </select>
-                               <!--<input type="submit" value="{t}set{/t}" name="refresh">-->
+                                       {if $javascript eq 'false'}<input type="submit" value="{t}set{/t}" name="refresh">{/if}
                                </td>
                                <td>
                                        <select name="FAIrelease"  onchange='document.mainform.submit()'>
                        <option disabled>&nbsp;</option>
                </select>       
                <input name="AddClass" value="{t}Add{/t}" type="submit"> 
-               <input name="DelClass" value="{t}Delete{/t}" type="submit"> 
+<!--           <input name="DelClass" value="{t}Delete{/t}" type="submit"> -->
        {/if}
                </td>
        </tr>
                 <tr>
                         <td>
                         <select style="width:100%;height:150px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
-        {html_options values=$gotoShareKeys output=$gotoShares}
-        <option disabled>&nbsp;</option>
+                                            {html_options values=$gotoShareKeys output=$gotoShares}
+                                                               <option disabled>&nbsp;</option>
                                 </select>
                                 <br>
                         <select name="gotoShareSelection" {$gotoShareACL}>
-        {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
-        <option disabled>&nbsp;</option>
+                                                   {html_options values=$gotoShareSelectionKeys output=$gotoShareSelections}
+                                                       <option disabled>&nbsp;</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>