mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
Add some styles in the posts so the autolinks look OK.
This commit is contained in:
parent
bb95c08bc4
commit
218b443372
@ -1087,6 +1087,12 @@ function forum_make_mail_post(&$post, $user, $touser, $course,
|
||||
|
||||
$output = "";
|
||||
|
||||
$output .= "<style> <!--"; /// Styles for autolinks
|
||||
$output .= "a.autolink:link {text-decoration: none; background-color: $THEME->autolink}\n";
|
||||
$output .= "a.autolink:visited {text-decoration: none; background-color: $THEME->autolink}\n";
|
||||
$output .= "a.autolink:hover {text-decoration: underline; color: red}\n";
|
||||
$output .= "--> </style>\n\n";
|
||||
|
||||
if ($post->parent) {
|
||||
$output .= '<table border="0" cellpadding="1" cellspacing="1"><tr><td bgcolor="#888888">';
|
||||
$output .= '<table border="0" cellpadding="3" cellspacing="0">';
|
||||
|
Loading…
x
Reference in New Issue
Block a user