Example #1
0
function wppa_slide_rating($opt = '')
{
    if (wppa_opt('rating_max') == '1') {
        wppa_slide_rating_vote_only($opt);
    } else {
        wppa_slide_rating_range($opt);
    }
}
function wppa_slide_rating($opt = '')
{
    global $wppa_opt;
    if ($wppa_opt['wppa_rating_max'] == '1') {
        wppa_slide_rating_vote_only($opt);
    } else {
        wppa_slide_rating_range($opt);
    }
}