Title: Insert Username In Quick Reply v1.0

Author: Mike Kaplunov (maluta)

Contributions: scan

Description:
This modification will make the post author's name in the post clickable.
If you click on the post author's name it will be inserted into the Quick Reply field in bold letters.

Copyright:  2006 Mike Kaplunov. All rights reserved.

Compatability: XMB 1.9.8 SP3

Install Note: Before adding this modification to your forum you should back up all files related to this modification.

License Note: This modification is released under the GPL License. A copy is provided with this software package.

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.

===================================================
=======
Step 1:
=======
=================
Edit Template: header
=================
==========
Find Code:
==========

</head>

============
Insert Above:
============

<script language="Javascript" type="text/javascript">
<!--
function ins(name){
    if (document.forms['input'] && document.forms['input'].message){
        var input=document.forms['input'].message;
        input.value=input.value+"[b]"+name+"[/b], ";    
        document.forms['input'].message.focus();
    }
}
//-->
</script>

===================================================
=======
Step 2:
=======
========================
Edit Template: viewthread_post
========================

==========
Find Code:
==========

<strong>$post[author]</strong>

==================
Replace Code With:
==================

<strong><a onclick="javascript:ins('$post[author]')">$post[author]</a></strong>

===================================================
Enjoy!