summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f435c8a)
raw | patch | inline | side by side (parent: f435c8a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 13:36:04 +0000 (13:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Jun 2008 13:36:04 +0000 (13:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11214 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc | patch | blob | history | |
gosa-plugins/mit-krb5/admin/systems/services/kerberos/krb_host_keys.tpl | patch | blob | history |
diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_krb_host_keys.inc
index 0e31d98c23419ed5d7d41cba78ff5bcef994113a..85cef55f1adc3170e15e55f1a0af1bada98eff32 100644 (file)
private $init_namingAttr = "";
private $namingAttr = "";
+ private $is_service_key = FALSE;
public function __construct($config,$object)
{
if(!$this->kerberos_support) return("");
$smarty = get_smarty();
$smarty->assign("server_list",$this->server_list);
+ $smarty->assign("is_service_key" , $this->is_service_key);
return($smarty->fetch (get_template_path('krb_host_keys.tpl', TRUE,dirname(__FILE__))));
}
}
}
}
+
+
+ public function ServiceKey($bool = TRUE)
+ {
+ $this->is_service_key = $bool;
+ }
}
diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/krb_host_keys.tpl b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/krb_host_keys.tpl
index 641a5295bd9b59c288d951ba2daa2829cf3c3b1a..a34d95a42359e61b6e2b104c6423f5c2eb78adbe 100644 (file)
+{if !$is_service_key}
<p class="seperator"> </p>
+{/if}
<h2><img class="center" alt="" src="images/lists/locked.png" align="middle"> {t}Host key{/t}</h2>
<table style="">
{foreach from=$server_list item=item key=key}
</tr>
{/foreach}
</table>
+{if $is_service_key}
+<p class="seperator"> </p>
+{/if}