本文整理汇总了PHP中GDSRHelper::render_templates_section方法的典型用法代码示例。如果您正苦于以下问题:PHP GDSRHelper::render_templates_section方法的具体用法?PHP GDSRHelper::render_templates_section怎么用?PHP GDSRHelper::render_templates_section使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GDSRHelper
的用法示例。
在下文中一共展示了GDSRHelper::render_templates_section方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _e
echo $wpfn;
?>
[title]" id="gdstarr-title" value="<?php
echo $wpno["title"];
?>
" /></td>
</tr>
</table>
<table border="0" cellpadding="2" cellspacing="0" width="100%">
<tr>
<td width="140" nowrap="nowrap"><?php
_e("Template", "gd-star-rating");
?>
:</td>
<td align="right"><?php
GDSRHelper::render_templates_section("WBR", $wpfn . "[template_id]", $wpno["template_id"], 260);
?>
</td>
</tr>
<tr>
<td width="140" nowrap="nowrap"><?php
_e("Show Widget To", "gd-star-rating");
?>
:</td>
<td align="right">
<label><select name="<?php
echo $wpfn;
?>
[display]" id="gdstarr-display" style="width: 110px">
<option value="all"<?php
echo $wpno['display'] == 'all' ? ' selected="selected"' : '';
示例2: wp_specialchars
<input type="text" name="gdsr_classstars" value="<?php
echo wp_specialchars($gdsr_options["srb_class_stars"]);
?>
" style="width: 170px" />
</td>
</tr>
</table>
<div class="gdsr-table-split"></div>
<table cellpadding="0" cellspacing="0" class="previewtable">
<tr>
<td width="150"><?php
_e("Rating Template", "gd-star-rating");
?>
:</td>
<td align="left"><?php
GDSRHelper::render_templates_section("SRB", "gdsr_default_srb_template", $gdsr_options["default_srb_template"], 350);
?>
</td>
</tr>
</table>
</td>
</tr>
<tr><th scope="row"><?php
_e("Restrict", "gd-star-rating");
?>
</th>
<td>
<input type="checkbox" name="gdsr_authorvote" id="gdsr_authorvote"<?php
if ($gdsr_options["author_vote"] == 1) {
echo " checked";
}
示例3: _e
<div id="commentsaggr_panel" class="panel">
<fieldset>
<legend><?php
_e("Template", "gd-star-rating");
?>
</legend>
<?php
GDSRHelper::render_templates_section("CAR", "srTemplateCAR", 0, 300);
?>
</fieldset>
<fieldset>
<legend><?php
_e("Aggregated Comments Ratings", "gd-star-rating");
?>
</legend>
<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
<td class="gdsrleft"><?php
_e("Calculate Votes From", "gd-star-rating");
?>
:</td>
<td class="gdsrright"><label><select name="srCagShow" id="srCagShow" style="width: 130px">
<option value="total"><?php
_e("Everyone", "gd-star-rating");
?>
</option>
<option value="visitors"><?php
_e("Visitors Only", "gd-star-rating");
?>
</option>
示例4: _e
?>
</legend>
<?php
GDSRHelper::render_templates_section("RSB", "srTemplateRSB", 0, 300);
?>
</fieldset>
</div>
<div id="articlesrater_panel" class="panel">
<fieldset>
<legend><?php
_e("Articles Rating Block", "gd-star-rating");
?>
</legend>
<p><?php
_e("StarRater will render actual rating block if you choose not to have it automatically inserted. This way you can position it wherever you want in the contnents.", "gd-star-rating");
?>
</p>
</fieldset>
<fieldset>
<legend><?php
_e("Template", "gd-star-rating");
?>
</legend>
<?php
GDSRHelper::render_templates_section("SRB", "srRatingBlockTemplate", 0, 300);
?>
</fieldset>
</div>
示例5: _e
?>
</td>
</tr>
</tbody></table>
<p class="submit"><input type="submit" value="<?php
_e("Save Template", "gd-star-rating");
?>
" name="gdsr_saving"/></p>
</td><td class="tpl-editor-list-td">
<?php
foreach ($template->elements as $el) {
echo '<div class="tpl-element-single">';
echo '<p class="tpl-element-tag">' . $el->tag . '</p>';
echo '<p class="tpl-element-desc">' . $el->description . '</p>';
if ($el->tpl > -1) {
echo '<div class="tpl-element-single-select"><p>';
_e("Select template to use for this element:", "gd-star-rating");
$section = $template->tpls[$el->tpl]->code;
echo '</p>';
GDSRHelper::render_templates_section($section, "tpl_tpl[" . $section . "]", $dependencies[$section]);
echo '</div>';
}
echo '</div>';
}
?>
</td>
</tr></table>
</div>
</form>
</div>
示例6: _e
<th scope="col" style="text-align: right"><?php
_e("Options", "gd-star-rating");
?>
</th>
</tr>
</thead>
<tbody>
<?php
$tr_class = "";
foreach ($tpls->tpls as $t) {
echo '<tr id="post-' . $t->code . '" class="' . $tr_class . ' author-self status-publish" valign="top">';
echo '<td>' . $t->code . '</td>';
echo '<td><strong>' . $t->section . '</strong></td>';
echo '<td>';
GDSRHelper::render_templates_section($t->code, "gdsr_section[" . $t->code . "]", 0, 350);
echo '</td>';
echo '<td></td>';
echo '</tr>';
if ($tr_class == "") {
$tr_class = "alternate ";
} else {
$tr_class = "";
}
}
?>
</tbody>
</table>
<br class="clear"/>
<div class="tablenav">
示例7: _e
?>
</label>
</td>
</tr>
</table>
</fieldset>
</div>
<div id="multisreview_panel" class="panel">
<fieldset>
<legend><?php
_e("Template", "gd-star-rating");
?>
</legend>
<?php
GDSRHelper::render_templates_section("RMB", "srTemplateRMB", 0, 300);
?>
</fieldset>
<fieldset>
<legend><?php
_e("Multi Reviews", "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">