You are here

rate-template-number-up-down.tpl.php in Rate 7

Rate widget theme

File

templates/number-up-down/rate-template-number-up-down.tpl.php
View source
<?php

/**
 * @file
 * Rate widget theme
 */
?>

<?php


/*
<div class="rate-label">
  <?php print $display_options['title']; ?>
</div>
*/
?>

<?php

print $up_button;
?>

<div class="rate-number-up-down-rating <?php

print $score_class;
?>"><?php

print $score;
?></div>

<?php

print $down_button;
?>

<?php

if ($info) {
  print '<div class="rate-info">' . $info . '</div>';
}
if ($display_options['description']) {
  print '<div class="rate-description">' . $display_options['description'] . '</div>';
}