Ejemplo n.º 1
0
 public function processPost($postData)
 {
     $this->postClass = $this->environment->get('kx:classes:board:posting:id');
     $postData['is_oekaki'] = $this->postClass->checkOekaki();
     if ($postData['is_oekaki']) {
         if (file_exists(KX_BOARD . '/' . $this->board->board_name . '/src/' . $files[0]['file_name'] . '.pch')) {
             $postData['thread_info']['message'] .= '<br /><small><a href="' . KX_SCRIPT . '/animation.php?board=' . $this->board->board_name . '&amp;id=' . $files[0]['file_name'] . '">' . _gettext('View animation') . '</a></small>';
         }
     }
     parent::processPost($postData);
 }
Ejemplo n.º 2
0
 public function processPost($postData)
 {
     $this->postClass = $this->environment->get('kx:classes:board:posting:id');
     $postData['thread_info']['tag'] = $this->postClass->getPostTag();
     parent::processPost($postData);
 }