Index: branches/wmf/1.17wmf1/extensions/MobileFrontend/views/information/disable.html.php |
— | — | @@ -1,4 +1,7 @@ |
2 | 2 | <?php |
| 3 | + |
| 4 | +$lang = self::$code; |
| 5 | + |
3 | 6 | $disableHtml = <<<EOT |
4 | 7 | <h1> |
5 | 8 | {$areYouSure} |
— | — | @@ -7,8 +10,8 @@ |
8 | 11 | {$explainDisable} |
9 | 12 | </p> |
10 | 13 | <div id='disableButtons'> |
11 | | - <form action='http://en.wikipedia.org/w/mobileRedirect.php' method='get'> |
12 | | - <input name='to' type='hidden' value='http://en.wikipedia.org/' /> |
| 14 | + <form action='http://{$lang}.wikipedia.org/w/mobileRedirect.php' method='get'> |
| 15 | + <input name='to' type='hidden' value='http://{$lang}.wikipedia.org/' /> |
13 | 16 | <input name='expires_in_days' type='hidden' value='3650' /> |
14 | 17 | <button id='disableButton' type='submit'>{$disableButton}</button> |
15 | 18 | </form> |