コード例 #1
0
 public function execute($sub)
 {
     if (!$this->userCanExecute($this->getUser())) {
         $this->displayRestrictionError();
         return;
     }
     $out = $this->getOutput();
     $out->setPageTitle($this->msg('title-view-all'));
     $out->addWikiMsg('view-all-intro');
     $out->addHTML(AdminRights::displayAllWords());
 }
 public function showSpellings($formData)
 {
     $language = $formData['language'];
     $out = $this->getOutput();
     $out->addHTML(AdminRights::displayByLanguage($language));
 }