]> git.mjollnir.org Git - moodle.git/commitdiff
weblib: XHTML strict.
authortjhunt <tjhunt>
Tue, 10 Feb 2009 03:27:38 +0000 (03:27 +0000)
committertjhunt <tjhunt>
Tue, 10 Feb 2009 03:27:38 +0000 (03:27 +0000)
lib/weblib.php

index 39c740c22587ee2f72f08d556a6d4aa5f8678e83..8ea94d79570f55afbf8a13eff8cb6a5b65820fd3 100644 (file)
@@ -1121,10 +1121,8 @@ function popup_form($baseurl, $options, $formid, $selected='', $nothing='choose'
                    "\n//<![CDATA[\n".
                    'document.getElementById("noscript'.$formid.'").style.display = "none";'.
                    "\n//]]>\n".'</script>';
-        $output .= '</div>';
     }
-
-    $output .= '</form>';
+    $output .= '</div></form>';
 
     if ($return) {
         return $output;