OLD | NEW |
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 Loading... |
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 Loading... |
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 ?> |
OLD | NEW |