From 2c0571b89421e92e32a2f9b53a4ea24823bd2ef1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 3 Aug 2006 07:06:36 +0000 Subject: - Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal. --- themes/engines/phptemplate/phptemplate.engine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'themes/engines/phptemplate') diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine index 9a7a9b732..669b27ada 100644 --- a/themes/engines/phptemplate/phptemplate.engine +++ b/themes/engines/phptemplate/phptemplate.engine @@ -210,7 +210,8 @@ function phptemplate_page($content) { 'sidebar_right' => $sidebar_right, 'site_name' => (theme_get_setting('toggle_name') ? variable_get('site_name', 'Drupal') : ''), 'site_slogan' => (theme_get_setting('toggle_slogan') ? variable_get('site_slogan', '') : ''), - 'styles' => theme_get_styles(), + 'css' => drupal_add_css(), + 'styles' => drupal_get_css(), 'tabs' => theme('menu_local_tasks'), 'title' => drupal_get_title() ); -- cgit v1.2.3