Fix XHTML strict problems in XMLDB.

This commit is contained in:
tjhunt 2009-04-03 05:47:59 +00:00
parent 8af334cd22
commit d09ef2a0ef
5 changed files with 5 additions and 5 deletions

View File

@ -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&amp;field=' .$field->getName() . '&amp;table=' . $table->getName()
. '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
die; /// re-die :-P

View File

@ -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&amp;index=' .$index->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
die; /// re-die :-P
}

View File

@ -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&amp;key=' .$key->getName() . '&amp;table=' . $table->getName() . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
die; /// re-die :-P
}

View File

@ -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&amp;sentence=' .$sentenceparam . '&amp;statement=' . urlencode($statementparam) . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
die; /// re-die :-P
}

View File

@ -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&amp;table=' . $tableparam . '&amp;dir=' . urlencode(str_replace($CFG->dirroot, '', $dirpath)));
die; /// re-die :-P
}