Exemplo n.º 1
0
 public function getHtmlHeadEntrySet()
 {
     $this->createForm();
     $set = parent::getHtmlHeadEntrySet();
     $set->addEntrySet($this->form->getHtmlHeadEntrySet());
     return $set;
 }
 protected function displayTitle()
 {
     if ($this->app->session->isLoggedIn() || $this->app->config->pinhole->passphrase == '') {
         return;
     }
     parent::displayTitle();
 }
 public function init()
 {
     parent::init();
     // set a cookie with the last visit date
     if ($this->app->hasModule('SiteCookieModule')) {
         $now = new SwatDate();
         $cookie = $this->app->getModule('SiteCookieModule');
         $cookie->setCookie('last_visit_date', $now->getISO8601());
     }
 }
Exemplo n.º 4
0
 public function display()
 {
     parent::display();
     $this->html_head_entry_set->addEntrySet($this->tag_list_view->getHtmlHeadEntrySet());
 }
Exemplo n.º 5
0
 public function displayTitle()
 {
     if ($this->hasValue('title')) {
         parent::displayTitle();
     }
 }