Rather than adding a link below the message body box it adds a button to the existing bbCode buttons.
- Code: Select all
#
#-----[ OPEN ]----------------------------------------------
#
templates/ca_aphrodite/posting_body.tpl
#
#-----[ FIND ]----------------------------------------------
#
w_help = "{L_BBCODE_W_HELP}";
#
#-----[ AFTER, ADD ]----------------------------------------
#
g_help = "Upload image to PostImage.org and add to message (alt+g)";
#
#-----[ FIND ]----------------------------------------------
#
<td><span class="genmed">
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
</span></td>
#
#-----[ AFTER, ADD ]----------------------------------------
#
<td><span class="genmed">
<input type="button" class="button" accesskey="g" value="Remote Img" style="width: 100px" onClick="window.open('http://www.postimage.org/index.php?mode=phpbb&tpl=.&forumurl=' + escape(document.location.href), '_imagehost', 'resizable=yes,width=500,height=400');return false;" onMouseOver="helpline('g')" />
</span></td>
#
#-----[ FIND ]----------------------------------------------
#
<td colspan="9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed button"> {L_FONT_COLOR}:
#
#-----[ REPLACE WITH ]--------------------------------------
#
<td colspan="10">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="genmed button"> {L_FONT_COLOR}:
#
#-----[ FIND ]----------------------------------------------
#
<td colspan="9"><input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" readonly="readonly" /></td>
#
#-----[ REPLACE WITH ]--------------------------------------
#
<td colspan="10"><input type="text" name="helpbox" size="45" maxlength="100" style="width:450px; font-size:10px" class="helpline" value="{L_STYLES_TIP}" readonly="readonly" /></td>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM





