1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

The site's HTML tag may now be customized by defining "HTMLTAG" inside the theme.php file. (similar to "BODYTAG")

This commit is contained in:
Cameron
2017-03-07 10:28:05 -08:00
parent 99dc790689
commit 3ebfaaf3f1

View File

@@ -121,7 +121,8 @@ if (!function_exists("parseheader"))
if(!defined("XHTML4"))
{
echo "<!doctype html>\n";
echo "<html".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " lang=\"".CORE_LC."\"" : "").">\n";
$htmlTag = "<html".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " lang=\"".CORE_LC."\"" : "").">";
echo deftrue('HTMLTAG', $htmlTag)."\n";
echo "<head>\n";
echo "<meta charset='utf-8' />\n";
}