echo "<table width=\"100%\">";
echo '<tr valign="top">';
echo '<td valign="top" width="50%" class="courseboxinfo">';
- echo '<p><font size="3"><b><a title="'.get_string('entercourse').'"'.
+ echo '<b><a title="'.get_string('entercourse').'"'.
$linkcss.' href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.
- $course->fullname.'</a></b></font></p>';
+ $course->fullname.'</a></b><br />';
if ($teachers = get_course_teachers($course->id)) {
- echo "<p><font size=\"1\">\n";
+ echo "<span class=\"courseboxteachers\">\n";
foreach ($teachers as $teacher) {
if ($teacher->authority > 0) {
if (!$teacher->role) {
'&course='.SITEID.'">'.$fullname.'</a><br />';
}
}
- echo "</font></p>";
+ echo "</span>\n";
}
echo $enrol->get_access_icons($course);
echo '</td><td valign="top" width="50%" class="courseboxsummary">';
$options = NULL;
$options->noclean = true;
+ $options->para = false;
echo format_text($course->summary, FORMAT_MOODLE, $options, $course->id);
echo "</td></tr>";
echo "</table>";
$encodedconcept = urlencode($concept->concept);
$title = str_replace('"', "'", strip_tags("$glossary->name: $concept->concept"));
$href_tag_begin = "<a target=\"entry\" class=\"autolink\" title=\"$title\" href=\"$CFG->wwwroot/mod/glossary/showentry.php?courseid=$courseid&concept=$encodedconcept\" ".
- "onClick=\"return openpopup('/mod/glossary/showentry.php?courseid=$courseid\&concept=$encodedconcept', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">";
+ "onclick=\"return openpopup('/mod/glossary/showentry.php?courseid=$courseid\&concept=$encodedconcept', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);\">";
}
$currentconcept = $concept->concept;
if ( $currentconcept = trim(strip_tags($currentconcept)) ) {