本文整理汇总了PHP中GDSRHelper::render_stars_select_full方法的典型用法代码示例。如果您正苦于以下问题:PHP GDSRHelper::render_stars_select_full方法的具体用法?PHP GDSRHelper::render_stars_select_full怎么用?PHP GDSRHelper::render_stars_select_full使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_stars_select_full方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
<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");
?>
示例2: _e
"><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");
?>
示例3: render_stars_select
function render_stars_select($selected = 10)
{
GDSRHelper::render_stars_select_full($selected);
}
示例4: _e
?>
</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">