Code

Fixed again
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jun 2008 09:08:14 +0000 (09:08 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Jun 2008 09:08:14 +0000 (09:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11236 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mit-krb5/admin/systems/services/kerberos/krb_host_keys.tpl

index 2d92785084aa532c11ddc29068c2087e3263f1cc..baf2488db5f7b43be05b07cb1b2a92011ead7220 100644 (file)
@@ -1,5 +1,6 @@
 {if !$is_service_key}
 <p class="seperator">&nbsp;</p>
+{/if}
 <h2><img class="center" alt="" src="images/lists/locked.png" align="middle">   {t}Kerberos keys{/t}</h2>
 
 {t}Reload key list{/t} &nbsp;<input type='image' name='reload_krb_keys' src='images/lists/reload.png' alt='{t}Reload{/t}' class='center'>
        </tr>
 {/foreach}
 </table>
-
-{else}
-
-
-<h2><img class="center" alt="" src="images/lists/locked.png" align="middle">   {t}Kerberos keys{/t}</h2>
-<table style='width:100%;'>
-       <tr>
-               <td>
-                       <b>{t}Realms{/t}</b>: &nbsp; <input type='image' name='reload_krb_keys' src='images/lists/reload.png' alt='{t}Reload{/t}' class='center'>
-                       <br>
-               </td>   
-       </tr>
-       <tr>
-               <td>
-                       <table style="">
-                       {foreach from=$server_list item=item key=key}
-                               <tr>
-                                       <td style="padding-right:4px;">{$item.REALM}</td>
-                                       <td>
-                                               {if $item.PRESENT}
-                                                       <img src='images/empty.png' class="center">
-                                                       <input type='image' class='center' name='recreate_{$key}'
-                                                               alt='{t}Recreate key{/t}' title='{t}Recreate key{/t}'
-                                                               src='images/crossref.png'>
-                                                       <input type='image' class='center' name='remove_{$key}'
-                                                               alt='{t}Remove key{/t}' title='{t}Remove key{/t}'
-                                                               src='images/lists/trash.png'>
-                                               {else}
-                                                       <input type='image' class='center' name='create_{$key}'
-                                                               alt='{t}Create key{/t}' title='{t}Create key{/t}'
-                                                               src='images/lists/new.png'>
-                                                       <img src='images/empty.png' class="center">
-                                                       <img src='images/empty.png' class="center">
-                                               {/if}
-                                       </td>
-                                       
-                                       <td style='padding-left:50px;'>{if $item.USED != ""}<b>{t}Kerberos keys for this realm{/t}</b>:&nbsp;{$item.USED}{/if}</td>
-                               </tr>
-                       {/foreach}
-                       </table>
-               </td>
-       </tr>
-</table>
+{if $is_service_key}
 <p class="seperator">&nbsp;</p>
 {/if}