From: hickert Date: Tue, 8 Jul 2008 09:00:50 +0000 (+0000) Subject: Do not display krb-si actions, if we are not useing the MIT kerberos method. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dc864abf98370d290c7b0d7dbd4caa9e843122a2;p=gosa.git Do not display krb-si actions, if we are not useing the MIT kerberos method. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11551 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc index 36dc66694..ce84ffd75 100644 --- a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc +++ b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc @@ -88,6 +88,7 @@ class goKrbServer extends goService{ public function execute() { $smarty = get_smarty(); + $smarty->assign("MIT_KRB", class_available("passwordMethodMIT")); if(!$this->view_logged){ $this->view_logged = TRUE; diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/goKrbServer.tpl b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/goKrbServer.tpl index 843ea9d3b..251b77e59 100644 --- a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/goKrbServer.tpl +++ b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/goKrbServer.tpl @@ -11,6 +11,7 @@ +{if $MIT_KRB}

{t}Policies{/t}

@@ -26,6 +27,7 @@ +{/if}