comparison mgallery.php @ 238:80cbbdc3f14d

Add lang="xx" attribute to HTML tag.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 27 Mar 2018 15:19:00 +0300
parents 028291a78acb
children 2749d9637a44
comparison
equal deleted inserted replaced
237:c7f369ff0fb9 238:80cbbdc3f14d
140 } 140 }
141 141
142 142
143 function mgPrintPageHeader($pageTitle, $pageClass) 143 function mgPrintPageHeader($pageTitle, $pageClass)
144 { 144 {
145 global $pageCSS, $pageCharset, $pageUrchin, $pageJSFile; 145 global $pageCSS, $pageCharset, $pageUrchin, $pageJSFile, $pageLang;
146 146
147 echo 147 echo
148 "<!DOCTYPE html>\n". 148 "<!DOCTYPE html>\n".
149 "<html>\n". 149 "<html lang=\"".$pageLang."\">\n".
150 "<head>\n". 150 "<head>\n".
151 " <meta charset=\"".$pageCharset."\">\n". 151 " <meta charset=\"".$pageCharset."\">\n".
152 // Setting the viewport makes things break especially with the 152 // Setting the viewport makes things break especially with the
153 // text-size-adjust CSS settings... so we don't use it. 153 // text-size-adjust CSS settings... so we don't use it.
154 " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n". 154 " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n".