Beispiel #1
0
 /**
  * Set up the defaults. Primarily sets up the handlers for various functions/tags.
  */
 protected function _setupDefaults()
 {
     parent::_setupDefaults();
     unset($this->_tagHandlers['include']);
 }
Beispiel #2
0
 /**
  * Set up the defaults. Primarily sets up the handlers for various functions/tags.
  */
 protected function _setupDefaults()
 {
     parent::_setupDefaults();
     $this->addFunctionHandlers(array('adminpagenav' => new XenForo_Template_Compiler_Function_PageNav()));
     $this->addTagHandlers(array('textboxunit' => new XenForo_Template_Compiler_Tag_Admin_TextBoxUnit(), 'textbox' => new XenForo_Template_Compiler_Tag_Admin_TextBoxUnit(), 'passwordunit' => new XenForo_Template_Compiler_Tag_Admin_PasswordUnit(), 'password' => new XenForo_Template_Compiler_Tag_Admin_PasswordUnit(), 'uploadunit' => new XenForo_Template_Compiler_Tag_Admin_UploadUnit(), 'upload' => new XenForo_Template_Compiler_Tag_Admin_UploadUnit(), 'selectunit' => new XenForo_Template_Compiler_Tag_Admin_SelectUnit(), 'select' => new XenForo_Template_Compiler_Tag_Admin_SelectUnit(), 'radiounit' => new XenForo_Template_Compiler_Tag_Admin_RadioUnit(), 'radio' => new XenForo_Template_Compiler_Tag_Admin_RadioUnit(), 'checkboxunit' => new XenForo_Template_Compiler_Tag_Admin_CheckBoxUnit(), 'checkbox' => new XenForo_Template_Compiler_Tag_Admin_CheckBoxUnit(), 'spinboxunit' => new XenForo_Template_Compiler_Tag_Admin_SpinBoxUnit(), 'spinbox' => new XenForo_Template_Compiler_Tag_Admin_SpinBoxUnit(), 'comboboxunit' => new XenForo_Template_Compiler_Tag_Admin_ComboBoxUnit(), 'combobox' => new XenForo_Template_Compiler_Tag_Admin_ComboBoxUnit(), 'controlunit' => new XenForo_Template_Compiler_Tag_Admin_ControlUnit(), 'submitunit' => new XenForo_Template_Compiler_Tag_Admin_SubmitUnit(), 'form' => new XenForo_Template_Compiler_Tag_Admin_Form(), 'listitem' => new XenForo_Template_Compiler_Tag_Admin_ListItem(), 'popup' => new XenForo_Template_Compiler_Tag_Admin_Popup(), 'adminpagenav' => new XenForo_Template_Compiler_Tag_PageNav()));
 }