From 83767be80c29e3d3ca99f4a7d2eaab97f8256d1b Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 11 Jan 2012 15:22:32 +0100 Subject: remove unused stuff --- application/modules/dev/forms/LinkRight.php | 56 ----------------------------- 1 file changed, 56 deletions(-) delete mode 100644 application/modules/dev/forms/LinkRight.php (limited to 'application/modules/dev/forms/LinkRight.php') diff --git a/application/modules/dev/forms/LinkRight.php b/application/modules/dev/forms/LinkRight.php deleted file mode 100644 index 4269bd8..0000000 --- a/application/modules/dev/forms/LinkRight.php +++ /dev/null @@ -1,56 +0,0 @@ -rightlist = $rightlist; - } - - public function setRoleID($roleID) { - $this->roleID = $roleID; - } - - public function init() { - $this->setName("LinkRight"); - $this->setMethod('post'); - - $rightfield = $this->createElement('select', 'rightID'); - $rightfield ->setLabel('Right:'); - - if(count($this->rightlist) > 0) { - foreach($this->rightlist as $right => $r) { - $rightfield->addMultiOption($r->getID(), $r->getTitle()); - } - } - $rightfield->setRegisterInArrayValidator(false); - $this->addElement($rightfield); - - $this->addElement('submit', 'link', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Add', - )); - - $this->addElement('button', 'cancel', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Cancel', - 'onclick' => 'location.href="javascript:history.back();"', - )); - } - - -} - -- cgit v1.2.3-55-g7522