Code

Added realm policy
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Apr 2008 08:34:29 +0000 (08:34 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Apr 2008 08:34:29 +0000 (08:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10736 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/ihtml/themes/default/pwd_kerberos_mit.tpl

index eeda58e72b43c3f84dd1f4cb39fd3f4db508a284..5391eea5dee98454bcec47f02ce2fe9ad5c811b0 100644 (file)
@@ -4,11 +4,43 @@
                        <h2>{t}Heimdal options{/t}</h2>
                        <i>{t}Use empty values for infinite{/t}</i>
                        <table style="width:100%;">
+                               <tr>
+                                       <td>
+                                               <label for="goKrbRealm">{t}Realm{/t}</label>
+                                       </td>
+                                       <td>
+                                               <select name="goKrbRealm" onChange="document.mainform.submit();">
+                                               {foreach from=$server_list item=item key=key}
+                                                       {if $item.goKrbRealm==$goKrbRealm}
+                                                       <option selected value="{$item.goKrbRealm}">{$item.goKrbRealm} - {$key}</option>
+                                                       {else}
+                                                       <option value="{$item.goKrbRealm}">{$item.goKrbRealm} - {$key}</option>
+                                                       {/if}
+                                               {/foreach}
+                                               </select>
+                                       </td>
+                               <tr>
+                               </tr>
+                                       <td>
+                                               <label for="POLICY">{t}POLICY{/t}</label>
+                                       </td>
+                                       <td>
+                                               <select name="POLICY">
+                                               {foreach from=$POLICIES item=item key=key}
+                                                       {if $POLICY==$item}
+                                                       <option selected value="{$item}">{$item}</option>
+                                                       {else}
+                                                       <option value="{$item}">{$item}</option>
+                                                       {/if}
+                                               {/foreach}
+                                               </select>
+                                       </td>
+                               </tr>
                                <tr>
                                        <td>
                                                <label for="MAX_LIFE">{t}Ticket max life{/t}</label>
                                        </td>
-                                       <td colspan="6">
+                                       <td>
                                                <input id="MAX_LIFE" type="text" name="MAX_LIFE" value="{$MAX_LIFE}"> 
                                        </td>
                                </tr>
@@ -16,7 +48,7 @@
                                        <td>
                                                <label for="MAX_RENEWABLE_LIFE">{t}Ticket max renew{/t}</label>
                                        </td>
-                                       <td colspan="6">
+                                       <td>
                                                <input id="MAX_RENEWABLE_LIFE" type="text" name="MAX_RENEWABLE_LIFE" value="{$MAX_RENEWABLE_LIFE}">
                                        </td>
                                </tr>