/** * Implements hook_preprocess_html() * * @param $vars * An array of variables to pass to the theme template. * @param $hook * The name of the template being rendered ("html" in this case.) */ function unity_lab_preprocess_html(&$vars) { //add fonts.com subscription drupal_add_css("//fast.fonts.net/cssapi/ee71ef3e-a7f1-47dd-8ae1-4ae6bec02b30.css", array('type' => 'external')); //if we are on acquia, use minified style from unity lab if (isset($_ENV['AH_SITE_ENVIRONMENT']) && ($_ENV['AH_SITE_ENVIRONMENT'] == 'test' || $_ENV['AH_SITE_ENVIRONMENT'] == 'prod')) { drupal_add_css(unity_lab_directory(false) . '/css/style.min.css', array('group' => CSS_DEFAULT, 'every_page' => true)); } elseif (isset($_ENV['AH_SITE_ENVIRONMENT']) && $_ENV['AH_SITE_ENVIRONMENT'] == 'dev') { drupal_add_css(unity_lab_directory(false) . '/css/style.css', array('group' => CSS_DEFAULT, 'every_page' => true)); } else { drupal_add_css(unity_lab_directory(true) . '/css/style.css', array('type' => 'external')); } drupal_add_css(drupal_get_path('theme', 'unity_lab') . '/css/theme.css', array('group' => CSS_DEFAULT, 'every_page' => TRUE)); $vars['classes_array'][3] = ''; /* if ($panel_page = panels_get_current_page_display()) { // Set body class for the name of the panel page layout. $vars['classes_array'][] = 'panel-layout-' . str_replace('_', '-', $panel_page->layout); } */ }
?> > <div id="skip-link"> </div> <?php print $page_top; ?> <?php print $page; ?> <?php print $page_bottom; ?> <script src="<?php print unity_lab_directory(); ?> /js/footer/footer.min.js"></script> </body> </html>