block-my-reviews.tpl.php in Reviews 7
1 theme call to block-my-reviews.tpl.php
- reviews_get_my_reviews_block in ./
reviews.module - Helper function to return content for My Reviews block.
File
theme/block-my-reviews.tpl.phpView source
<?php
/**
* @file
* Theme template file used to display a block containing all reviews
* submitted by the current user.
* available variables:
* - $reviews: array of reviews.
*/
foreach ($variables['reviews'] as $index => $review) {
print theme('block_review', array(
'index' => $index,
'total_reviews' => count($variables['reviews']),
'review' => $review,
));
}