@@ -32,7 +32,6 @@
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_comment_wrapper()
|
||||
* @see theme_comment_wrapper()
|
||||
*/
|
||||
?>
|
||||
<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
|
@@ -14,7 +14,7 @@
|
||||
* - $date: Formatted creation date. Preprocess functions can reformat it by
|
||||
* calling format_date() with the desired parameters on the $created variable.
|
||||
* - $name: Themed username of node author output from theme_username().
|
||||
* - $node_url: Direct url of the current node.
|
||||
* - $node_url: Direct URL of the current node.
|
||||
* - $display_submitted: Whether submission information should be displayed.
|
||||
* - $submitted: Submission information created from $name and $date during
|
||||
* template_preprocess_node().
|
||||
@@ -22,7 +22,7 @@
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - node: The current template type, i.e., "theming hook".
|
||||
* - node: The current template type; for example, "theming hook".
|
||||
* - node-[type]: The current node type. For example, if the node is a
|
||||
* "Blog entry" it would result in "node-blog". Note that the machine
|
||||
* name will often be in a short form of the human readable label.
|
||||
@@ -42,7 +42,7 @@
|
||||
*
|
||||
* Other variables:
|
||||
* - $node: Full node object. Contains data that may not be safe.
|
||||
* - $type: Node type, i.e. story, page, blog, etc.
|
||||
* - $type: Node type; for example, story, page, blog, etc.
|
||||
* - $comment_count: Number of comments attached to the node.
|
||||
* - $uid: User ID of the node author.
|
||||
* - $created: Time the node was published formatted in Unix timestamp.
|
||||
@@ -53,7 +53,7 @@
|
||||
* - $id: Position of the node. Increments each time it's output.
|
||||
*
|
||||
* Node status variables:
|
||||
* - $view_mode: View mode, e.g. 'full', 'teaser'...
|
||||
* - $view_mode: View mode; for example, "full", "teaser".
|
||||
* - $teaser: Flag for the teaser state (shortcut for $view_mode == 'teaser').
|
||||
* - $page: Flag for the full page state.
|
||||
* - $promote: Flag for front page promotion state.
|
||||
@@ -67,11 +67,11 @@
|
||||
* - $is_admin: Flags true when the current user is an administrator.
|
||||
*
|
||||
* Field variables: for each field instance attached to the node a corresponding
|
||||
* variable is defined, e.g. $node->body becomes $body. When needing to access
|
||||
* a field's raw values, developers/themers are strongly encouraged to use these
|
||||
* variables. Otherwise they will have to explicitly specify the desired field
|
||||
* language, e.g. $node->body['en'], thus overriding any language negotiation
|
||||
* rule that was previously applied.
|
||||
* variable is defined; for example, $node->body becomes $body. When needing to
|
||||
* access a field's raw values, developers/themers are strongly encouraged to
|
||||
* use these variables. Otherwise they will have to explicitly specify the
|
||||
* desired field language; for example, $node->body['en'], thus overriding any
|
||||
* language negotiation rule that was previously applied.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_node()
|
||||
|
Reference in New Issue
Block a user