PDA

View Full Version : Replace Buttons with Images?


vlastanovak
08-17-2010, 07:19 AM
Hello,

I would like to replace the buttons on my site (eg "Reply to this thread", "Closed thread" etc) with custom images I have created.

What's the best way to go about this?

I've located the relevant code in the SHOWTHREAD template:

<vb:if condition="$show['largereplybutton']">
<a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&amp;noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a>
<img style="display:none" id="progress_newreplylink_top" src="{vb:stylevar imgdir_misc}/progress.gif" alt="" />
</vb:if>

Only problem is, I'm not sure how to edit it to do what I want.

I'm sure this is a simple question? Does anyone know the answer?

Thanks in advance.

vlastanovak
08-18-2010, 10:16 AM
Bump.