@@ 613-622 (lines=10) @@ | ||
610 | $forward->meta_noindex = $xml_info->action->{$this->act}->meta_noindex; |
|
611 | $forward->act = $this->act; |
|
612 | } |
|
613 | else |
|
614 | { |
|
615 | $this->error = 'msg_invalid_request'; |
|
616 | $oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode); |
|
617 | $oMessageObject->setError(-1); |
|
618 | $oMessageObject->setMessage($this->error); |
|
619 | $oMessageObject->dispMessage(); |
|
620 | ||
621 | return $oMessageObject; |
|
622 | } |
|
623 | } |
|
624 | ||
625 | if(!$forward) |
|
@@ 726-736 (lines=11) @@ | ||
723 | $oModule->setLayoutFile("layout.html"); |
|
724 | } |
|
725 | } |
|
726 | else |
|
727 | { |
|
728 | $this->_setInputErrorToContext(); |
|
729 | ||
730 | $this->error = 'msg_is_not_administrator'; |
|
731 | $oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode); |
|
732 | $oMessageObject->setError(-1); |
|
733 | $oMessageObject->setMessage($this->error); |
|
734 | $oMessageObject->dispMessage(); |
|
735 | return $oMessageObject; |
|
736 | } |
|
737 | } |
|
738 | if($kind == 'admin') |
|
739 | { |