diff --git a/plugins/admin/systems/workstationStartup.tpl b/plugins/admin/systems/workstationStartup.tpl
index 996e6aba4cc2743e91e364f971df3d9929bcbcb3..0184ef4998211e0a47a7900130f3ac29b6bd9d64 100644 (file)
<h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
<table summary="" style="width:100%">
<h2><img class="center" alt="" align="middle" src="images/penguin.png"> {t}Boot parameters{/t}</h2>
<table summary="" style="width:100%">
- <tr>
- <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL><br>
- {$SelectBoxLdapServer}
- </td>
- </tr>
<tr>
<td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
<tr>
<td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
- <td style="width:70%"><input id="gotoBootKernel" name="gotoBootKernel" size=20 maxlength=60 {$gotoBootKernelACL}
- value="{$gotoBootKernel}" title="{t}Enter the filename of the kernel to use{/t}"></td>
+ <td style="width:70%">
+ <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL}>
+ {html_options options=$gotoBootKernels selected=$gotoBootKernel}
+ <option disabled> </option>
+ </select>
+ </td>
</tr>
<tr>
<td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
</tr>
<tr>
<td><LABEL for="customParameters">{t}Custom options{/t}</LABEL></td>
- <td><input name="customParameters" id="customParameters" size=25 maxlength=500 {$gotoKernelParametersACL}
+ <td><input name="customParameters" id="customParameters" size=25 maxlength=500 {$gotoKernelParametersACL}
value="{$customParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}"></td>
</tr>
value="{$customParameters}" title="{t}Enter any parameters that should be passed to the kernel as append line during bootup{/t}"></td>
</tr>
+ <tr>
+ <td colspan="2" style='vertical-align:top;padding-top:3px;'><LABEL for="gotoLdapServer">{t}LDAP server{/t}</LABEL><br>
+ {$SelectBoxLdapServer}
+ </td>
+ </tr>
</table>
</td>
</table>
</td>
</td>
<td style="vertical-align:top;">
</td>
<td style="vertical-align:top;">
- <table><tr>
- <td>
- <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}FAI server{/t}</h2></td>
- <td>
- <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Release{/t}</h2></td>
- </tr><tr>
- <td>
- <!--<select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange="document.mainform.submit();">-->
- <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
- {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
- <option disabled> </option>
- </select>
- <!--<input type="submit" value="{t}set{/t}" name="refresh">-->
- </td><td>
- <select name="FAIrelease" onchange='document.mainform.submit()'>
- {html_options options=$FAIreleases output=$FAIreleases selected=$FAIrelease}
- </select>
- </td>
- </tr></table>
- <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Assigned FAI classes{/t}</h2>
+
+ {if $FAIdebianMirror == "inherited"}
+
+ <table>
+ <tr>
+ <td>
+ <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}FAI server{/t}
+ </h2>
+ </td>
+ <td>
+ <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Release{/t}
+ </h2>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <select name="FAIdebianMirror" onchange='document.mainform.submit()'>
+ {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
+ </select>
+ </td>
+ <td>
+ <select name="FAIrelease" disabled>
+ {html_options options=$InheritedFAIrelease output=$InheritedFAIrelease selected=$InheritedFAIrelease}
+ </select>
+ </td>
+ </tr>
+ </table>
+ <h2>
+ <img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Assigned FAI classes{/t}
+ </h2>
+ {$FAIScriptlist}
+ {else}
+
+ <table>
+ <tr>
+ <td>
+ <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}FAI server{/t}
+ </h2>
+ </td>
+ <td>
+ <h2><img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Release{/t}
+ </h2>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
+ {html_options options=$FAIdebianMirrors output=$FAIdebianMirrors selected=$FAIdebianMirror}
+ <option disabled> </option>
+ </select>
+ <!--<input type="submit" value="{t}set{/t}" name="refresh">-->
+ </td>
+ <td>
+ <select name="FAIrelease" onchange='document.mainform.submit()'>
+ {html_options options=$FAIreleases output=$FAIreleases selected=$FAIrelease}
+ </select>
+ </td>
+ </tr>
+ </table>
+ <h2>
+ <img class="center" alt="" align="middle" src="images/fai_profile.png"> {t}Assigned FAI classes{/t}
+ </h2>
{$FAIScriptlist}
<select name="FAIclassesSel" {$FAIclassACL}>
{$FAIScriptlist}
<select name="FAIclassesSel" {$FAIclassACL}>
- {html_options values=$FAIclassesKeys output=$FAIclasses}
- <option disabled> </option>
+ {html_options values=$FAIclassesKeys output=$FAIclasses}
+ <option disabled> </option>
</select>
</select>
- <input name="AddClass" value="{t}Add{/t}" type="submit">
- <input name="DelClass" value="{t}Delete{/t}" type="submit">
- </td>
- </tr>
+ <input name="AddClass" value="{t}Add{/t}" type="submit">
+<!-- <input name="DelClass" value="{t}Delete{/t}" type="submit"> -->
+ {/if}
+ </td>
+ </tr>
</table>
<table summary="" style="width:100%;">
</table>
<table summary="" style="width:100%;">
<tr>
<td>
<select style="width:100%;height:150px;" name="gotoShare" multiple size=4 {$gotoShareACL} id="gotoShare">
<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}>
</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}">
</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>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
-
+<input name="WorkstationStarttabPosted" type="hidden" value="1">
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page
<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
<!-- // First input field on page