groups/modules/commons/commons_q_a/commons-thumbs-up-down.tpl.php
Marton Kiss 8ac59801be Refactor commons build process
Update commons modules to release 7.12, and move the codebase under
modules/commons instead of constant fetching from remote repository.
The commons.make file removed so it is not required to rebuild
groups distribution.

Change-Id: I3be393ba1af34427e2915b18ab1ad718fd4e54db
2014-05-28 15:58:33 +02:00

26 lines
722 B
PHP

<?php
/**
* @file
* Rate widget theme
*/
?>
<div class="commons-q-a-rate-up-down clearfix">
<?php
print '<div class="rate-info"><span class="rate-info-value">' . $results['rating'] . '</span> <span class="rate-info-label">' . format_plural($results['rating'], 'point', 'points') . '</span></div>';
if ($display_options['description']) {
print '<div class="rate-description">' . $display_options['description'] . '</div>';
}
?>
<div class="commons-q-a-rate-buttons">
<div class="commons-q-a-rate-trigger commons-q-a-rate-up">
<?php print $up_button; ?>
</div>
<div class="commons-q-a-rate-trigger commons-q-a-rate-down">
<?php print $down_button; ?>
</div>
</div>
</div>