public function indexAction()
 {
     $this->_helper->layout->disableLayout();
     trackPage('/changelog');
     $wiki = ApplicationConfiguration::app('wiki');
     $haswiki = $wiki === "" ? false : true;
     $currentwiki = "/pages/about/changelog";
     if ($haswiki) {
         $currentwiki = $wiki . "main:about:changelog";
         $this->view->currentwiki = $currentwiki;
         return;
     }
     $this->_helper->viewRenderer->setNoRender();
     $s = file_get_contents(APPLICATION_PATH . "/../CHANGELOG");
     $s = str_replace("\n", "<br/>", $s);
     $s = preg_replace("/EGI RT #(\\d+)/", '<a target="_blank" href="https://rt.egi.eu/guest/Ticket/Display.html?id=${1}">EGI RT #${1}</a>', $s);
     $s = preg_replace("/GGUS #(\\d+)/", '<a target="_blank" href="https://gus.fzk.de/ws/ticket_info.php?ticket=${1}">GGUS #${1}</a>', $s);
     echo $s;
 }
Exemple #2
0
 function __construct()
 {
     $this->font = ApplicationConfiguration::app('pngfont', 'wine-tahoma.ttf');
 }