page.tpl.php
Basic template for a page.Accessible variables:
- $head_title is a header of page
- $head is all information in head
- $styles are styles
- $scripts are scripts
- $classes are classes for body
- $header is a cap which we took away in a separate template
- $REGION_NAME are variables with the names of regions
- $messages are system reports
- $tabs - табы
- $content is content
- $feed_icons are icons of RSS
- $footer is basement which we took away in a separate template
- $base_path is a base path of site
- $is_front is a main page or no
- $logged_in is whether a залогинен user
- $is_admin - admin or no
- $language is an object, containing data about a current language
- $node - нода
- $front_page is a pointer to main
- $logo is a logotype
- $site_name is the name of site
- $site_slogan is a slogan of site
- $mission is a mission of site
- $search_box is a block of search
- $closure - a variable is inserted before the closing tag /of body, in it some modules write scripts. Thank you хабраюзеру juliv/
node.tpl.php
Template of output of content.Accessible variables:
- $node is an object of ноды
- $classes are classes for ноды
- $user_picture - аватар user
- $picture is a picture of ноды, redefined by the modules
- $page is a page of ноды or list of тизеров
- $unpublished - published or no
- $display_submitted - by whom and when published
- $terms are categories
- $content is content
- $links are Refs.s
- $title is a header
- $date is a date of creation
- $name is the name of author
- $node_url is reference on ноду
- $comment_count is an amount of комментов
- $type is a type of material
- $uid - id author
- $zebra is a class for a zebra
- $teaser - тизер or whole нода
- $sticky - прилеплена or no
- $status is status of ноды
- $comment - whether комменты is included
- $is_front - on main or no
- $logged_in - залогинен or no
- $is_admin - admin or no
region.tpl.php
Template of output of region.Accessible variables:
- $classes are classes for a region
- $content is content
- $region is the name of region
- $is_front - on main or no
- $logged_in - залогинен or no
- $is_admin - admin or no
block.tpl.php
Template of output of block.Accessible variables:
- $block is an object of block
- $classes are classes of block
- $title is a header
- $content is content
- $edit_links are Refs.s of editing of block
- $zebra is a zebra
- $block_id - id block
- $is_front - on main or no
- $logged_in - залогинен or no
- $is_admin - admin or no
comment - wrapper.tpl.php
Template of block of output of comments.Accessible variables:
- $classes are classes
- $node - нода
- $content is content
- $display_mode is a method of displaying of комментов
- $display_order is an order of displaying of комментов
- $comment_controls_state - whether there is a form of management of комментамми
comment.tpl.php
Template of displaying of one comment.Accessible variables:
- $classes are classes
- $picture - аватар author
- $title is a header
- $new - new or no
- $unpublished - published or no
- $author is an author
- $created is a date of creation
- $content is content
- $links are Refs.s
header.tpl.php
Template of cap of site. All variables for this template we defined in preprocess - header.incthe Accessible variables:
- $front_page is a main page or no
- $logo is a logotype of site
- $search_box is a block of search
- $header_line is a region with the name of header_line
footer.tpl.php
Template of basement of site. All variables for this template we defined in preprocess - footer.incthe Accessible variables:
- $footer_line is a region with the name of footer_line
- $page_bottom is a region with the name of page_bottom
Source of http://habrahabr.ru/blogs/drupal/ 86463/