minor xhtml fixes

This commit is contained in:
skodak 2006-11-30 09:50:01 +00:00
parent 7203167d35
commit 32776fef0e
7 changed files with 13 additions and 13 deletions

View File

@ -157,7 +157,7 @@
if (!empty($USER->id)) {
$authtoken = sha1($USER->username . $USER->password);
$usernameencoded = urlencode($USER->username);
echo "<p><a href=\"export_execute.php?preset_what=all&preset_time=recentupcoming&username=$usernameencoded&authtoken=$authtoken\">" . get_string('quickdownloadcalendar', 'calendar') . '</a></p>';
echo "<p><a href=\"export_execute.php?preset_what=all&amp;preset_time=recentupcoming&amp;username=$usernameencoded&amp;authtoken=$authtoken\">" . get_string('quickdownloadcalendar', 'calendar') . '</a></p>';
}
echo '</td>';

View File

@ -1,7 +1,7 @@
<form method="post" action="module.php" name="form">
<input type="hidden" name="sesskey" value="<?php echo sesskey(); ?>" />
<table cellpadding=9 cellspacing=0 >
<table cellpadding="9" cellspacing="0" >
<tr valign=top>
<td align=right><p>assignment_maxbytes:</td>
<td><?php
@ -14,8 +14,8 @@
</td>
</tr>
<tr valign=top>
<td align=right><p>assignment_itemstocount:</td>
<tr valign="top">
<td align="right"><p>assignment_itemstocount:</td>
<td><?php
unset($options);
$options[ASSIGNMENT_COUNT_WORDS] = trim(get_string('numwords', ''));
@ -29,8 +29,8 @@
</tr>
<tr>
<td colspan=3 align=center>
<input type="submit" value="<?php print_string("savechanges") ?>"></td>
<td colspan="3" align="center">
<input type="submit" value="<?php print_string("savechanges") ?>" /></td>
</tr>
</table>

View File

@ -165,7 +165,7 @@ class assignment_base {
* The default implementation prints the assignment description in a box
*/
function view_intro() {
print_simple_box_start('center', '', '', '', 'generalbox', 'intro');
print_simple_box_start('center', '', '', 0, 'generalbox', 'intro');
$formatoptions = new stdClass;
$formatoptions->noclean = true;
echo format_text($this->assignment->description, $this->assignment->format, $formatoptions);
@ -183,7 +183,7 @@ class assignment_base {
return;
}
print_simple_box_start('center', '', '', '', 'generalbox', 'dates');
print_simple_box_start('center', '', '', 0, 'generalbox', 'dates');
echo '<table>';
if ($this->assignment->timeavailable) {
echo '<tr><td class="c0">'.get_string('availabledate','assignment').':</td>';

View File

@ -89,7 +89,7 @@ class assignment_online extends assignment_base {
}
if (has_capability('mod/assignment:submit', $context)) {
print_simple_box_start('center', '70%', '', '', 'generalbox', 'online');
print_simple_box_start('center', '70%', '', 0, 'generalbox', 'online');
if ($editmode) {
$mform->display();
} else {
@ -124,7 +124,7 @@ class assignment_online extends assignment_base {
return;
}
print_simple_box_start('center', '', '', '', 'generalbox', 'dates');
print_simple_box_start('center', '', '', 0, 'generalbox', 'dates');
echo '<table>';
if ($this->assignment->timeavailable) {
echo '<tr><td class="c0">'.get_string('availabledate','assignment').':</td>';

View File

@ -26,7 +26,7 @@ class assignment_upload extends assignment_base {
if ($this->assignment->timeavailable > time()
and !has_capability('mod/assignment:grade', $this->context) // grading user can see it anytime
and $this->assignment->var3) { // force hiding before available date
print_simple_box_start('center', '', '', '', 'generalbox', 'intro');
print_simple_box_start('center', '', '', 0, 'generalbox', 'intro');
print_string('notavailableyet', 'assignment');
print_simple_box_end();
} else {

View File

@ -229,7 +229,7 @@
$options['hook'] = $hook;
echo print_single_button("view.php", $options, get_string("back","glossary") );
echo "</td></tr>";
echo "</tablee>";
echo "</table>";
?>
</td>

View File

@ -252,7 +252,7 @@
$printicon = '';
if ( $isuserframe and $mode != 'search') {
if (has_capability('mod/glossary:manageentries', $context) or $glossary->allowprintview) {
$printicon = " <a title =\"". get_string("printerfriendly","glossary") . "\" alt =\"". get_string("printerfriendly","glossary") . "\" target=\"printview\" href=\"print.php?id=$cm->id&amp;mode=$mode&amp;hook=$hook&amp;sortkey=$sortkey&amp;sortorder=$sortorder&amp;offset=$offset\"><img border=\"0\" src=\"print.gif\" alt=\"". get_string("printerfriendly","glossary") . "\" /></a>";
$printicon = " <a title =\"". get_string("printerfriendly","glossary") ."\" target=\"printview\" href=\"print.php?id=$cm->id&amp;mode=$mode&amp;hook=$hook&amp;sortkey=$sortkey&amp;sortorder=$sortorder&amp;offset=$offset\"><img border=\"0\" src=\"print.gif\" alt=\"". get_string("printerfriendly","glossary") . "\" /></a>";
}
}
print_heading(format_string($glossary->name).$printicon);