Example #1
0
 private function assign_editor_vars()
 {
     $this->smarty->assign('max_file_size', \CODOF\Util::get_opt('forum_attachments_size'));
     $this->smarty->assign('allowed_file_mimetypes', \CODOF\Util::get_opt('forum_attachments_mimetypes'));
     $this->smarty->assign('forum_attachments_parallel', \CODOF\Util::get_opt('forum_attachments_parallel'));
     $this->smarty->assign('forum_attachments_multiple', \CODOF\Util::get_opt('forum_attachments_multiple'));
     $this->smarty->assign('forum_attachments_max', \CODOF\Util::get_opt('forum_attachments_max'));
     $this->smarty->assign('forum_smileys', json_encode(\CODOF\Util::get_smileys($this->db)));
     $this->smarty->assign('reply_min_chars', \CODOF\Util::get_opt('reply_min_chars'));
 }