本文整理汇总了PHP中GDSRHelper::render_styles_select方法的典型用法代码示例。如果您正苦于以下问题:PHP GDSRHelper::render_styles_select方法的具体用法?PHP GDSRHelper::render_styles_select怎么用?PHP GDSRHelper::render_styles_select使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_styles_select方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
<fieldset>
<legend><?php
_e("Thumbs", "gd-star-rating");
?>
</legend>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td class="gdsrleft"><?php
_e("Set", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<select id="srThumbsStyle" name="srThumbsStyle">
<?php
GDSRHelper::render_styles_select($gdsr_thumbs, 'starrating');
?>
</select>
</td>
</tr>
<tr>
<td class="gdsrleft"><?php
_e("Size", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<?php
GDSRHelper::render_thumbs_sizes_tinymce("srThumbsSize");
?>
示例2: _e
<td width="100" valign="top"><strong><a style="text-decoration: none" href="javascript:gdsrShowHidePreview('<?php
echo $this->get_field_id('div_stars');
?>
')"><?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>
示例3: _e
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_star_sizes("gdsr_rss_size", $gdsr_options["rss_size"]);
?>
</td>
</tr>
<tr>
<td width="150"><?php
_e("Thumbs", "gd-star-rating");
?>
:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_thumb_rss_style" id="gdsr_thumb_rss_style">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->thumbs, $gdsr_options["thumb_rss_style"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_thumbs_sizes("gdsr_thumb_rss_size", $gdsr_options["thumb_rss_size"]);
?>
</td>
</tr>
</table>
<div class="gdsr-table-split"></div>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150"><?php
示例4: _e
</div>
<div id="gdsr-tv-img[<?php
echo $wpnm;
?>
]" style="display: <?php
echo $wpno['trends_voting'] == 'img' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="100"></td>
<td><?php
_e("Image set", "gd-star-rating");
?>
:</td>
<td align="right">
<select style="width: 180px;" name="<?php
echo $wpfn;
?>
[trends_voting_set]" id="gdstarr-trendsvotingset">
<?php
GDSRHelper::render_styles_select($wptr, $wpno["trends_voting_set"]);
?>
</select>
</td>
</tr>
</table>
</div>
</div>
<div class="gdsr-table-split"></div>
示例5: _e
</tr>
<tr><th scope="row"><?php
_e("Trends Preview", "gd-star-rating");
?>
</th>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td width="150" style="padding: 0; border: 0; height: 28px; vertical-align: top;"><?php
_e("Trends", "gd-star-rating");
?>
:</td>
<td width="200" align="left" style="padding: 0; border: 0; vertical-align: top; text-align: right;">
<select style="width: 180px;" name="gdsr_style_preview_trends" id="gdsr_style_preview_trends" onchange="gdsrStyleSelection('trends')">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->trend);
?>
</select>
</td>
<td width="20" style="padding: 0; border: 0; vertical-align: top;" rowspan="2"></td>
<td style="padding: 0; border: 0; vertical-align: top;">
<table cellpadding="0" width="400" cellspacing="0" class="previewtable">
<tr>
<td class="gdsr-preview-trends" style="background-color: black;"><img src="#" id="gdsr_preview_trends_black" /></td>
<td class="gdsr-preview-space"></td>
<td class="gdsr-preview-trends" style="background-color: red;"><img src="#" id="gdsr_preview_trends_red" /></td>
<td class="gdsr-preview-space"></td>
<td class="gdsr-preview-trends" style="background-color: green;"><img src="#" id="gdsr_preview_trends_green" /></td>
<td class="gdsr-preview-space"></td>
<td class="gdsr-preview-trends" style="background-color: white;"><img src="#" id="gdsr_preview_trends_white" /></td>
<td class="gdsr-preview-space"></td>
示例6: _e
<td align="right"><?php
GDSRHelper::render_star_sizes($this->get_field_name('rating_size'), $instance['rating_size'], 200);
?>
</td>
</tr>
<tr>
<td width="100" valign="top"></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('review_stars');
?>
"><?php
GDSRHelper::render_styles_select($wpst, $instance['review_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('review_size'), $instance['review_size'], 200);
?>
</td>
</tr>
</table>
示例7: _e
?>
<br />
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150" height="25"><?php
_e("Select multi set", "gd-star-rating");
?>
:</td>
<td height="25">
<select name="gdsr_mulitrecalc_set" style="width: 200px">
<option value="0"><?php
_e("All Sets", "gd-star-rating");
?>
</option>
<?php
GDSRHelper::render_styles_select($gdsr_multis);
?>
</select>
</td>
</tr>
</table>
<input type="submit" class="inputbutton" value="<?php
_e("Recalculate", "gd-star-rating");
?>
" name="gdsr_mulitrecalc_tool" id="gdsr_mulitrecalc_tool" />
<div class="gdsr-table-split"></div>
<?php
_e("Depending on the number of posts, this operation can take a while to complete. Be patient.", "gd-star-rating");
?>
</form>
</td>
示例8: _e
?>
/><label style="margin-left: 5px;" for="gdsr_rss"><?php
_e("Add ratings to posts in RSS feeds.", "gd-star-rating");
?>
</label>
<div class="gdsr-table-split"></div>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150"><?php
_e("Stars", "gd-star-rating");
?>
:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_rss_style" id="gdsr_rss_style">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["rss_style"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_star_sizes("gdsr_rss_size", $gdsr_options["rss_size"]);
?>
</td>
</tr>
</table>
<div class="gdsr-table-split"></div>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150"><?php
示例9: _e
}
?>
</select></label>
</td>
</tr>
</table>
<div id="gdsr-src-multi[<?php
echo $wpnm;
?>
]" style="display: <?php
echo $wpno['source'] == 'multis' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="140" nowrap="nowrap"><?php
_e("Multi Set", "gd-star-rating");
?>
:</td>
<td align="right"><select name="<?php
echo $wpfn;
?>
[source_set]" style="width: 200px"><?php
GDSRHelper::render_styles_select($wpml, $wpno['source_set']);
?>
</select></td>
</tr>
</table>
</div>
<div class="gdsr-table-split"></div>
示例10:
?>
:</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>
<tr>
<td width="150">MSIE 6:</td>
<td width="200" align="left" colspan="6">
<select style="width: 180px;" name="gdsr_review_style_ie6" id="gdsr_review_style_ie6">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["review_style_ie6"]);
?>
</select>
</td>
</tr>
</table>
<div class="gdsr-table-split"></div>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150"><?php
_e("Rating header", "gd-star-rating");
?>
:</td>
<td width="200">
<input type="text" name="gdsr_review_header_text" id="gdsr_review_header_text" value="<?php
echo wp_specialchars($gdsr_options["review_header_text"]);
示例11: _e
:</td>
<td width="40" class="gdsrright"><input class="widefat" style="width: 35px" type="text" name="trendVotingFall" id="trendVotingFall" value="-" /></td>
</tr>
</table>
</div>
<div id="gdsr-tv-img[tinymce]" style="display: none">
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td class="gdsrleft"><?php
_e("Image set", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<select name="trendVotingSet" id="trendVotingSet">
<?php
GDSRHelper::render_styles_select($gdsr_trends);
?>
</select>
</td>
</tr>
</table>
</div>
</fieldset>
<fieldset>
<legend><?php
_e("Hiding", "gd-star-rating");
?>
</legend>
<input type="checkbox" size="5" id="srHidemptyBayes" name="srHidemptyBayes" value="on" /><label for="srHidemptyBayes"> <?php
示例12: wp_specialchars
</td>
<td width="10"></td>
<td width="150" align="left">
<?php
GDSRHelper::render_thumbs_sizes("gdsr_thumb_cmm_size", $gdsr_options["thumb_cmm_size"]);
?>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150">MSIE 6:</td>
<td width="200" align="left">
<select style="width: 180px;" name="gdsr_thumb_cmm_style_ie6" id="gdsr_thumb_cmm_style_ie6">
<?php
GDSRHelper::render_styles_select($gdsr_gfx->thumbs, $gdsr_options["thumb_cmm_style_ie6"]);
?>
</select>
</td>
<td width="10"></td>
<td width="150"><?php
_e("Rating header", "gd-star-rating");
?>
:</td>
<td><input type="text" name="gdsr_thumb_cmm_header_text" id="gdsr_thumb_cmm_header_text" value="<?php
echo wp_specialchars($gdsr_options["thumb_cmm_header_text"]);
?>
" style="width: 170px" /></td>
</tr>
</table>
<div class="gdsr-table-split"></div>
示例13: _e
</td>
</tr>
</table>
<div id="<?php
echo $this->get_field_id('source');
?>
-multis" style="display: <?php
echo $instance['source'] == 'multis' ? 'block' : 'none';
?>
">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="140" nowrap="nowrap"><?php
_e("Multi Set", "gd-star-rating");
?>
:</td>
<td align="right"><select name="<?php
echo $this->get_field_name('source_set');
?>
" id="<?php
echo $this->get_field_id('source_set');
?>
" style="width: 200px"><?php
GDSRHelper::render_styles_select($wpml, $instance['source_set']);
?>
</select></td>
</tr>
</table>
</div>
<div class="gdsr-table-split"></div>
示例14: _e
<fieldset>
<legend><?php
_e("Rating Stars", "gd-star-rating");
?>
</legend>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td class="gdsrleft"><?php
_e("Set", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<select id="srRTGStarsStyle" name="srRTGStarsStyle">
<?php
GDSRHelper::render_styles_select($gdsr_styles, 'oxygen');
?>
</select>
</td>
</tr>
<tr>
<td class="gdsrleft"><?php
_e("Size", "gd-star-rating");
?>
:</td>
<td class="gdsrright">
<label><?php
GDSRHelper::render_star_sizes_tinymce("srRTGStarsSize");
?>
</label>
</td>
示例15: _e
<td style="width: 80px; height: 29px;">
<span class="paneltext"><?php
_e("Multi Set", "gd-star-rating");
?>
:</span>
</td>
<td style="width: 230px; height: 29px;" align="right">
<select id="gdsr_integration_mur" name="gdsr_integration_mur" style="width: 210px">
<option value="">/</option>
<option value="0"><?php
_e("Inherit from Category", "gd-star-rating");
?>
</option>
<option value="">------------------------</option>
<?php
GDSRHelper::render_styles_select(GDSRDBMulti::get_multis_tinymce(), 0);
?>
</select>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<td style="width: 10px;"></td>
<td class="gdsr-vertical-line">
<input class="inputbutton" type="submit" name="gdsr_update" value="<?php
_e("Update", "gd-star-rating");
?>