Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
/** * 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); }
This paste will be private.
From the Design Piracy series on my blog: