7
RE, the linebreak issue...I've added this code back to forumforminc.php:
$xcode_checkbox = new XoopsFormCheckBox('', 'doxcode', $doxcode);
$xcode_checkbox->addOption(1, _MD_DOXCODE);
$options_tray->addElement($xcode_checkbox);
$br_checkbox = new XoopsFormCheckBox('', 'dobr', $dobr);
$br_checkbox->addOption(1, _MD_DOBR);
$options_tray->addElement($br_checkbox);
The "problem" I face is being able to
hide the checkboxes for both of these options---that's what I want to do but apparently my removing this code prevents either function from working. Why is showing these options/checkboxes even necessary?
On our site, there's no need for them to be visible and quite honestly, I'm not sure I understand the reasoning for not making these options
hidden by default to begin with. I'm registered at several sites that use phpBB, Invision, etc, and not one of them have either of these options displayed. Then again, I'm no expert so I'm sure there's got to be some logic behind this. However, I know what I want and what I
don't want on our site.
Could someone with more php knowledge help me with the correct "if" values (I think that's the right way to go) to hide these checkboxes, while leaving the functions intact? Please, I need to fix this. Thank you.
Cavan