Пример #1
0
 /**
  * Tells the view to pre-load the templates that are required.
  *
  * @param XenForo_View $view
  */
 public function preLoadTemplates(XenForo_View $view)
 {
     $view->preLoadTemplate('bb_code_tag_code');
     $view->preLoadTemplate('bb_code_tag_php');
     $view->preLoadTemplate('bb_code_tag_html');
     $view->preLoadTemplate('bb_code_tag_quote');
     $view->preLoadTemplate('bb_code_tag_attach');
     $view->preLoadTemplate('bb_code_tag_spoiler');
 }
Пример #2
0
 public function preLoadTemplates(XenForo_View $view)
 {
     $view->preLoadTemplate('tinhte_xentag_bb_code_tag_tag');
     $view->preLoadTemplate('tinhte_xentag_bb_code_tag_hashtag');
     return parent::preLoadTemplates($view);
 }