Page 1 of 1

Quick Quote

PostPosted: Mon May 05, 2008 12:07 pm
Author: Blue-Blood
How do I make the quick quote button to a image button
Thanks

Re: Quick Quote

PostPosted: Thu May 08, 2008 1:59 am
Author: found it
off the top of my head no idea... not that that is a lot of help...

though I thought I would have a go...

open viewtopic.php and find

Code: Select all
        $quick_quote = '<input>  ';


replace with

Code: Select all
        $quick_quote = '<img src="templates/YOUR-TEMPLATE/images/lang_english/YOUR-IMAGE"' . $lang['Quick_quote'] . '"  onClick="addquote(' . $postrow[$i]['post_id'] . ');" />  ';


remember to change the code which I have highlighted

:mrgreen:

PostPosted: Thu May 08, 2008 8:53 pm
Author: Blue-Blood
OK this is just basic html, input type would have to be image. Then you just drop the class="button" and add the image....


$quick_quote = '<input type="image" src="templates/YOUR-TEMPLATE/images/lang_english/YOUR-IMAGE"' . $lang['Quick_quote'] . '" onClick="addquote(' . $postrow[$i]['post_id'] . ');" /> '; }

Thanks budy

Re: Quick Quote

PostPosted: Fri May 09, 2008 2:51 am
Author: found it
so does that mean you could have just sorted it yourself...?

would have saved me my time if you know what you are doing...

:mrgreen: