Quote:
Originally Posted by Slave
Gary .. any chance you could add collapsibility to it?
|
I did it with Karthick's template (thanks !) :
Find :
Code:
<tr>
<td class="tcat" colspan="2">$vbphrase[quick_new_thread]</td>
</tr>
<tr>
<td class="alt1" colspan="2"><span class="smallfont"><phrase 1="$session[sessionurl]" 2="$foruminfo[forumid]">$vbphrase[more_options_newthread]</phrase></span></td>
</tr>
<tr class="alt2">
<td class="alt2"><b>$vbphrase[subject]:</b></td>
<td class="alt2"><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="4" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
Replace with :
Code:
<tbody>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickthread')"><img id="collapseimg_quickthread" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickthread].gif" alt="" border="0" /></a>$vbphrase[quick_new_thread]
</td>
</tr>
</tbody>
<tbody id="collapseobj_quickthread" style="$vbcollapse[collapseobj_quickthread]">
<tr>
<td class="alt1" colspan="2"><span class="smallfont"><phrase 1="$session[sessionurl]" 2="$foruminfo[forumid]">$vbphrase[more_options_newthread]</phrase></span></td>
</tr>
<tr class="alt2">
<td class="alt2"><b>$vbphrase[subject]:</b></td>
<td class="alt2"><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="4" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></tbody></table>
Thanks for this very useful hack : 56k users love it !