r84882 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84881‎ | r84882 | r84883 >
Date:20:19, 27 March 2011
Author:brion
Status:ok
Tags:
Comment:
Further cleanup on installer: fix visibility of CC selector results when returning to the options page.
Modified paths:
  • /trunk/phase3/includes/installer/WebInstallerPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/WebInstallerPage.php
@@ -929,9 +929,10 @@
930930 } else {
931931 $iframeAttribs['src'] = $this->getCCPartnerUrl();
932932 }
 933+ $wrapperStyle = ($this->getVar('_LicenseCode') == 'cc-choose') ? '' : 'display: none';
933934
934935 return
935 - "<div class=\"config-cc-wrapper\" id=\"config-cc-wrapper\" style=\"display: none;\">\n" .
 936+ "<div class=\"config-cc-wrapper\" id=\"config-cc-wrapper\" style=\"$wrapperStyle\">\n" .
936937 Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) .
937938 "</div>\n";
938939 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r85012MFT installer changes: r84755, r84756, r84875, r84881, r84882, r84970, r84976demon14:46, 30 March 2011

Status & tagging log