2012-04-13, 03:38 PM
Hello, MyBB Community!
Can someone tell me how to exclude the thead from the entire tborder globally? For example, in the forumbit_depth1_cat template, we can exclude the thead by editing the template like this:
I want to know how can I make this change globally?
Thanks!
Can someone tell me how to exclude the thead from the entire tborder globally? For example, in the forumbit_depth1_cat template, we can exclude the thead by editing the template like this:
<div class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</div>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
As you can see, I moved the table that contains tborder under the thead. By doing this, the tborder will appear under the thead, containing (in this case) only the tcat, trow1 and trow2.I want to know how can I make this change globally?
Thanks!