r47540 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47539‎ | r47540 | r47541 >
Date:11:15, 20 February 2009
Author:nad
Status:deferred
Tags:
Comment:
make search form have recordadmin class attribute
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -112,7 +112,7 @@
113113
114114 # Render the form
115115 $wgOut->addHTML(
116 - Xml::element( 'form', array( 'class' => strtolower($type).'-record', 'action' => $title->getLocalURL( 'action=submit' ), 'method' => 'post' ), null )
 116+ Xml::element( 'form', array( 'class' => strtolower($type).'-record recordadmin', 'action' => $title->getLocalURL( 'action=submit' ), 'method' => 'post' ), null )
117117 . '<b>' . wfMsg( 'recordadmin-recordid' ) . '</b> ' . Xml::element( 'input', array( 'name' => 'wpTitle', 'size' => 30, 'value' => $wpTitle ) )
118118 . '&nbsp;&nbsp;&nbsp;' . Xml::element( 'input', array( 'name' => 'wpInvert', 'type' => 'checkbox' ) ) . ' ' . wfMsg( 'recordadmin-invert' )
119119 . "\n<br><br><hr><br>\n{$this->form}"

Status & tagging log