##############################################################
## MOD Title:		View or mark unread posts - subsilver2 changes
## MOD Author: asinshesq < N/A > (Alan) N/A
## MOD Description:	Subsilver2 changes for the view or mark unread posts mod
##
## MOD Version:		1.0.9
##
## Installation Level:	Easy
## Installation Time:	5 Minutes
##
## Files To Edit:	styles/subsilver2/template/overall_header.html
##					styles/subsilver2/template/search_results.html
##					styles/subsilver2/template/ucp_pm_viewmessage.html
##					styles/subsilver2/template/viewtopic_body.html
##
## License:			http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:	N/A
##
##############################################################
## MOD History:
##
## see mod history in main install file
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/overall_header.html

#
#-----[ FIND ]------------------------------------------
#
		<span style="float: {S_CONTENT_FLOW_END};">

#
#-----[ IN-LINE FIND ]------------------------------------------
#
<a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a>

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<!-- IF S_EXISTS_UNREADS --><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ELSE --><a href="{U_SEARCH_UNREAD}">{L_NO_UNREADS}</a><!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
		<!-- start mod view or mark unread posts (and end mod too) ... added code in preceding line to toggle link text between view unread and no unreads -->

#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/search_results.html

#
#-----[ FIND ]------------------------------------------
#
	<td colspan="2"><span class="titles"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --></span><br /></td>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
<br />

#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF S_SHOW_MARK_FORUMS_LINK --><p class="gensmall"><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></p><br /><!-- ENDIF -->

#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/ucp_pm_viewmessage.html

#
#-----[ FIND ]------------------------------------------
# Note: actual line is longer
					<td class="gensmall" align="{S_CONTENT_FLOW_END}">

#
#-----[ BEFORE, ADD ]------------------------------------------
#
					<td valign="bottom"><a href="{U_MARK_UNREAD}" class="gensmall" title="{L_MARK_PM_UNREAD}">{L_MARK_PM_UNREAD}</a></td>
					<!-- start mod view or mark unread posts (and end mod too) ... added preceding line -->

#
#-----[ OPEN ]------------------------------------------
#
styles/subsilver2/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">

#
#-----[ BEFORE, ADD ]------------------------------------------
#
							<!-- IF S_INC_UNREAD_LINK --><td valign="bottom"><a href="{postrow.U_MARK_UNREAD}" class="gensmall" title="{L_MARK_POST_UNREAD}">{L_MARK_POST_UNREAD}</a></td><!-- ENDIF -->
							<!-- start mod view or mark unread posts (and end mod too) ... added mark_post_unread references in the preceding line -->

#
#-----[ DIY INSTRUCTIONS ]-------------------------------------------------
#
Go into the ACP styles section and click 'refresh' (and confirm) for
subsilver2's templates.

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM