From: donchambers Date: Tue, 18 Sep 2007 16:05:31 +0000 (+0000) Subject: comments.inc.php - truncate author, email and url like referrer on admin comments... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2c5da1319fea7ca8e54729ad02e5d84979ff3a86;p=s9y.git comments.inc.php - truncate author, email and url like referrer on admin comments page; add new class for pending comments header, BP admin now shows yellow background with red border for pending comments header matching Grischa's previous contribution of a red border for comment content below the header. --- diff --git a/include/admin/comments.inc.php b/include/admin/comments.inc.php index 1665e0f..5f294d7 100644 --- a/include/admin/comments.inc.php +++ b/include/admin/comments.inc.php @@ -398,11 +398,11 @@ foreach ($sql as $rs) { if ($comment['status'] == 'pending') { $class .= ' serendipity_admin_comment_pending'; } - $header_class = ($comment['status'] == 'pending' ? 'serendipityAdminMsgNote' : ''); + $header_class = ($comment['status'] == 'pending' ? 'serendipityAdminMsgNote serendipity_admin_comment_pending_header' : ''); ?> - + @@ -414,14 +414,14 @@ foreach ($sql as $rs) { - + @@ -443,7 +443,7 @@ foreach ($sql as $rs) { echo 'N/A'; } else { ?> - + @@ -456,7 +456,7 @@ foreach ($sql as $rs) { echo 'N/A'; } else { ?> - + diff --git a/templates/bulletproof/admin/style.css b/templates/bulletproof/admin/style.css index 9d3623b..507a763 100644 --- a/templates/bulletproof/admin/style.css +++ b/templates/bulletproof/admin/style.css @@ -379,6 +379,12 @@ ul.serendipitySideBarMenuMain .serendipitySideBarMenuFoot { border: 2px solid #FF0000; } +.serendipity_admin_comment_pending_header{ + background: #FFFF9D; + border: 2px solid #FF0000; + border-bottom: 0; +} + /* new input classes available in s9y v1.2 */ .input_checkbox, .input_radio, .input_file, .input_textbox, .input_button, label, select, textarea{ font: 100% Verdana, Arial, Helvetica, sans-serif; @@ -546,8 +552,3 @@ span.serendipityTemplateSelectName { line-height: 30px; padding: 0; } - -/* Pending comments in the admins comment list */ -.serendipity_admin_comment_pending { - border: 2px solid #FF0000; -} \ No newline at end of file diff --git a/templates/bulletproof/admin/style_fluid.css b/templates/bulletproof/admin/style_fluid.css index b56e83a..d424760 100644 --- a/templates/bulletproof/admin/style_fluid.css +++ b/templates/bulletproof/admin/style_fluid.css @@ -382,6 +382,12 @@ ul.serendipitySideBarMenuMain .serendipitySideBarMenuFoot { border: 2px solid #FF0000; } +.serendipity_admin_comment_pending_header{ + background: #FFFF9D; + border: 2px solid #FF0000; + border-bottom: 0; +} + /* new input classes available in s9y v1.2 */ .input_checkbox, .input_radio, .input_file, .input_textbox, .input_button, label, select, textarea{ font: 100% Verdana, Arial, Helvetica, sans-serif;
: : : - +