Index: trunk/extensions/MobileFrontend/MobileFrontend.body.php |
— | — | @@ -1131,6 +1131,7 @@ |
1132 | 1132 | wfProfileIn( __METHOD__ ); |
1133 | 1133 | $searchTemplate = new SearchTemplate(); |
1134 | 1134 | $options = array( |
| 1135 | + 'viewNormalSiteURL' => self::$viewNormalSiteURL, |
1135 | 1136 | 'searchField' => self::$searchField, |
1136 | 1137 | 'mainPageUrl' => self::$mainPageUrl, |
1137 | 1138 | 'randomPageUrl' => self::$randomPageUrl, |
Index: trunk/extensions/MobileFrontend/templates/SearchTemplate.php |
— | — | @@ -28,6 +28,9 @@ |
29 | 29 | $languageSelectionText = '<b>' . $this->data['messages']['mobile-frontend-language'] . ':</b><br/>'; |
30 | 30 | $languageSelectionDiv = $languageSelectionText . $languageSelection; |
31 | 31 | |
| 32 | + $regularSite = $this->data['messages']['mobile-frontend-regular-site']; |
| 33 | + $viewNormalSiteURL = $this->data['viewNormalSiteURL']; |
| 34 | + |
32 | 35 | $searchWebkitHtml = <<<HTML |
33 | 36 | <div id='header'> |
34 | 37 | <div id='searchbox' {$logoDisplayNone}> |
— | — | @@ -45,6 +48,7 @@ |
46 | 49 | {$languageSelectionDiv} |
47 | 50 | <a href="{$mainPageUrl}" id="homeButton" class="button">{$homeButton}</a> |
48 | 51 | <a href="{$randomPageUrl}" id="randomButton" class="button">{$randomButton}</a> |
| 52 | + <a href="{$viewNormalSiteURL}" class="button">{$regularSite}</a> |
49 | 53 | </div> |
50 | 54 | </div> |
51 | 55 | {$openSearchResults} |