diff options
| author | michael pereira | 2011-04-05 19:33:19 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-05 19:33:19 +0200 |
| commit | 3a6c9972b59b11dc98b76ee51446d5568ef0f519 (patch) | |
| tree | b0b93ab6630b09c12a94e7e97fb5bd7783754fca /application/modules/user/forms/Preboot.php | |
| parent | Dates angepasst (diff) | |
| download | pbs2-3a6c9972b59b11dc98b76ee51446d5568ef0f519.tar.gz pbs2-3a6c9972b59b11dc98b76ee51446d5568ef0f519.tar.xz pbs2-3a6c9972b59b11dc98b76ee51446d5568ef0f519.zip | |
Forms Rechte angepasst, Views angepasst
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
| -rw-r--r-- | application/modules/user/forms/Preboot.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php index 2b8ccff..8032a71 100644 --- a/application/modules/user/forms/Preboot.php +++ b/application/modules/user/forms/Preboot.php @@ -4,12 +4,8 @@ class user_Form_Preboot extends Zend_Form { private $action; - private $rights; private $page; - public function setRights($rights){ - $this->rights = $rights; - } public function setAction($action){ $this->action = $action; } @@ -22,7 +18,7 @@ class user_Form_Preboot extends Zend_Form $this->setName($this->action); $this->setMethod('post'); - if ($this->rights == 'meta') + if (Pbs_Acl::checkRight('prem')) $meta = true; $this->addElement('text', 'title', array( |
