-
-
Save anonymous/8c400fe9a6b477b28b26 to your computer and use it in GitHub Desktop.
Header.php with IE tag for js file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html prefix="og: http://ogp.me/ns#"> | |
<head> | |
<title>{content_meta_title}</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta property="og:title" content="{content_meta_title}"> | |
<meta name="keywords" content="{content_meta_keywords}"> | |
<meta name="description" content="{content_meta_description}"> | |
<meta property="og:type" content="{og_type}"> | |
<meta property="og:url" content="{content_url}"> | |
<meta property="og:image" content="{content_image}"> | |
<meta property="og:description" content="{og_description}"> | |
<meta property="og:site_name" content="{og_site_name}"> | |
<script type="text/javascript"> | |
mw.require("url.js"); | |
mw.require("tools.js"); | |
mw.require("<?php print( MW_INCLUDES_URL); ?>css/mw.ui.css"); | |
mw.lib.require("bootstrap3"); | |
</script> | |
<?php if(isset($custom_head)): ?> | |
<?php print $custom_head; ?> | |
<?php else : ?> | |
<link rel="stylesheet" href="{DEFAULT_TEMPLATE_URL}css/style.css" type="text/css" media="all"> | |
<script type="text/javascript" src="{DEFAULT_TEMPLATE_URL}js/default.js"></script> | |
<?php endif; ?> | |
<!--[if lt IE 9]> | |
<script src="<?php print TEMPLATE_URL; ?>js/main.js"></script> | |
<![endif]--> | |
</head> | |
<body> | |
<div id="header" class="clearfix"> | |
<div class="container"> | |
<div class="edit" rel="global" field="header1"> | |
<div class="mw-row"> | |
<div class="mw-col" style="width: 20%"> | |
<div class="mw-col-container"> | |
<div class="brand element" id="logo"><a href="<?php print site_url(); ?>">New World</a></div> | |
</div> | |
</div> | |
<div class="mw-col" style="width: 45%"> | |
<div class="mw-col-container"> | |
<module type="menu" name="header_menu" id="main-navigation" template="pills" /> | |
</div> | |
</div> | |
<div class="mw-col" style="width: 35%"> | |
<div class="mw-col-container"> | |
<module type="shop/cart" template="small" /> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- /#header --> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment