| /[drupal]/contributions/themes/zen/template.php |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#583716 by droidenator: Empty title can cause breadcrumbs to display incorrectly
#445830: Follow-up to Rename clear-block CSS class to clearfix because I missed a few clear-block classes
#624046: Replace zen_id_safe() with drupal_html_class() and drupal_html_id()
Added .sidebar class to sidebar-first and sidebar-second regions.
Moved clearfix from .region-navigation to #navigation .section.
Renamed #navbar div to #navigation, $navbar region to $navigation, .with-navbar class to .with-navigation and added #navigation .section div
Added region-sidebar.tpl.php template suggestion
#621798: Change sidebar variables to be RTL friendly and $shows_blocks compatible
Renamed the node-mine class to node-by-viewer.
Added $display_submitted variable and deprecated $submitted variable to node.tpl.php.
Renamed $block->subject to $title and $block->content to $content in block.tpl.php.
Really fixing #564068: Views classes are missing from $classes variable. I hope!
Three inter-related items in one commit: - Added $classes and $classes_array to all templates, not just Zen's templates. - Renamed page.tpl's $body_classes and $body_classes_array to $classes and $classes_array - #564068: Views classes are missing from $classes variable
Add region.tpl.php template
Render $edit_links_array in zen_process_block
#546858: Add THEME_process_HOOK functions to Zen
Updated code comment.
#317417 by JohnAlbin and quicksketch: Fix off-line maintenance page since drupal_get_path('theme', 'zen') won't work
Fixed copy and paste errors related to undefined $variables
#547696: Update node.tpl to use ideas from D7
Added $build_mode variable to node.tpl.php
#545320 by Deslack: Use of split() generate E_DEPRECATED warnings on PHP 5.3.0
#546828: Move tpl.php files to a templates folder in the root zen directory
Added $body_classes_array variable to page template
Simplified body class generation code
#249823: Add options to toggle display of primary and secondary links
#263228: Allow sub-themes to override wireframes.css
#223518: Option to show page title in breadcrumbs
#255263: Don't call preprocess functions twice when Zen is active theme
#253249: zen_id_safe fails when first character is extended latin
#246109: Add MODULE_preprocess_HOOK functions to Zen
#247960: Add THEME_preprocess() hook to Zen
Added missing global $theme_key; bug created in creating zen-level preprocess functions.
Only removing extra spaces to fix indenting in preprocess functions.
Split the base Zen theme's _phptemplate_variables() into proper preprocess functions. This will make it easier to add MODULE_preprocess hooks and a THEME_preprocess() hook.
Prevented "notice: Undefined variable: edit_links" for anonymous users
Made block-editing.css a "theme"-type CSS file
Put each theme in a separate directory.
Synced with 5.x-1.0.
Added body classes: section-node-add, section-node-edit, section-node-delete
Prevented display of empty help from node_help().
In template.php, consolidated SUBTHEME_preprocess_HOOK() checks from 4 places to 1 place.
Updated comments in php files.
Allow underscores in zen_id_safe().
More D6 updates.
More D6 updates.
#207743 by jjeff: Added translatable "Unpublished" text as background
Reverted block-[module] to previous class names with underscores.
#207743 by jjeff: Added block editing links on hover
Removed redundant block-[region] class.
Added extended block classes (zebra class by jjeff)
#207743 by jjeff: Allow a sub-theme to add/alter block variables
Simplified creation of page- and section- body classes.
Simplified creation of page- and section- body classes.
Reverted previous patch.
Removed extra space from last patch.
#211156 by jjeff: $subtheme_directory variable in page.tpl.php never gets populated
Minimal changes needed for D6 compatibility.
Re-introduced subtheme_directory variable into page.tpl.php.
Synced HEAD with DRUPAL-5.
Changed references to Holy Slurpy Cup layout method to Border Politics layout method.
#203213 by kdebaas: Add node-teaser class to nodes displayed as teasers
Moved _phptemplate_HOOK functionality to _zen_hook().
#196181: _phptemplate_callback doesn't look in sub-theme folder for .tpl.php files
Added starter sub-theme and documentation to ease sub-theme creation.
Converted call_user_func($function) to the faster $function().
#171201: Remove un-localizable date/time format from base theme
Added wireframes css and new theme settings.
#196223: IE5 always loads @import print stylesheet
#196223: IE5 always loads @import print stylesheet
Synced HEAD with DRUPAL-5 branch.
#121991: Source rendering order needs adjustment and #110897: oversize content causes IE6 layout breakage
Added unique classes for each page and website section
Updated comments and variable names in template.php.
Finished adding customizable breadcrumb settings
Removed calls to zen_id_safe(['node']->type), since content types are already lowercase letters, numbers, and underscores
Made tpl.php files more consistent
Added customizable breadcrumb settings
Split template.php into multiple files to ease theme developer overload
#169359: Base CSS and tpl files don't get loaded (sub-theme with page.tpl.php)
Syncing HEAD with DRUPAL-5 branch.
Add prettier tab styling
Create starter theme; migrate current style to a sub-theme
Added ability to change regions in a sub-theme
Fixed some spacing and added missing optional commas in arrays.
#183936: Backport Drupal 6 $body_classes
#131030: Add docs on how to edit the $links
Changed an if to a trinary. And changed a weird switch to if/then/else.
Updated comments. Removed tabs and extra spaces.
#119364 odd/even handling in comments
Moving styles from zen.css to style.css so that these styles can be loaded last.
Major changes! Zen now allows subthemes to define their own node.tpl.php, node-type.tpl.php, block-type.tpl.php, page-loc.tpl.php, etc... Also rearranging the way that secondary style sheets are included as per #113184.
several changes including new background image for unpublished items, microformat for node creation dates, new classes for comment-by-author, comment-by-anon, node-mine, comment-mine. other minor changes
#111409 - author comments styled differently from others
Making $is_admin variable available to all templates
#107921 the beginnings of a print style sheet by rport
Very minor documentation changes. Really not worth mentioning.
fixing the fixing
fixing
more classes for body and div.node elements to make context-based theming easier
fixed typo
#88572 bringing back some more example code for template.php
Minor tweaks; Id tag, punctuation, coding standards
Modified the help text to be more succinct and easier to understand. Modified the breadcrumb to be a double colon because the long arrow looks awkward. Changed the _phptemplate_variables to be a semi-useful example instead of a giant block that is commented out. I am still uncomfortable with this file as it went from a very tiny file to an extremely verbose one. I'm recommending trimming it even more, if not just providing a link to an example template.php file posted on drupal.org with more thorough documentation.
fix typo
better template.php examples
significantly improved template.php, with lots of documention, comments, and some simple examples of useful theming tricks
adding background to fixed width page; also minor tweaks and bug fixes
Initial commit of the Zen theme (based on Zirafa's Delicious_Zen work) See #81217 for more.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |