[Aimmath-commit] moodle/mod/math_assignment view.php,1.7,1.8
Brought to you by:
gustav_delius,
npstrick
|
From: <ma...@us...> - 2003-09-19 20:22:48
|
Update of /cvsroot/aimmath/moodle/mod/math_assignment
In directory sc8-pr-cvs1:/tmp/cvs-serv19418/mod/math_assignment
Modified Files:
view.php
Log Message:
Improved the html for the marksheet
Index: view.php
===================================================================
RCS file: /cvsroot/aimmath/moodle/mod/math_assignment/view.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** view.php 19 Sep 2003 09:36:44 -0000 1.7
--- view.php 19 Sep 2003 13:52:53 -0000 1.8
***************
*** 186,195 ****
} else if ($download == "marksheet") { // display marksheet table, ready for printing
!
/// Print names of all the fields
! echo "<html><head><title>Marksheet for $course->shortname, $math_assignment->name</title></head>
! <body><b>Marksheet for $course->shortname<br>$math_assignment->name<b><p>
! <table border=\"1\"><tr><th>$strfirstname</th><th>$strlastname</th>";
if ($hasaim)
echo "<th>AiM<br>$strgrade</th><th>$strpaper<br>$strgrade</th>";
--- 186,205 ----
} else if ($download == "marksheet") { // display marksheet table, ready for printing
!
! ?>
!
! <!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">
! <html>
! <head>
! <title>Marksheet for <?php echo "$course->shortname, $math_assignment->name"; ?></title>
! </head>
! <body bgcolor="#FFFFFF" text="#000000"><b>Marksheet for <?php echo $course->shortname; ?><br><?php echo $math_assignment->name; ?><b><p>
! <table border="1">
!
! <?php
/// Print names of all the fields
! echo "<tr><th>$strfirstname</th><th>$strlastname</th>";
!
if ($hasaim)
echo "<th>AiM<br>$strgrade</th><th>$strpaper<br>$strgrade</th>";
|