Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/views/information/disable.html.php |
— | — | @@ -2,22 +2,23 @@ |
3 | 3 | |
4 | 4 | $lang = self::$code; |
5 | 5 | $currentURL = self::$currentURL; |
| 6 | +$currentURL = str_replace('&mobileaction=disable_mobile_site', '', $currentURL); |
6 | 7 | |
7 | 8 | $disableHtml = <<<EOT |
8 | | - <h1> |
9 | | - {$areYouSure} |
10 | | - </h1> |
11 | | - <p> |
12 | | - {$explainDisable} |
13 | | - </p> |
14 | | - <div id='disableButtons'> |
15 | | - <form action='http://{$lang}.wikipedia.org/w/mobileRedirect.php' method='get'> |
16 | | - <input name='to' type='hidden' value='{$currentURL}' /> |
17 | | - <input name='expires_in_days' type='hidden' value='3650' /> |
18 | | - <button id='disableButton' type='submit'>{$disableButton}</button> |
19 | | - </form> |
20 | | - <form action='/' method='get'> |
21 | | - <button id='backButton' type='submit'>{$backButton}</button> |
22 | | - </form> |
23 | | - </div> |
| 9 | + <h1> |
| 10 | + {$areYouSure} |
| 11 | + </h1> |
| 12 | + <p> |
| 13 | + {$explainDisable} |
| 14 | + </p> |
| 15 | + <div id='disableButtons'> |
| 16 | + <form action='http://{$lang}.wikipedia.org/w/mobileRedirect.php' method='get'> |
| 17 | + <input name='to' type='hidden' value='{$currentURL}' /> |
| 18 | + <input name='expires_in_days' type='hidden' value='3650' /> |
| 19 | + <button id='disableButton' type='submit'>{$disableButton}</button> |
| 20 | + </form> |
| 21 | + <form action='/' method='get'> |
| 22 | + <button id='backButton' type='submit'>{$backButton}</button> |
| 23 | + </form> |
| 24 | + </div> |
24 | 25 | EOT; |