function fivestar_widget_form in Fivestar 6.2
Same name and namespace in other branches
- 5 fivestar.module \fivestar_widget_form()
- 6 fivestar.module \fivestar_widget_form()
2 calls to fivestar_widget_form()
- fivestar_block in ./
fivestar.module - fivestar_nodeapi in ./
fivestar.module - Implementation of hook_nodeapi().
File
- ./
fivestar.module, line 614 - A simple n-star voting widget, usable in other forms.
Code
function fivestar_widget_form($node, $tag = 'vote') {
return drupal_get_form('fivestar_form_node_' . $node->nid . '_' . $tag, 'node', $node->nid, $tag);
}