mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Removed $THEMEs and stuff.
I'm a little worried about this spaghetti code ... it's a mess!
This commit is contained in:
parent
d1b7d61e74
commit
fafd89a0f1
5 changed files with 20 additions and 28 deletions
|
@ -799,13 +799,13 @@
|
|||
foreach ($answerpages as $page) {
|
||||
unset($table->data);
|
||||
if ($page->grayout) { // set the color of text
|
||||
$fontstart = "<font color=\"#AAAAAA\">";
|
||||
$fontstart = "<span class=\"dimmed\">";
|
||||
$fontend = "</font>";
|
||||
$fontstart2 = $fontstart;
|
||||
$fontend2 = $fontend;
|
||||
} else {
|
||||
$fontstart = "<font color=\"$THEME->cellheading2\">";
|
||||
$fontend = "</font>";
|
||||
$fontstart = "";
|
||||
$fontend = "";
|
||||
$fontstart2 = "";
|
||||
$fontend2 = "";
|
||||
}
|
||||
|
@ -838,4 +838,4 @@
|
|||
/// Finish the page
|
||||
print_footer($course);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue