r88937 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88936‎ | r88937 | r88938 >
Date:21:49, 26 May 2011
Author:preilly
Status:ok
Tags:
Comment:
add disable mobile site view
Modified paths:
  • /trunk/extensions/PatchOutputMobile/views/information (added) (history)
  • /trunk/extensions/PatchOutputMobile/views/information/disable.html.php (added) (history)

Diff [purge]

Index: trunk/extensions/PatchOutputMobile/views/information/disable.html.php
@@ -0,0 +1,19 @@
 2+<?php
 3+$disableHtml = <<<EOT
 4+ <h1>
 5+ {$are_you_sure}
 6+ </h1>
 7+ <p>
 8+ {$explain_disable}
 9+ </p>
 10+ <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/' />
 13+ <input name='expires_in_days' type='hidden' value='3650' />
 14+ <button id='disableButton' type='submit'>{$disable_button}</button>
 15+ </form>
 16+ <form action='/' method='get'>
 17+ <button id='backButton' type='submit'>{$back_button}</button>
 18+ </form>
 19+ </div>
 20+EOT;
Property changes on: trunk/extensions/PatchOutputMobile/views/information/disable.html.php
___________________________________________________________________
Added: svn:eol-style
121 + native

Status & tagging log