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:
@@ -121,7 +121,8 @@ if (!function_exists("parseheader"))
|
|||||||
if(!defined("XHTML4"))
|
if(!defined("XHTML4"))
|
||||||
{
|
{
|
||||||
echo "<!doctype html>\n";
|
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 "<head>\n";
|
||||||
echo "<meta charset='utf-8' />\n";
|
echo "<meta charset='utf-8' />\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user