From dd050858021149fdcb9dd1636fc3956da1b012d1 Mon Sep 17 00:00:00 2001 From: defacer Date: Wed, 29 Jun 2005 23:59:41 +0000 Subject: [PATCH] Getting the hardwired out of the "post edited by" HTML and putting it in CSS. I have been meaning to do this for something like 3 eons now... --- mod/forum/lib.php | 2 +- theme/standard/styles_fonts.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 83b7cb10dcf..cf4061934b1 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -2290,7 +2290,7 @@ function forum_update_post($post,&$message) { $data->date = userdate($post->modified); $editedby = get_string('editedby', 'forum', $data); if ($post->format == FORMAT_HTML) { - $post->message .= '

('.$editedby.')

'; + $post->message .= '

('.$editedby.')

'; } else { $post->message .= "\n\n(".$editedby.')'; } diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index ce8999eee7d..6846c587db8 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -511,6 +511,9 @@ body#mod-forum-index .generalbox .cell { font-size: 0.80em; } +.forumpost .edited { + font-style: italic; +} /***