Add some styles in the posts so the autolinks look OK.

This commit is contained in:
moodler 2004-01-16 11:32:14 +00:00
parent bb95c08bc4
commit 218b443372

View File

@ -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">';