Index: trunk/extensions/OpenID/SpecialOpenIDConvert.body.php |
— | — | @@ -93,7 +93,8 @@ |
94 | 94 | } |
95 | 95 | |
96 | 96 | function form() { |
97 | | - global $wgOut, $wgUser; |
| 97 | + global $wgOut, $wgUser, $wgOpenIDLoginLogoUrl; |
| 98 | + |
98 | 99 | $sk = $wgUser->getSkin(); |
99 | 100 | $url = $this->GetUserUrl( $wgUser ); |
100 | 101 | if ( is_null( $url ) ) { |
— | — | @@ -105,7 +106,7 @@ |
106 | 107 | $wgOut->addHTML( "<p>{$instructions}</p>" . |
107 | 108 | '<form action="' . $sk->makeSpecialUrl( 'OpenIDConvert' ) . '" method="POST">' . |
108 | 109 | '<input type="text" name="openid_url" size="30" ' . |
109 | | - ' style="background: url(http://www.openid.net/login-bg.gif) ' . |
| 110 | + ' style="background: url(' . $wgOpenIDLoginLogoUrl . ') ' . |
110 | 111 | ' no-repeat; background-color: #fff; background-position: 0 50%; ' . |
111 | 112 | ' color: #000; padding-left: 18px;" value="' . $url . '" />' . |
112 | 113 | '<input type="submit" value="' . $ok . '" />' . |