r90665 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90664‎ | r90665 | r90666 >
Date:17:00, 23 June 2011
Author:kaldari
Status:ok
Tags:
Comment:
adding log placeholder for now
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNoticeLogs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNoticeLogs.php
@@ -46,14 +46,14 @@
4747
4848 $htmlOut = '';
4949
50 - // Begin Allocation selection fieldset
 50+ // Begin log selection fieldset
5151 $htmlOut .= Xml::openElement( 'fieldset', array( 'class' => 'prefsection' ) );
5252
5353 $htmlOut .= Xml::openElement( 'form', array( 'method' => 'post' ) );
5454 $htmlOut .= Xml::element( 'h2', null, wfMsg( 'centralnotice-view-logs' ) );
5555 $htmlOut .= Xml::closeElement( 'form' );
5656
57 - // End Allocation selection fieldset
 57+ // End log selection fieldset
5858 $htmlOut .= Xml::closeElement( 'fieldset' );
5959
6060 $wgOut->addHTML( $htmlOut );
@@ -71,6 +71,16 @@
7272 global $wgOut;
7373
7474 $htmlOut = '';
 75+
 76+ // Begin log fieldset
 77+ $htmlOut .= Xml::openElement( 'fieldset', array( 'class' => 'prefsection' ) );
 78+
 79+ $htmlOut .= Xml::tags( 'p', null,
 80+ '<i>Coming soon...</i>'
 81+ );
 82+
 83+ // End log fieldset
 84+ $htmlOut .= Xml::closeElement( 'fieldset' );
7585
7686 $wgOut->addHTML( $htmlOut );
7787 }

Status & tagging log