1
Catzwolf
Bug: Xoops Forms
  • 2010/5/11 21:44

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


When Xoopsforms are rendered, Breaks:

<br />

are being added to the beginning of the code, this results in spaces being placed in the html.

<br /><input type="hidden" name="dohtml" id="dohtml" value="1" />
<
br /><input type="hidden" name="dobr" id="dobr" value="0" />
<
br /><input type='checkbox' name='doxcode' id='doxcode1' title='' value='1' checked="checked"  /><label name='xolb_doxcode' for='doxcode1'Enable XOOPS Codes</label> 
<br /><input type='checkbox' name='dosmiley' id='dosmiley1' title='' value='1' checked="checked"  /><label name='xolb_dosmiley' for='dosmiley1'Enable Smiley Icons</label> 


Seems [code]'\n'[\code] linebreaks are being converted to html breaks?

This only seems to happen when ising the non Xoops editors.

2
ghia
Re: Bug: Xoops Forms
  • 2010/5/12 8:49

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Don't see what the problem is or which editors you mean. It is eg also the case when editing this post in the forum with the DHTML editor, where all options are aligned, one under the other.
<tr align="left" valign="top"><td class="head"><div class="xoops-form-element-caption"><span class="caption-text">Options:</span><span class="caption-marker">*</span></div></td><td class="even"><input name="dosmiley" id="dosmiley1" title="" value="1" checked="checked" type="checkbox"><label name="xolb_dosmiley" for="dosmiley1">Enable Smiley</label>&nbsp;
<
br><input name="doxcode" id="doxcode1" title="" value="1" checked="checked" type="checkbox"><label name="xolb_doxcode" for="doxcode1">Enable Xoops Code</label>&nbsp;
<
br><input name="dobr" id="dobr1" title="" value="1" checked="checked" type="checkbox"><label name="xolb_dobr" for="dobr1">Enable line break (Suggest to turn off if HTML enabled)</label>&nbsp;
<
br><input name="attachsig" id="attachsig1" title="" value="1" checked="checked" type="checkbox"><label name="xolb_attachsig" for="attachsig1">Attach Signature</label>&nbsp;

<
br><input name="notify" id="notify1" title="" value="1" type="checkbox"><label name="xolb_notify" for="notify1">Notify me of new posts in this thread</label>&nbsp;
</
td></tr>

Login

Who's Online

147 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 147


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits