Index: branches/wmf/1.17wmf1/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} |