<span class="paneltext"><?php 
    _e("Review", "gd-star-rating");
    ?>
:</span>
                            </td>
                            <td style="width: 140px; height: 29px;" align="right">
                            <select id="gdsr_review_rating" name="gdsr_review_rating" style="width: 50px; text-align: right;">
                                <option value="">/</option>
                                <?php 
    GDSRHelper::render_stars_select_full(-1, $options["review_stars"], 0);
    ?>
                            </select>.
                            <select id="gdsr_review_rating_decimal" name="gdsr_review_rating_decimal" style="width: 50px; text-align: right;">
                                <option value="">/</option>
                                <?php 
    GDSRHelper::render_stars_select_full(-1, 9, 0);
    ?>
                            </select>
                            </td>
                            <?php 
}
?>
                        </tr>
                        <tr>
                            <?php 
if ($options["moderation_active"] == 1) {
    ?>
                                <td style="width: 80px; height: 29px;">
                                    <span class="paneltext"><?php 
    _e("Moderation", "gd-star-rating");
    ?>
Ejemplo n.º 2
0
"><tr>
    <td style="height: 25px;"><label style="font-size: 12px;" for="gdsr_review"><?php 
_e("Value", "gd-star-rating");
?>
:</label></td>
    <td align="right" style="height: 25px;" valign="baseline">
    <select style="width: 50px; text-align: right;" name="gdsr_review" id="gdsr_review">
        <option value="-1">/</option>
        <?php 
GDSRHelper::render_stars_select_full($rating, $gdsr_options["review_stars"], 0);
?>
    </select><span style="vertical-align: bottom;">.</span>
    <select id="gdsr_review_decimal" name="gdsr_review_decimal" style="width: 50px; text-align: right;">
        <option value="-1">/</option>
        <?php 
GDSRHelper::render_stars_select_full($rating_decimal, 9, 0);
?>
    </select>
    </td></tr></table>
    <div class="gdsr-table-split-edit"></div>
    <h4 class="gdsr-section-title"><?php 
_e("Post Rating", "gd-star-rating");
?>
:</h4>
    <table width="<?php 
echo $box_width;
?>
"><tr>
    <td style="height: 25px;"><label style="font-size: 12px;"><?php 
_e("Vote Rule", "gd-star-rating");
?>
Ejemplo n.º 3
0
 function render_stars_select($selected = 10)
 {
     GDSRHelper::render_stars_select_full($selected);
 }
Ejemplo n.º 4
0
?>
</strong></p>
<div class="tablenav">
    <div class="alignleft">
        <select style="width: 100px;" name="gdsr_vote" id="gdsr_vote">
        <option value="0"<?php 
if ($filter_vote == 0) {
    echo ' selected="selected"';
}
?>
><?php 
_e("All Votes", "gd-star-rating");
?>
</option>
        <?php 
GDSRHelper::render_stars_select_full($filter_vote, $max_stars, 1, __("Vote", "gd-star-rating"));
?>
        </select>
        <input class="button-secondary delete" type="submit" name="gdsr_filter" value="<?php 
_e("Filter", "gd-star-rating");
?>
" />
    </div>
    <div class="tablenav-pages">
        <?php 
echo $pager;
?>
    </div>
</div>
<br class="clear"/>
<table class="widefat">