From: moodler Date: Tue, 9 Jan 2007 09:11:50 +0000 (+0000) Subject: More cleaning up XHTML Strict X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=99b112ee32de7b6b8aaf8dcaf249a1950ceb6209;p=moodle.git More cleaning up XHTML Strict --- diff --git a/admin/lang.php b/admin/lang.php index 4745bc013a..2e45fe2d34 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -67,13 +67,13 @@ $streditstrings = get_string("editstrings", 'admin'); $stredithelpdocs = get_string("edithelpdocs", 'admin'); $strthislanguage = get_string("thislanguage"); - $strgotofirst = get_string('gotofirstmissing','admin'); + $strgotofirst = get_string('gotofirst','admin'); $strfilestoredin = get_string('filestoredin', 'admin'); $strfilestoredinhelp = get_string('filestoredinhelp', 'admin'); $strswitchlang = get_string('switchlang', 'admin'); $strchoosefiletoedit = get_string('choosefiletoedit', 'admin'); $streditennotallowed = get_string('langnoeditenglish', 'admin'); - $strfilecreated = get_string('langfilecreated', 'admin'); + $strfilecreated = get_string('filecreated', 'admin'); $strprev = get_string('previous'); $strnext = get_string('next'); @@ -87,15 +87,17 @@ $navigation = "$strlanguage -> $strmissingstrings"; $title = $strmissingstrings; $button = '
frametarget.' method="get" action="'.$CFG->wwwroot.'/'.$CFG->admin.'/lang.php">'. + '
'. ''. - ''; + '
'; break; case "compare": $navigation = "$strlanguage -> $streditstrings"; $title = $streditstrings; $button = '
frametarget.' method="get" action="'.$CFG->wwwroot.'/'.$CFG->admin.'/lang.php">'. + '
'. ''. - ''; + '
'; break; default: $title = $strlanguage; @@ -206,12 +208,7 @@ } if ($m <> '') { - echo '
'; - print_simple_box_start("center", "80%"); - echo '
'; - echo $m; - echo '
'; - print_simple_box_end(); + print_box($m, 'filenames'); } echo $o; @@ -311,8 +308,7 @@ print_heading_with_help($streditstrings, "langedit"); - print_simple_box_start("center", "80%"); - echo '
'; + print_box_start('generalbox editstrings'); foreach ($stringfiles as $file) { if ($file == $currentfile) { echo "$file   "; @@ -320,23 +316,22 @@ echo "$file   "; } } - echo '
'; - print_simple_box_end(); + print_box_end(); - print_simple_box_start("center", "80%"); - echo '
'.$strfilestoredin.' '; + print_box_start(); + echo $strfilestoredin; echo $uselocal ? "{$currentlang}_local" : $currentlang; - echo ' '; helpbutton('langswitchstorage', $strfilestoredinhelp, 'moodle'); echo '
frametarget.' method="get" action="'.$CFG->wwwroot.'/'.$CFG->admin.'/lang.php">'. + '
'. ''. ''. ''. ''. - '
'; - print_simple_box_end(); + ''; + print_box_end(); if ($currentfile <> '') { $saveto = $uselocal ? $locallangdir : $langdir; @@ -386,6 +381,7 @@ if ($editable) { echo "
"; + echo '
'; } echo ""; $linescounter = 0; @@ -488,6 +484,7 @@ echo ''; } echo '
'; + echo '
'; echo '
'; } else {