summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zen/template.php3
-rw-r--r--zen/zen.info40
2 files changed, 34 insertions, 9 deletions
diff --git a/zen/template.php b/zen/template.php
index aec2089..d65c398 100644
--- a/zen/template.php
+++ b/zen/template.php
@@ -118,9 +118,6 @@ function phptemplate_preprocess_page(&$vars) {
else {
drupal_add_css($vars['directory'] .'/layout-fixed.css', 'theme', 'all');
}
- drupal_add_css($vars['directory'] .'/html-elements.css', 'theme', 'all');
- drupal_add_css($vars['directory'] .'/tabs.css', 'theme', 'all');
- drupal_add_css($vars['directory'] .'/zen.css', 'theme', 'all');
// Avoid IE5 bug that always loads @import print stylesheets
$vars['head'] = zen_add_print_css($vars['directory'] .'/print.css');
}
diff --git a/zen/zen.info b/zen/zen.info
index a14f2ca..1982d76 100644
--- a/zen/zen.info
+++ b/zen/zen.info
@@ -1,13 +1,25 @@
; $Id$
-name = Zen
+
+ ; The name and description of the theme used on the admin/build/themes page.
+name = Zen
description = The ultimate starting theme for Drupal 6.
-core = 6.x
-engine = phptemplate
-; base theme = zen
+ ; The screenshot used on the admin/build/themes page.
screenshot = screenshot.png
+ ; "core" specifies the version of Drupal that this theme is compatible with.
+ ; "engine" specifies that this is a theme that uses the phptemplate engine,
+ ; Drupal’s default theme engine. Its unlikely you will ever need to change
+ ; these, but they are required fields.
+core = 6.x
+engine = phptemplate
+
+ ; The regions defined in Zen’s default page.tpl.php file. The name in
+ ; brackets is the name of the variable in the page.tpl.php file, (e.g.
+ ; "[content_top]" in the .info file means there should be a $content_top
+ ; variable in the page.tpl.php file.) The text after the equals sign is a
+ ; descriptive text used on the admin/build/blocks page.
regions[left] = left sidebar
regions[right] = right sidebar
regions[navbar] = navigation bar
@@ -17,5 +29,21 @@ regions[header] = header
regions[footer] = footer
regions[closure_region] = closure
-; stylesheets[all][] = layout.css
-; stylesheets[print][] = print.css
+ ; This section adds CSS files to your theme. The media type is specified in
+ ; the brackets. Typical CSS media types include "all", "screen", "print", and
+ ; "handheld". See http://www.w3.org/TR/CSS21/media.html#media-types for a full
+ ; list of stylesheet media types in CSS 2.1.
+ ;
+ ; You can also override any of Zen’s stylesheets or any module’s stylesheets,
+ ; an /extremely/ useful feature. See the excellent Drupal 6 Theme Guide at
+ ; http://drupal.org/node/171209 for more details.
+stylesheets[all][] = html-elements.css
+stylesheets[all][] = tabs.css
+stylesheets[all][] = zen.css
+stylesheets[print][] = print.css
+
+ ; The layout CSS files are added by Zen’s template.php file (based on its
+ ; theme settings,) so we don't need to add them here. But if we did, it would
+ ; look like this:
+ ; stylesheets[all][] = layout.css
+ ; stylesheets[all][] = layout-liquid.css