예제 #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);
    }
}
예제 #2
0
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);
    }
}