5

this select is only shown in 'dhtmltextarea' or 'textarea' so any editor other than these 2 have bbcode disabled and only html works, its due to the a condition in
modules\system\class\block.php line 113
le="color: #000000"><?php if ( in_array( $editor_configs["editor"], array('dhtmltextarea','textarea' ) ) ) { $ctype_select = new XoopsFormSelect(_AM_SYSTEM_BLOCKS_CTYPE, 'c_type', $this->getVar('c_type')); $ctype_select->addOptionArray(array( 'H' => _AM_SYSTEM_BLOCKS_HTML, 'P' => _AM_SYSTEM_BLOCKS_PHP, 'S' => _AM_SYSTEM_BLOCKS_AFWSMILE, 'T' => _AM_SYSTEM_BLOCKS_AFNOSMILE)); $form->addElement($ctype_select); } else { $form->addElement(new XoopsFormHidden('c_type', 'H')); }
and seems like the preview bug only occur when making a new topic or post, i still dont know the cause yet but i'll keep looking for the problem