| Index: trunk/extensions/CentralAuth/CentralAuthHooks.php |
| — | — | @@ -132,7 +132,7 @@ |
| 133 | 133 | $url .= "?$querystring"; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | | - $icon = Xml::element( 'img', |
| | 136 | + $inject_html .= Xml::element( 'img', |
| 137 | 137 | array( |
| 138 | 138 | 'src' => $url, |
| 139 | 139 | 'alt' => $alt, |
| — | — | @@ -141,12 +141,6 @@ |
| 142 | 142 | 'height' => 20, |
| 143 | 143 | 'style' => 'border: 1px solid #ccc;', |
| 144 | 144 | ) ); |
| 145 | | - |
| 146 | | - $inject_html .= Xml::tags( 'a', |
| 147 | | - array( |
| 148 | | - 'href' => $wiki->getUrl(''), |
| 149 | | - 'title' => $alt, |
| 150 | | - ), $icon ); |
| 151 | 145 | } |
| 152 | 146 | |
| 153 | 147 | $inject_html .= '</p></div>'; |
| — | — | @@ -269,7 +263,7 @@ |
| 270 | 264 | $url .= "?logout=1&token=$loginToken"; |
| 271 | 265 | } |
| 272 | 266 | |
| 273 | | - $icon = Xml::element( 'img', |
| | 267 | + $inject_html .= Xml::element( 'img', |
| 274 | 268 | array( |
| 275 | 269 | 'src' => $url, |
| 276 | 270 | 'alt' => $alt, |
| — | — | @@ -278,12 +272,6 @@ |
| 279 | 273 | 'height' => 20, |
| 280 | 274 | 'style' => 'border: 1px solid #ccc;', |
| 281 | 275 | ) ); |
| 282 | | - |
| 283 | | - $inject_html .= Xml::tags( 'a', |
| 284 | | - array( |
| 285 | | - 'href' => $wiki->getUrl(''), |
| 286 | | - 'title' => $alt, |
| 287 | | - ), $icon ); |
| 288 | 276 | } |
| 289 | 277 | |
| 290 | 278 | $inject_html .= '</p></div>'; |