function print_head($vars) { foreach (array_keys($vars) as $name) { ${$name} =& $vars[$name]; } ?> <!DOCTYPE html> <html lang="<?php echo get_page_language($language); ?> " <?php echo get_page_direction($language); ?> > <head> <?php echo $head; ?> <title><?php if (isset($head_title)) { echo $head_title; } ?> </title> <?php echo $styles; ?> <?php if (arg(2) != null && (arg(2) == 'block' || arg(2) == 'views')) { ?> <?php echo $scripts; ?> <?php } else { ?> <?php echo art_compatible_scripts($scripts); ?> <?php } ?> <!-- Created by Artisteer v4.0.0.58475 --> <meta name="viewport" content="initial-scale = 1.0, maximum-scale = 1.0, user-scalable = no, width = device-width"> <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--[if lte IE 7]><link rel="stylesheet" href="<?php echo base_path() . $directory; ?> /style.ie7.css" media="screen" /><![endif]--> </head> <body <?php if (!empty($body_classes)) { echo 'class="' . $body_classes . '"'; } ?> > <?php }
<head profile="<?php print $grddl_profile; ?> "> <?php print $head; ?> <title><?php print $head_title; ?> </title> <?php print $styles; ?> <?php print art_compatible_scripts($scripts); ?> <!-- Created by Artisteer v4.0.0.58475 --> <!--<meta name="viewport" content="initial-scale = 1.0, maximum-scale = 5.0, user-scalable = no, width = device-width">--> <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <!--[if lte IE 7]><link rel="stylesheet" href="<?php echo base_path() . $directory; ?> /style.ie7.css" media="screen" /><![endif]--> </head> <body class="<?php