Code

Updated workstation template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Nov 2008 07:11:15 +0000 (07:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Nov 2008 07:11:15 +0000 (07:11 +0000)
-Translate 'inherited' in FAI options

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12888 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/workstationStartup.tpl

index ed9037f2b92eec4934ab75c86873b9e20a07d11f..92ae9dfe1b9f271da1869e4b1d8e4e18ebdf84db 100644 (file)
        {render acl=$FAIdebianMirrorACL}
                                                <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
                                                        {foreach from=$FAIservers item=val key=key}
+                                                               {if $key == "inherited" || $key == "auto"} 
+                                                               <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{t}{$key}{/t}</option>
+                                                               {else}
                                                                <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{$key}</option>
+                                                               {/if}
                                                        {/foreach}
                                                </select>
        {/render}
        {render acl=$FAIdebianMirrorACL}
                                                <select name="FAIdebianMirror" {$FAIdebianMirrorACL} onchange='document.mainform.submit()'>
                                                        {foreach from=$FAIservers item=val key=key}
+                                                               {if $key == "inherited" || $key == "auto"} 
+                                                               <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{t}{$key}{/t}</option>
+                                                               {else}
                                                                <option value="{$key}" {if $FAIdebianMirror == $key} selected {/if}>{$key}</option>
+                                                               {/if}
                                                        {/foreach}
                                                </select>
        {/render}