You are here

widget.tpl.php in Vote Up/Down 6.3

widget.tpl.php

Alternate widget theme for Vote Up/Down

File

widgets/alternate/widget.tpl.php
View source
<?php

/**
 * @file
 * widget.tpl.php
 *
 * Alternate widget theme for Vote Up/Down
 */
?>
<div class="vud-widget vud-widget-alternate" id="<?php

print $id;
?>">
  <?php

if ($class_up) {
  ?>
    <div class="alternate-votes-display"><?php

  print $unsigned_points;
  ?></div>
    <?php

  if ($show_links) {
    ?>
      <?php

    if ($show_up_as_link) {
      ?>
        <a href="<?php

      print $link_up;
      ?>" rel="nofollow" class="<?php

      print $link_class_up;
      ?>">
      <?php

    }
    ?>
          <div class="<?php

    print $class_up;
    ?>" title="<?php

    print t('Vote up!');
    ?>"></div>
          <div class="element-invisible"><?php

    print t('Vote up!');
    ?></div>
      <?php

    if ($show_up_as_link) {
      ?>
        </a>
      <?php

    }
    ?>
    <?php

  }
  ?>
    <?php

  if ($show_reset) {
    ?>
      <a href="<?php

    print $link_reset;
    ?>" rel="nofollow" class="<?php

    print $link_class_reset;
    ?>" title="<?php

    print $reset_long_text;
    ?>">
        <div class="<?php

    print $class_reset;
    ?>">
          <?php

    print $reset_short_text;
    ?>
        </div>
      </a>
    <?php

  }
  ?>
  <?php

}
?>
</div>