Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: anwiki/_override/global/global/global.tpl.php

Issue 4916623840378880: Issue 1651 - Moved <noscript> tag into page body (Closed)
Patch Set: Created Jan. 5, 2015, 10:16 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « anwiki/_override/actions/action_view/action_view.php ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?php 1 <?php
2 2
3 class AnwTemplateOverride_global extends AnwTemplateDefault_global 3 class AnwTemplateOverride_global extends AnwTemplateDefault_global
4 { 4 {
5 function globalHtml($sHtmlLang, $sHtmlDir, $sTitle, $sHead, $sBody) 5 function globalHtml($sHtmlLang, $sHtmlDir, $sTitle, $sHead, $sBody)
6 { 6 {
7 $HTML = <<<EOF 7 $HTML = <<<EOF
8 <!DOCTYPE html> 8 <!DOCTYPE html>
9 <html lang="{$this->xQuote($sHtmlLang)}" dir="{$this->xQuote($sHtmlDir)}" itemsc ope="itemscope" itemtype="http://schema.org/WebPage"> 9 <html lang="{$this->xQuote($sHtmlLang)}" dir="{$this->xQuote($sHtmlDir)}" itemsc ope="itemscope" itemtype="http://schema.org/WebPage">
10 <head> 10 <head>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 $sSessionNav, 81 $sSessionNav,
82 $sGlobalNav 82 $sGlobalNav
83 ); 83 );
84 84
85 $sFooter = $this->globalFooter2($sSessionNav, $sGlobalNav); 85 $sFooter = $this->globalFooter2($sSessionNav, $sGlobalNav);
86 86
87 $static = AnwComponent::getGlobalUrlStaticOverride(); 87 $static = AnwComponent::getGlobalUrlStaticOverride();
88 88
89 $HTML = <<<EOF 89 $HTML = <<<EOF
90 90
91 <noscript>
92 <link rel="stylesheet" href="${static}css/noscript-desktop.css" media="(mi n-width: 40.5em)"/>
93 <link rel="stylesheet" href="${static}css/noscript-mobile.css" media="scre en and (max-width: 40.5em)"/>
94 </noscript>
95
91 <header> 96 <header>
92 $sHeader 97 $sHeader
93 </header> 98 </header>
94 99
95 <div id="content"$multiColumn> 100 <div id="content"$multiColumn>
96 $sContent 101 $sContent
97 </div> 102 </div>
98 103
99 <footer> 104 <footer>
100 $sFooter 105 $sFooter
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // This will fail when the database is not configured correctly or when 174 // This will fail when the database is not configured correctly or when
170 // the page doesn't exist yet. That's the case during the 175 // the page doesn't exist yet. That's the case during the
171 // initial installation. 176 // initial installation.
172 } 177 }
173 178
174 return ""; 179 return "";
175 } 180 }
176 } 181 }
177 182
178 ?> 183 ?>
OLDNEW
« no previous file with comments | « anwiki/_override/actions/action_view/action_view.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld