diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-08-22 13:08:46 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2012-08-22 13:08:46 -0700 |
commit | fe65146a5296ede137dffce3c4e44dbc5f3edfc6 (patch) | |
tree | a3faf3247cd5fdb81570ba5c91bec620f031e8eb /themes | |
parent | 870a7b572e4531ae37080dcabc0183fd0e26500c (diff) | |
download | brdo-fe65146a5296ede137dffce3c4e44dbc5f3edfc6.tar.gz brdo-fe65146a5296ede137dffce3c4e44dbc5f3edfc6.tar.bz2 |
Issue #1472724 by jibran, balsama, kiamlaluno, asrob, mjonesdinero: Clean up i.e. and e.g. in node.tpl.php docs
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bartik/templates/node.tpl.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/themes/bartik/templates/node.tpl.php b/themes/bartik/templates/node.tpl.php index f215b477b..9115af24e 100644 --- a/themes/bartik/templates/node.tpl.php +++ b/themes/bartik/templates/node.tpl.php @@ -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() |