Quote:
Originally Posted by Boofo
That still doesn't work for the line underneath. This will solve it.
HTML Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7</if><if condition="$show['threadicons'] AND !$show['inlinemod']">6</if><if condition="!$show['threadicons'] AND $show['inlinemod']">6</if><if condition="!$show['threadicons'] AND !$show['inlinemod']">5</if>"> </td></tr>
|
Ouch! 4 if conditions just for that.?
Would this not be better (2 if conditions)?
HTML Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>"> </td></tr>
Plus, if you feel that the separator is too thick, you could use this instead (
see demo)..
HTML Code:
<tr><td class="thead" colspan="<if condition="$show['threadicons'] AND $show['inlinemod']">7<else /><if condition="($show['threadicons'] AND !$show['inlinemod']) OR (!$show['threadicons'] AND $show['inlinemod'])">6<else />5</if></if>"><img src="$vboptions[cleargifurl]" width="1" height="1" alt="" /></td></tr>