summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13d6a46)
raw | patch | inline | side by side (parent: 13d6a46)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 09:00:50 +0000 (09:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 Jul 2008 09:00:50 +0000 (09:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11551 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc | patch | blob | history | |
gosa-plugins/mit-krb5/admin/systems/services/kerberos/goKrbServer.tpl | patch | blob | history |
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 36dc66694ec6997630f6723acbe20dc8e3343182..ce84ffd75d85bfd48249cba41a629178c104f467 100644 (file)
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 843ea9d3bf0e8f75b4a45f723d9c0f4456014735..251b77e59946b5ebd33ad0ab71374374fc485a8e 100644 (file)
</table>
</td>
</tr>
+{if $MIT_KRB}
<tr>
<td>
<h2>{t}Policies{/t}</h2>
<input type='submit' name="policy_add" value="{msgPool type=addButton}">
</td>
</tr>
+{/if}
</table>
<p class='seperator'> </p>