Issue #1472724 by jibran, balsama, kiamlaluno, asrob, mjonesdinero: Clean up i.e. and e.g. in node.tpl.php docs
parent
870a7b572e
commit
fe65146a52
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue