/**
  * WikiServiceViews - Constructor
  */
 function WikiServiceViews(&$controler, $id = 0, $view = null)
 {
     $hp = Codendi_HTMLPurifier::instance();
     parent::WikiView($controler, $id, $view);
     $pm = ProjectManager::instance();
     if (!is_null($_REQUEST['pagename'])) {
         $this->html_params['title'] = $GLOBALS['Language']->getText('wiki_views_wikiserviceviews', 'wiki_page_title', array($hp->purify($_REQUEST['pagename'], CODENDI_PURIFIER_CONVERT_HTML), $pm->getProject($this->gid)->getPublicName()));
     } else {
         $this->html_params['title'] = $GLOBALS['Language']->getText('wiki_views_wikiserviceviews', 'wiki_title', array($pm->getProject($this->gid)->getPublicName()));
     }
     $GLOBALS['wiki_view'] =& $this;
 }
 /**
  * WikiServiceAdminViews - Constructor
  */
 function WikiServiceAdminViews(&$controler, $id = 0)
 {
     parent::WikiView($controler, $id);
     $pm = ProjectManager::instance();
     $this->html_params['title'] = $GLOBALS['Language']->getText('wiki_views_wkserviews', 'title', array($pm->getProject($this->gid)->getPublicName()));
 }