mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fix XHTML strict problems in XMLDB.
This commit is contained in:
parent
8af334cd22
commit
d09ef2a0ef
@ -289,7 +289,7 @@ class edit_field_save extends XMLDBAction {
|
||||
$navigation = build_navigation($navlinks);
|
||||
print_header("$site->shortname: XMLDB", "$site->fullname", $navigation);
|
||||
notice ('<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . $tempfield->readableInfo(),
|
||||
<p>' . $tempfield->readableInfo() . '</p>',
|
||||
'index.php?action=edit_field&field=' .$field->getName() . '&table=' . $table->getName()
|
||||
. '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
|
||||
die; /// re-die :-P
|
||||
|
@ -170,7 +170,7 @@ class edit_index_save extends XMLDBAction {
|
||||
$navigation = build_navigation($navlinks);
|
||||
print_header("$site->shortname: XMLDB", "$site->fullname", $navigation);
|
||||
notice ('<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . $tempindex->readableInfo(),
|
||||
<p>' . $tempindex->readableInfo() . '</p>',
|
||||
'index.php?action=edit_index&index=' .$index->getName() . '&table=' . $table->getName() . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
|
||||
die; /// re-die :-P
|
||||
}
|
||||
|
@ -247,7 +247,7 @@ class edit_key_save extends XMLDBAction {
|
||||
print_header("$site->shortname: XMLDB", "$site->fullname", $navigation);
|
||||
|
||||
notice ('<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . $tempkey->readableInfo(),
|
||||
<p>' . $tempkey->readableInfo() . '</p>',
|
||||
'index.php?action=edit_key&key=' .$key->getName() . '&table=' . $table->getName() . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
|
||||
die; /// re-die :-P
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ class edit_sentence_save extends XMLDBAction {
|
||||
$navigation = build_navigation($navlinks);
|
||||
print_header("$site->shortname: XMLDB", "$site->fullname", $navigation);
|
||||
notice ('<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . s($sentence),
|
||||
<p>' . s($sentence) . '</p>',
|
||||
'index.php?action=edit_sentence&sentence=' .$sentenceparam . '&statement=' . urlencode($statementparam) . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
|
||||
die; /// re-die :-P
|
||||
}
|
||||
|
@ -108,7 +108,7 @@ class edit_table_save extends XMLDBAction {
|
||||
$navigation = build_navigation($navlinks);
|
||||
print_header("$site->shortname: XMLDB", "$site->fullname", $navigation);
|
||||
notice ('<p>' .implode(', ', $errors) . '</p>
|
||||
<p>' . $temptable->readableInfo(),
|
||||
<p>' . $temptable->readableInfo() . '</p>',
|
||||
'index.php?action=edit_table&table=' . $tableparam . '&dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
|
||||
die; /// re-die :-P
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user