Myslím že preklad je zbytoční.. Jedine ak zvyčajná malá napoveda:
[ OPEN ]-> otvor
[ BEFORE, ADD ] -> pridaj pred
[ AFTER, ADD ] -> pridaj za
[ FIND ] -> nájdi
[ COPY ] -> nakopíruj
[ SAVE/CLOSE ALL FILES ] -> zatvor a ulož všetky zmenené súbory
Kód:
##############################################################
## MOD Title: Quick Reply MOD
## MOD Author: morpheus2matrix < morpheus@2037.biz > (Morpheus) http://morpheus.2037.biz
## MOD Primary Author : Smartor and Ralendil
## MOD Description: This MOD will allow you to add a quick reply box on your Forum
## MOD Version: 1.0.0
## Compatibility: 2.0.6
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: 4
## viewtopic.php
## language/lang_english/lang_main.php
## templates/subSilver/viewtopic_body.tpl
## templates/subSilver/subSilver.cfg
##
## Included Files: quick_reply.gif
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##
##
##############################################################
## MOD History:
##
## 2003-11-07 - Version 1.0.0
## - Initial Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------------
#
'U_POST_REPLY_TOPIC' => $reply_topic_url)
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Quick Reply MOD
if ( ( $is_auth['auth_reply'] ) or ( $forum_topic_data['forum_status'] <> FORUM_LOCKED ) or ( $forum_topic_data['topic_status'] <> TOPIC_LOCKED ) )
{
$quick_reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['quick_reply'];
$quick_reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Quick_Reply_To_Topic'];
if ( !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_username_field', array());
}
$template->assign_block_vars('quick_reply', array(
'QUICK_REPLY_IMG' => $quick_reply_img,
'L_QUICK_REPLY_TOPIC' => $quick_reply_alt,
'L_EMPTY_MESSAGE' => $lang['Empty_message'],
'U_QUICK_REPLY' => append_sid('posting.' . $phpEx),
'S_HIDDEN_FORM' => ( ( $userdata['user_attachsig'] ? '<input type="hidden" name="attach_sig" value="1" />' : "" ) . ( $userdata['user_notify'] ? '<input type="hidden" name="notify" value="1" />' : "" ) . '<input type="hidden" name="mode" value="reply" /><input type="hidden" name="post" value="1"><input type="hidden" name="' . POST_TOPIC_URL . '" value="' . $topic_id . '" /> <input type="hidden" name="sid" value="' . $userdata['session_id'] . '" />' ) )
);
}
// Quick Reply MOD
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
{S_TOPIC_ADMIN}</td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN quick_reply -->
</tr>
</table>
<table width='100%' cellspacing='2' border='0' align='center'>
<tr>
<td valign='top' align='left'>
<form name='quick_reply' action='{quick_reply.U_QUICK_REPLY}' method='post'>
<!-- END quick_reply -->
<!-- BEGIN switch_username_field -->
<span class='gensmall'><b>{L_USERNAME}</b></span><br />
<span class='genmed'><input type='text' class='post' tabindex='1' name='username' size='25' maxlength='25' value='' /></span><br />
<!-- END switch_username_field -->
<!-- BEGIN quick_reply -->
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:425px" class="post" onclick="{if(document.quick_reply.message.value=='{L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">{L_QUICK_REPLY_TOPIC}</textarea><br />
{quick_reply.S_HIDDEN_FORM}
<input type='image' src='{quick_reply.QUICK_REPLY_IMG}' border='0' alt="{quick_reply.L_QUICK_REPLY_TOPIC}" onClick="if(document.quick_reply.message.value == '{quick_reply.L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{quick_reply.L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />
</form>
</td>
<!-- END quick_reply -->
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------------
#
$board_config['privmsg_graphic_length'] = 175;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$images['quick_reply'] = "$current_template_images/quick_reply.gif";
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$lang['Quick_Reply_To_Topic'] = 'Post a Quick Reply';
#
#-----[ COPY ]-------------------------------------------------
#
copy quick_reply.gif to templates/subSilver/images/
#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
# EoM