You are here

global $user in Reviews 7

Same name in this branch
  1. 7 theme/block-review.tpl.php \user
  2. 7 theme/review.tpl.php \user
  3. 7 theme/reviews.tpl.php \user

@file Theme template file used to format the reviews page of enabled content types when there are reviews. $variables: $nid: the node ID of the main node being viewed. $reviews: array of reviews $rid: review ID. $uid: user ID of reviewer. $review: review text. $rating: rating value from 0 to 100 $created: timestamp of when the review was created.

File

theme/review.tpl.php, line 16
Theme template file used to format the reviews page of enabled content types when there are reviews. $variables: $nid: the node ID of the main node being viewed. $reviews: array of reviews $rid: review ID. $uid: user ID of reviewer. $review: review…

Code

global $user;