コード例 #1
0
 /**
  * Shows an about page
  */
 public function aboutAction()
 {
     $this->initHtml();
     $this->html->h3()->sprintf($this->_('About %s'), $this->project->getName());
     $this->html->pInfo(\MUtil_Html_Raw::raw($this->project->getLongDescription($this->locale->getLanguage())));
     $this->html->append($this->_getOrganizationsList());
 }
コード例 #2
0
 public function formatjsonpre($json, $new = null, $name = null, $context = null)
 {
     return \MUtil_Html_Raw::raw('<pre>' . $json . '</pre>');
 }