Report abuse

/**
 * Overriden only to add stylesheets before drupal_get_css gets called
 * from phptemplate_page. This minimises preprocessed style sheets.
 *
 * Javascripts and status messages should also be set here when needed.
 */
function hex_page($content, $show_blocks = TRUE) {
  // Add style sheets.
  drupal_add_css(path_to_theme() . '/styles/layout.css', 'theme');
  drupal_add_css(path_to_theme() . '/styles/print.css', 'theme', 'print');
  // Conditionally attach modified module styles.
  hex_attach_module_styles(drupal_add_css());
  return phptemplate_page($content, $show_blocks);
}