/[drupal]/contributions/modules/vote_up_down/vud_comment/vud_comment.module
ViewVC logotype

Diff of /contributions/modules/vote_up_down/vud_comment/vud_comment.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.15, Sat Aug 15 21:15:45 2009 UTC revision 1.1.2.16, Sun Aug 16 19:30:02 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: vud_comment.module,v 1.1.2.14 2009/08/09 17:53:26 lut4rp Exp $  // $Id: vud_comment.module,v 1.1.2.15 2009/08/15 21:15:45 lut4rp Exp $
3    
4    /**
5     * @file
6     * Adds a voting widget to comments.
7     */
8    
9  /**  /**
10   * Implementation of hook_perm().   * Implementation of hook_perm().
# Line 97  function vud_comment_theme() { Line 102  function vud_comment_theme() {
102   */   */
103  function vud_comment_link($type, $object, $teaser = FALSE) {  function vud_comment_link($type, $object, $teaser = FALSE) {
104    $links = array();    $links = array();
105    switch($type) {    switch ($type) {
106      case 'comment':      case 'comment':
107        $comment = &$object;        $comment = &$object;
108        $votes_display_mode = variable_get('vud_comment_votes', 1);        $votes_display_mode = variable_get('vud_comment_votes', 1);

Legend:
Removed from v.1.1.2.15  
changed lines
  Added in v.1.1.2.16

  ViewVC Help
Powered by ViewVC 1.1.2