Just copy the code below into your forum layout

Code:
<div class="your css class">{% set mtemp = author|split('"') %} {% set msg_url = mtemp[1] %} {% set msg_p = msg_url|split('&amp;') %}<a href="/forums.php?id=quote&{{msg_p[1]}}&{{msg_p[2]}}&{{msg_p[3]}}"><button>Quote</button></a>{% if api.user_id == author_id %} <a href="/forums.php?id=edit_msg&{{msg_p[1]}}&{{msg_p[2]}}&{{msg_p[3]}}"><button>Edit</button></a>{% endif %}{% if api.user_id == author_id %} <a href="/forums.php?id=delete_msg&{{msg_p[1]}}&{{msg_p[2]}}&{{msg_p[3]}}"><button>Delete</button></a></div>{% endif %}