summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate/phptemplate.engine
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-03 07:06:36 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-03 07:06:36 +0000
commit2c0571b89421e92e32a2f9b53a4ea24823bd2ef1 (patch)
tree092468cd1069fdcea90b9a2935906f75fdb99403 /themes/engines/phptemplate/phptemplate.engine
parent010eca98ecb89ce2841c17139363c6dce4ffb210 (diff)
downloadbrdo-2c0571b89421e92e32a2f9b53a4ea24823bd2ef1.tar.gz
brdo-2c0571b89421e92e32a2f9b53a4ea24823bd2ef1.tar.bz2
- Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal.
Diffstat (limited to 'themes/engines/phptemplate/phptemplate.engine')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine3
1 files changed, 2 insertions, 1 deletions
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()
);