Code
<ul>
<!--[foreach item=tsetting from=$tsettings]-->
<form action="<!--[pnmodurl modname="pnguildmgr" type="user" func="main"]-->" method="post" id="SETTING<!--[$tsetting.sid]-->">
<input type="hidden" name="tplinclude" value='pnguildmgr_user_view.htm' />
<input type="hidden" name="gid" value='<!--[$gid]-->' />
<input type="hidden" name="psetting" value='<!--[$tsetting.name]-->' />
<li>
<a href="#" onclick="document.getElementById('SETTING<!--[$tsetting.sid]-->').submit();return false;" title="<!--[$tsetting.name]-->"><!--[$tsetting.name]--></a>
</li>
</form>
<!--[/foreach]-->
</ul>
<!--[foreach item=tsetting from=$tsettings]-->
<form action="<!--[pnmodurl modname="pnguildmgr" type="user" func="main"]-->" method="post" id="SETTING<!--[$tsetting.sid]-->">
<input type="hidden" name="tplinclude" value='pnguildmgr_user_view.htm' />
<input type="hidden" name="gid" value='<!--[$gid]-->' />
<input type="hidden" name="psetting" value='<!--[$tsetting.name]-->' />
<li>
<a href="#" onclick="document.getElementById('SETTING<!--[$tsetting.sid]-->').submit();return false;" title="<!--[$tsetting.name]-->"><!--[$tsetting.name]--></a>
</li>
</form>
<!--[/foreach]-->
</ul>
This code because of the form breaks up my lists with double spacing how the heck do I get around it.
It ends up looking like this.
- [*:5f242c328a]Red
- [*:5f242c328a]Yellow
- [*:5f242c328a]Red
- [*:5f242c328a]Yellow
How do I get rid of the spacing any ideas?
