Browse Source

Add visual indicator to staff posts

Idea stolen from AB
spaghetti 9 years ago
parent
commit
775cdea3d2

+ 1
- 1
sections/forums/thread.php View File

@@ -443,7 +443,7 @@ foreach ($Thread as $Key => $Post) {
443 443
 <? 	} ?>
444 444
 		<col class="col_post_body" />
445 445
 	</colgroup>
446
-	<tr class="colhead_dark">
446
+	<tr class="colhead_dark<?=(Permissions::is_mod($AuthorID)) ? " staff_post" : ""?>">
447 447
 		<td colspan="<?=Users::has_avatars_enabled() ? 2 : 1?>">
448 448
 			<div style="float: left;"><a class="post_id" href="forums.php?action=viewthread&amp;threadid=<?=$ThreadID?>&amp;postid=<?=$PostID?>#post<?=$PostID?>">#<?=$PostID?></a>
449 449
 				<?=Users::format_username($AuthorID, true, true, true, true, true, $IsDonorForum);  echo "\n";?>

+ 5
- 0
static/styles/beluga-oppai/style.css View File

@@ -2098,3 +2098,8 @@ caption {
2098 2098
 	border-bottom: 1px dashed #666;
2099 2099
 	font-weight: bold;
2100 2100
 }
2101
+
2102
+tbody .staff_post {
2103
+	background: none;
2104
+	background-color: #634852;
2105
+}

+ 5
- 0
static/styles/beluga/style.css View File

@@ -2037,3 +2037,8 @@ caption {
2037 2037
 	border-bottom: 1px dashed #666;
2038 2038
 	font-weight: bold;
2039 2039
 }
2040
+
2041
+tbody .staff_post {
2042
+	background: none;
2043
+	background-color: #634852;
2044
+}

+ 4
- 0
static/styles/oppai/style.css View File

@@ -1087,3 +1087,7 @@ caption {
1087 1087
 	border-bottom: 1px solid #BBB;
1088 1088
 	font-weight: bold;
1089 1089
 }
1090
+
1091
+.forum_post .staff_post {
1092
+	background: #f1849a;
1093
+}

Loading…
Cancel
Save