Index: branches/wmf/1.18wmf1/extensions/MobileFrontend/views/layout/application.html.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | $dir = self::$dir; |
6 | 6 | $code = self::$code; |
7 | 7 | |
8 | | -if( $wgAppleTouchIcon !== false ) { |
| 8 | +if ( $wgAppleTouchIcon !== false ) { |
9 | 9 | $appleTouchIconTag = Html::element( 'link', array( 'rel' => 'apple-touch-icon', 'href' => $wgAppleTouchIcon ) ); |
10 | 10 | } else { |
11 | 11 | $appleTouchIconTag = ""; |
— | — | @@ -20,20 +20,20 @@ |
21 | 21 | "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"> |
22 | 22 | <html lang='{$code}' dir='{$dir}' xml:lang='{$code}' xmlns='http://www.w3.org/1999/xhtml'> |
23 | 23 | <head> |
24 | | - <title>{$htmlTitle}</title> |
25 | | - <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> |
26 | | - <link href='{$wgExtensionAssetsPath}/MobileFrontend/stylesheets/{$cssFileName}.css' media='all' rel='Stylesheet' type='text/css' /> |
27 | | - <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> |
28 | | - <meta name = "viewport" content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> |
29 | | - ${appleTouchIconTag} |
30 | | - <script type='text/javascript'> |
31 | | - //<![CDATA[ |
32 | | - var title = "{$htmlTitle}"; |
33 | | - function shouldCache() { |
34 | | - return true; |
35 | | - } |
36 | | - //]]> |
37 | | - </script> |
| 24 | + <title>{$htmlTitle}</title> |
| 25 | + <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> |
| 26 | + <link href='{$wgExtensionAssetsPath}/MobileFrontend/stylesheets/{$cssFileName}.css' media='all' rel='Stylesheet' type='text/css' /> |
| 27 | + <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" /> |
| 28 | + <meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> |
| 29 | + ${appleTouchIconTag} |
| 30 | + <script type='text/javascript'> |
| 31 | + //<![CDATA[ |
| 32 | + var title = "{$htmlTitle}"; |
| 33 | + function shouldCache() { |
| 34 | + return true; |
| 35 | + } |
| 36 | + //]]> |
| 37 | + </script> |
38 | 38 | </head> |
39 | 39 | <body> |
40 | 40 | {$searchWebkitHtml} |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | {$contentHtml} |
44 | 44 | </div> |
45 | 45 | {$footerHtml} |
46 | | - <script type="text/javascript" language="javascript" src="{$wgExtensionAssetsPath}/MobileFrontend/javascripts/application.js?version=20110919T172820Z"></script> |
| 46 | + <script type="text/javascript" language="javascript" src="{$wgExtensionAssetsPath}/MobileFrontend/javascripts/application.js?version=20110920T172820Z"></script> |
47 | 47 | </body> |
48 | 48 | </html> |
49 | 49 | EOT; |