You are here

function theme_fivestar_preview_wrapper in Fivestar 6

Same name and namespace in other branches
  1. 8 includes/fivestar.theme.inc \theme_fivestar_preview_wrapper()
  2. 5 fivestar.module \theme_fivestar_preview_wrapper()
  3. 6.2 includes/fivestar.admin.inc \theme_fivestar_preview_wrapper()
  4. 7.2 includes/fivestar.theme.inc \theme_fivestar_preview_wrapper()
2 theme calls to theme_fivestar_preview_wrapper()
fivestar_comment_form_alter in ./fivestar_comment.module
Form alter specification for comments.
fivestar_form_alter in ./fivestar.module
Implementation of hook_form_alter().

File

./fivestar.module, line 669
A simple n-star voting widget, usable in other forms.

Code

function theme_fivestar_preview_wrapper($content, $type = 'direct') {
  return '<div class="fivestar-preview fivestar-preview-' . $type . '">' . $content . '</div>';
}