@@ -51,8 +52,8 @@ function project_issue_voting_admin_sett // Add limit by project type if we're using taxonomy. if (project_use_taxonomy()) { - $vid = _project_get_vid(); - $tree = taxonomy_get_tree($vid, 0, -1, 1); + $vid = _project_get_vid(); + $tree = taxonomy_get_tree($vid, 0, -1, 1); $options = array(); foreach ($tree as $term) { $options[$term->tid] = $term->name; @@ -143,8 +144,8 @@ function project_issue_voting_admin_sett function project_issue_voting_menu($may_cache) { $items = array(); - $vote_access = user_access('vote on issues'); - $view_votes_access = user_access('view issue votes'); + $vote_access = user_access('vote on issues'); + $view_votes_access = user_access('view issue votes'); $admin_votes_access = user_access('administer issue voting'); $types = node_get_types(); @@ -288,8 +287,8 @@ function project_issue_voting_link($type * (e.g. via views and/or panels) they will show up automatically. */ function project_issue_voting_page() { - $mid = menu_get_active_item(); - $menu = menu_get_menu(); + $mid = menu_get_active_item(); + $menu = menu_get_menu(); $items = array(); foreach ($menu['visible'][$mid]['children'] as $child_mid) { $item = menu_get_item($child_mid); @@ -559,8 +550,7 @@ function theme_project_issue_voting_widg } /** - * Themes the users voting display on a project issue node, - * including a summary of their overall voting values. + * Return HTML for the users voting display on a project issue node, including a summary of their overall voting values. * * @param $nid * Issue node ID.