From: hickert Date: Thu, 29 Apr 2010 12:14:28 +0000 (+0000) Subject: Removed usePrototype flag, its activated always now. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7aeec0dede02b3b9e849d7eff61e610bf191a6a0;p=gosa.git Removed usePrototype flag, its activated always now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17967 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index 7fe3dc6c5..b927f7f0f 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -327,7 +327,7 @@ class posixAccount extends plugin /* Templates now! */ $smarty= get_smarty(); - $smarty->assign("usePrototype", "true"); + // Handle trust mode dialog @@ -351,7 +351,7 @@ class posixAccount extends plugin // Handle ssh dialog? if ($this->ssh instanceOf sshPublicKey && preg_match('/[rw]/', $this->getacl("sshPublicKey"))) { - $smarty->assign("usePrototype", "false"); + if ($result= $this->ssh->execute()) { $this->dialog= true; pathNavigator::registerPlugin("SSH keys"); @@ -362,7 +362,7 @@ class posixAccount extends plugin /* Show main page */ $smarty= get_smarty(); - $smarty->assign("usePrototype", "true"); + $smarty->assign("sshPublicKeyACL", $this->getacl("sshPublicKey"));