widget.tpl.php in Vote Up/Down 6.2
Same filename in this branch
Same filename and directory in other branches
Plain widget theme for Vote Up/Down
File
widgets/plain/widget.tpl.phpView source
<?php
/**
* @file
* widget.tpl.php
*
* Plain widget theme for Vote Up/Down
*/
if ($show_links) {
?>
<div class="vud-widget vud-widget-plain" id="<?php
print $id;
?>">
<?php
if ($show_up_as_link) {
?>
<a href="<?php
print $link_up;
?>" rel="nofollow" class="<?php
print $link_class_up;
?>">
<?php
}
?>
<span class="<?php
print $class_up;
?>" title="<?php
print t('Vote up!');
?>"></span>
<div class="element-invisible"><?php
print t('Vote up!');
?></div>
<?php
if ($show_up_as_link) {
?>
</a>
<?php
}
?>
<?php
if ($show_down_as_link) {
?>
<a href="<?php
print $link_down;
?>" rel="nofollow" class="<?php
print $link_class_down;
?>">
<?php
}
?>
<span class="<?php
print $class_down;
?>" title="<?php
print t('Vote down!');
?>"></span>
<div class="element-invisible"><?php
print t('Vote down!');
?></div>
<?php
if ($show_down_as_link) {
?>
</a>
<?php
}
?>
</div>
<?php
}