global $user in Reviews 7
Same name in this branch
@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;