mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +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
|
@ -116,8 +116,8 @@
|
|||
|
||||
echo '<div align="center">'.get_string('header'.$mode,'data').'</div><br />';
|
||||
|
||||
echo '<form name="tempform" action="templates.php?d='.$data->id.'&mode='.$mode.'" method="POST">';
|
||||
echo '<input name="sesskey" value="'.sesskey().'" type="hidden">';
|
||||
echo '<form name="tempform" action="templates.php?d='.$data->id.'&mode='.$mode.'" method="post">';
|
||||
echo '<input name="sesskey" value="'.sesskey().'" type="hidden" />';
|
||||
//print button to autogen all forms, if all templates are empty
|
||||
|
||||
$data = get_record('data', 'id', $d); //reload because of possible updates so far!
|
||||
|
@ -137,7 +137,6 @@
|
|||
if ($fields = get_records('data_fields','dataid',$data->id)){
|
||||
foreach ($fields as $field) {
|
||||
echo '<option value="[['.$field->name.']]">'.$field->name.' ('.$field->type.')</option>';
|
||||
echo '[['.$field->name.']]'.'<br />';
|
||||
}
|
||||
}
|
||||
//print special tags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue