themes/oxygen/comment.tpl
changeset 1280 871f17a0d27d
parent 1269 35986c6b2150
--- a/themes/oxygen/comment.tpl	Fri Jul 30 21:31:30 2010 -0400
+++ b/themes/oxygen/comment.tpl	Fri Jul 30 21:32:05 2010 -0400
@@ -1,5 +1,13 @@
 <div class="tblholder">
-	<table border="0" width="100%" cellspacing="1" cellpadding="4">
+
+	<!-- BEGIN is_foe -->
+		<div style="padding: 7px;" class="comment_foe_hidden" id="comment_foe_notice_{ID}">
+			<strong>{NAME}</strong> &ndash; {lang:comment_msg_foe_comment_hidden}
+			<a href="#" onclick="$('#comment_foe_notice_{ID}').hide(); $('#comment_table_{ID}').show('blind'); return false;">{lang:comment_btn_display_foe_comment}</a>
+		</div>
+	<!-- END is_foe -->
+
+	<table border="0" width="100%" cellspacing="1" cellpadding="4" id="comment_table_{ID}"<!-- BEGIN is_foe --> style="display: none;"<!-- END is_foe -->>
 		<tr>
 			<th colspan="2" style="text-align: left;">{DATETIME}</th>
 		</tr>
@@ -22,7 +30,10 @@
 					<!-- HOOK comment_left -->
 					<tr>
 						<td valign="bottom" class="row1<!-- BEGIN is_friend --> row1_green<!-- END is_friend --><!-- BEGIN is_foe --> row1_red<!-- END is_foe -->">
-							{SEND_PM_LINK} {ADD_BUDDY_LINK}
+							{SEND_PM_LINK}
+							<!-- BEGINNOT is_friend -->
+							{ADD_BUDDY_LINK}
+							<!-- END is_friend -->
 						</td>
 					</tr>
 				</table>