r50490 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50489‎ | r50490 | r50491 >
Date:15:38, 11 May 2009
Author:demon
Status:ok
Tags:
Comment:
<table> tags don't have a method attribute.
Modified paths:
  • /trunk/extensions/Poll/Poll_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Poll/Poll_body.php
@@ -43,7 +43,7 @@
4444 }
4545 else {
4646 $wgOut->addHtml( Xml::openElement( 'form', array('method'=> 'post', 'action' => 'index.php?title=Special:Poll&action=submit' ) ) );
47 - $wgOut->addHtml( Xml::openElement( 'table', array('method'=> 'post') );
 47+ $wgOut->addHtml( Xml::openElement( 'table' );
4848 $wgOut->addHtml( '<tr><td>'.wfMsg( 'poll-question' ).':</td><td>'.Xml::input('poll_name').'</td></tr>' );
4949 $wgOut->addHtml( '<tr><td>'.wfMsg( 'poll-alternative' ).' 1:</td><td>'.Xml::input('poll_alternative_1').'</td></tr>' );
5050 $wgOut->addHtml( '<tr><td>'.wfMsg( 'poll-alternative' ).' 2:</td><td>'.Xml::input('poll_alternative_2').'</td></tr>' );

Status & tagging log