function fivestar_help in Fivestar 5
Same name and namespace in other branches
- 8 fivestar.module \fivestar_help()
- 6.2 fivestar.module \fivestar_help()
- 6 fivestar.module \fivestar_help()
- 7.2 fivestar.module \fivestar_help()
@file A simple n-star voting widget, usable in other forms.
File
- ./
fivestar.module, line 8 - A simple n-star voting widget, usable in other forms.
Code
function fivestar_help($section) {
switch ($section) {
case 'admin/settings/fivestar':
$output = t('This page is used to configure site-wide features of the fivestar module. To setup fivestar to rate content:');
$steps = array(
t('Configure site-wide settings for fivestar below.'),
t('Go to <a href="!types">admin/content/types</a> and edit the type you would like to rate.', array(
'!types' => url('admin/content/types'),
)),
t('On the settings page for the content type, a set of options is available for fivestar, where you can enable rating for that type and set rating options.'),
);
$output .= theme('item_list', $steps, NULL, 'ol');
}
return $output;
}