/[drupal]/contributions/modules/vote_up_down/vud.theme.inc
ViewVC logotype

Diff of /contributions/modules/vote_up_down/vud.theme.inc

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

revision 1.1.2.18, Thu Aug 13 08:28:38 2009 UTC revision 1.1.2.19, Sat Aug 15 21:15:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: vud.theme.inc,v 1.1.2.17 2009/08/08 21:05:57 lut4rp Exp $  // $Id: vud.theme.inc,v 1.1.2.18 2009/08/13 08:28:38 lut4rp Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 122  function vud_votes_proxy($cid, $type, $t Line 122  function vud_votes_proxy($cid, $type, $t
122    vud_add_css($widget_theme);  // Search and add the CSS files.    vud_add_css($widget_theme);  // Search and add the CSS files.
123    vud_add_js($widget_theme);   // Search and add the JS files.    vud_add_js($widget_theme);   // Search and add the JS files.
124    
125    $output = $render_function($template_file, $variables);    if (file_exists($template_file)) {
126          $output = $render_function($template_file, $variables);
127      }
128      else {
129          drupal_set_message("The $template_file is missing. Please create the file, or disable display of vote points.", 'error');
130      }
131    return $output;    return $output;
132  }  }
133    

Legend:
Removed from v.1.1.2.18  
changed lines
  Added in v.1.1.2.19

  ViewVC Help
Powered by ViewVC 1.1.2