From: Brion Vibber Date: Sun, 27 Mar 2011 20:19:24 +0000 (+0000) Subject: Further cleanup on installer: fix visibility of CC selector results when returning... X-Git-Tag: 1.31.0-rc.0~31155 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=d535508ba76e97affaca9d8e0051b36b74bbc33b;p=lhc%2Fweb%2Fwiklou.git Further cleanup on installer: fix visibility of CC selector results when returning to the options page. --- diff --git a/includes/installer/WebInstallerPage.php b/includes/installer/WebInstallerPage.php index 3ea97d0a86..efb23b2618 100644 --- a/includes/installer/WebInstallerPage.php +++ b/includes/installer/WebInstallerPage.php @@ -929,9 +929,10 @@ class WebInstaller_Options extends WebInstallerPage { } else { $iframeAttribs['src'] = $this->getCCPartnerUrl(); } + $wrapperStyle = ($this->getVar('_LicenseCode') == 'cc-choose') ? '' : 'display: none'; return - "
\n" . + "
\n" . Html::element( 'iframe', $iframeAttribs, '', false /* not short */ ) . "
\n"; }