Esempio n. 1
0
 function showContent()
 {
     $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE));
     $cnt = $nl->show();
     if (0 === $cnt) {
         $this->showEmptyListMessage();
     }
     $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'replies', array('nickname' => $this->target->getNickname()));
 }
Esempio n. 2
0
 protected function showContent()
 {
     if (Event::handle('StartTagShowContent', array($this))) {
         $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE));
         $cnt = $nl->show();
         $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'tag', array('tag' => $this->tag));
         Event::handle('EndTagShowContent', array($this));
     }
 }
Esempio n. 3
0
 function showNotices()
 {
     if (Event::handle('StartShowProfileTagContent', array($this))) {
         $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE));
         $cnt = $nl->show();
         if (0 == $cnt) {
             $this->showEmptyListMessage();
         }
         $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'showprofiletag', array('tag' => $this->peopletag->tag, 'tagger' => $this->tagger->nickname));
         Event::handle('EndShowProfileTagContent', array($this));
     }
 }