本文整理汇总了PHP中GDSRHelper::render_star_sizes方法的典型用法代码示例。如果您正苦于以下问题:PHP GDSRHelper::render_star_sizes方法的具体用法?PHP GDSRHelper::render_star_sizes怎么用?PHP GDSRHelper::render_star_sizes使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_star_sizes方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: render_star_sizes_tinymce
function render_star_sizes_tinymce($name, $selected = "20", $width = 130)
{
GDSRHelper::render_star_sizes($name, $selected, $width);
}
示例2: _e
<td class="gdsr-preview-space"></td>
<td class="gdsr-preview" style="background-color: gray;"><img src="#" id="gdsr_preview_gray" /></td>
<td class="gdsr-preview-space" ></td>
<td class="gdsr-preview gdsr-preview-pic"><img src="#" id="gdsr_preview_picture" /></td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td width="100" style="padding: 0; border: 0; height: 28px; vertical-align: top;"><?php
_e("Size", "gd-star-rating");
?>
:</td>
<td width="250" align="left" style="padding: 0; border: 0; vertical-align: top; text-align: right;">
<?php
GDSRHelper::render_star_sizes("gdsr_size_preview", 30, 180, ' onchange="gdsrStyleSelection(\'stars\')"');
?>
</td>
</tr>
<tr valign="top">
<td width="100" style="padding: 0; border: 0; vertical-align: top;"><?php
_e("Author", "gd-star-rating");
?>
:</td>
<td width="250" align="left" style="padding: 0; border: 0; vertical-align: top;">
<div id="gdsrauthorname" style="text-align: right;"></div>
<div id="gdsrauthoremail" style="text-align: right;"></div>
<div id="gdsrauthorurl" style="text-align: right;"></div>
</td>
</tr>
</table>
示例3: _e
<tr>
<td width="150"><?php
_e("Stars", "gd-star-rating");
?>
:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_review_style" id="gdsr_review_style">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["review_style"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_star_sizes("gdsr_review_size", $gdsr_options["review_size"]);
?>
</td>
<td width="10"></td>
<td width="100"><?php
_e("Number of stars", "gd-star-rating");
?>
:</td>
<td width="80" align="left">
<select style="width: 70px;" name="gdsr_review_stars" id="gdsr_review_stars">
<?php
GDSRHelper::render_stars_select($gdsr_options["review_stars"]);
?>
</select>
</td>
</tr>
示例4: _e
')"><?php
_e("Stars", "gd-star-rating");
?>
</a></strong></td>
<td width="100" nowrap="nowrap"><?php
_e("Set", "gd-star-rating");
?>
:</td>
<td align="right"><select style="width: 200px" name="<?php
echo $this->get_field_name('rating_stars');
?>
"><?php
GDSRHelper::render_styles_select($wpst, $instance['rating_stars']);
?>
</select></td>
</tr>
<tr>
<td width="100" valign="top"></td>
<td width="100" nowrap="nowrap"><?php
_e("Size", "gd-star-rating");
?>
:</td>
<td align="right"><?php
GDSRHelper::render_star_sizes($this->get_field_name('rating_size'), $instance['rating_size'], 200);
?>
</td>
</tr>
</table>
</div>
<div class="gdsr-table-split"></div>
示例5: _e
<tr>
<td width="150"><?php
_e("Stars", "gd-star-rating");
?>
:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_mur_style" id="gdsr_mur_style">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["mur_style"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_star_sizes("gdsr_mur_size", $gdsr_options["mur_size"]);
?>
</td>
</tr>
<tr>
<td width="150">MSIE 6:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_mur_style_ie6" id="gdsr_mur_style_ie6">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["mur_style_ie6"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150"><?php
_e("Rating header", "gd-star-rating");