mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Cleaning up xhtml markup. Code now validates for xhtml 1.0 transitional.
This commit is contained in:
parent
7541b03f28
commit
af25f45e1a
21 changed files with 224 additions and 135 deletions
|
@ -1,11 +1,11 @@
|
|||
<form name="fieldsubform" action="<?php echo $CFG->wwwroot; ?>/mod/data/fields.php?d=<?php echo ($field->dataid); ?>" method="POST">
|
||||
<form name="fieldsubform" action="<?php echo $CFG->wwwroot; ?>/mod/data/fields.php?d=<?php echo ($field->dataid); ?>" method="post">
|
||||
<table width="100%">
|
||||
<tr>
|
||||
<td span="2">
|
||||
<td colspan="2">
|
||||
<input type="hidden" name="fid" value="<?php echo ($field->id); ?>" />
|
||||
<input type="hidden" name="mode" value="<?php if ($newfield) {echo 'add';} else {echo 'update';} ?>" />
|
||||
<input type="hidden" name="type" value="<?php echo $this->type; ?>" />
|
||||
<input name="sesskey" value="<?php echo sesskey(); ?>" type="hidden">
|
||||
<input name="sesskey" value="<?php echo sesskey(); ?>" type="hidden" />
|
||||
<?php echo ($this->name()); ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -24,8 +24,8 @@
|
|||
<tr>
|
||||
<td> </td>
|
||||
<td>
|
||||
<input type="submit" value="<?php if ($newfield) {echo get_string('add');} else {echo get_string('save','data');} ?>" \>
|
||||
<input type="submit" value="<?php echo get_string('cancel'); ?>" onclick="document.fieldsubform.mode.value='void';" \>
|
||||
<input type="submit" value="<?php if ($newfield) {echo get_string('add');} else {echo get_string('save','data');} ?>" />
|
||||
<input type="submit" value="<?php echo get_string('cancel'); ?>" onclick="document.fieldsubform.mode.value='void';" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue