XHTML strict.
There is tsome truely horrible hackery going on here to ensure XHTML strict, and rather unsurprisingly, it was broken. I think it is less broken now.
This commit is contained in:
@@ -183,5 +183,6 @@ print_box_start();
|
||||
rss_display_feeds($id, $USER->id, '', $context);
|
||||
rss_print_form($act, $url, $rssid, $preferredtitle, $shared, $id, $context);
|
||||
print_box_end();
|
||||
print '<div><form><div>'; // Reopen page form to keep XHTML strict.
|
||||
}
|
||||
?>
|
||||
|
||||
+3
-3
@@ -471,7 +471,6 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $shar
|
||||
$returnstring = '';
|
||||
|
||||
$returnstring .= '<form action="'. $CFG->wwwroot .'/blocks/rss_client/block_rss_client_action.php" method="post" id="block_rss">'."\n";
|
||||
print_location_comment(__FILE__,__LINE__);
|
||||
$returnstring .= '<div id="rss_table">'."\n";
|
||||
if ($act == 'rssedit') {
|
||||
$returnstring .= $strupdatefeed;
|
||||
@@ -530,8 +529,9 @@ function rss_get_form($act='none', $url='', $rssid='', $preferredtitle='', $shar
|
||||
}
|
||||
|
||||
$returnstring .= '" /> '. $validatestring ."\n";
|
||||
// $returnstring .= '</div></form>'."\n"; // Avoiding nested forms... Ugly temporary hack #8922
|
||||
return $returnstring . print_location_comment(__FILE__, __LINE__, true);
|
||||
$returnstring .= '</div></form>'."\n";
|
||||
|
||||
return $returnstring;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user