Example #1
0
 public function coloredQuote(&$message)
 {
     parent::coloredQuote($message);
     // Remove the > from the quoted line if it is a text board
     if ($boardtype == 1) {
         $message = str_replace('<span class="quote">&gt;', '<span class="quote">', $message);
     }
 }
Example #2
0
 public function regeneratePages()
 {
     $postsperpage = 30;
     parent::regeneratePages();
 }
Example #3
0
 /**
  * Generate the postbox area
  *
  * @param integer $replythread The ID of the thread being replied to.  0 if not replying
  * @param string $postboxnotice The postbox notice
  * @return string The generated postbox
  */
 public function postBox($replythread = 0)
 {
     parent::postBox($replythread);
     $oekposts = $this->db->select("posts")->fields("posts", array("post_id"))->innerJoin("post_files", "", "file_post = post_id AND file_board = post_board");
     $oekposts = $oekposts->condition("post_board", $this->board->board_id)->condition($this->db->condition("OR")->condition("post_id", $replythread)->condition("post_parent", $replythread))->condition("file_name", "", "!=")->condition("file_type", array("jpg", "gif", "png"), "IN")->condition("post_deleted", 0)->orderBy("post_parent")->orderBy("post_timestamp")->execute()->fetchAll();
     $this->twigData['oekposts'] = $oekposts;
 }