#
#-----[ OPEN ]------------------------------------------
#
quick_reply.php

#
#-----[ FIND ]------------------------------------------
#
generate_smilies('inline', PAGE_POSTING);

#
#-----[ AFTER, ADD ]------------------------------------------
#
//
// Lock/Unlock topic selection
//

if ( $is_auth['auth_mod'] )
{
	if ( $forum_topic_data['topic_status'] == TOPIC_LOCKED )
	{
		$template->assign_block_vars('switch_user_logged_in.switch_unlock_topic', array());

		$template->assign_vars(array(
			'L_UNLOCK_TOPIC' => $lang['Unlock_topic']
			)
		);
	}
	else if ( $forum_topic_data['topic_status'] == TOPIC_UNLOCKED )
	{
		$template->assign_block_vars('switch_user_logged_in.switch_lock_topic', array());

		$template->assign_vars(array(
			'L_LOCK_TOPIC' => $lang['Lock_topic']
			)
		);
	}
}

#
#-----[ OPEN ]------------------------------------------
#
quick_reply.tpl

#
#-----[ FIND ]------------------------------------------
#
				<span class="gensmall"><br /><input type="checkbox" name="attach_sig" {S_ATTACH_SIGNATURE}>{L_ATTACH_SIGNATURE}
				
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN switch_lock_topic -->
<br /><input type="checkbox" name="lock">{L_LOCK_TOPIC}
<!-- END switch_lock_topic -->
<!-- BEGIN switch_unlock_topic -->
<br /><input type="checkbox" name="unlock">{L_UNLOCK_TOPIC}
<!-- END switch_unlock_topic -->


