コード例 #1
0
_e("Aggregated Comments Ratings", "gd-star-rating");
?>
</legend>
<p><?php 
_e("This will render aggregated comments rating for the post.", "gd-star-rating");
?>
</p>
</fieldset>

<fieldset>
<legend><?php 
_e("Template", "gd-star-rating");
?>
</legend>
    <?php 
gdTemplateHelper::render_templates_section("CAR", "srTemplateCAR", 0, 300);
?>
</fieldset>

<fieldset>
<legend><?php 
_e("Filter", "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"><select name="srCagShow" id="srCagShow" style="width: 130px">
コード例 #2
0
_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 
gdTemplateHelper::render_templates_section("SRB", "srRatingBlockTemplate", 0, 300);
?>
</fieldset>

<fieldset>
<legend><?php 
_e("Settings", "gd-star-rating");
?>
</legend>
    <input type="checkbox" size="5" id="srArticleRead" name="srArticleRead" /><label for="srArticleRead"> <?php 
_e("Display rating block as read only.", "gd-star-rating");
?>
</label><br />
</fieldset>

<fieldset>
コード例 #3
0
        </table>
     </td>
</tr>
<tr><th scope="row"><?php 
_e("Defaults", "gd-star-rating");
?>
</th>
    <td>
        <table cellpadding="0" cellspacing="0" class="previewtable">
            <tr>
                <td width="150"><?php 
_e("Rating Template", "gd-star-rating");
?>
:</td>
                <td align="left"><?php 
gdTemplateHelper::render_templates_section("TCB", "gdsr_default_tcb_template", $gdsr_options["default_tcb_template"], 350);
?>
</td>
            </tr>
            <tr>
                <td width="150"><?php 
_e("Animation indicator", "gd-star-rating");
?>
:</td>
                <td align="left"><?php 
GDSRHelper::render_loaders("gdsr_wait_loader_cmmthumb", $gdsr_options["wait_loader_cmmthumb"], 'jqloadercmmthumb', 180, '', true);
?>
</td>
            </tr>
        </table>
     </td>
コード例 #4
0
ファイル: thumbsrating.php プロジェクト: blogfor/king
_e("Thumbs 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 
gdTemplateHelper::render_templates_section("TAB", "srThumbsTemplate", 0, 300);
?>

</fieldset>

<fieldset>
<legend><?php 
_e("Settings", "gd-star-rating");
?>
</legend>
    <input type="checkbox" size="5" id="srThumbsRead" name="srThumbsRead" /><label for="srThumbsRead"> <?php 
_e("Display rating block as read only.", "gd-star-rating");
?>
</label><br />
</fieldset>
コード例 #5
0
            <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>';
    gdTemplateHelper::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">
コード例 #6
0
<fieldset>
<legend><?php 
_e("Template", "gd-star-rating");
?>
</legend>
    <?php 
gdTemplateHelper::render_templates_section("MRB", "srTemplateMRB", 0, 300);
?>
</fieldset>

<fieldset>
<legend><?php 
_e("Multi Ratings", "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="srMultiRatingSet" name="srMultiRatingSet" style="width: 200px">
                <?php 
GDSRHelper::render_styles_select($gdst_multis, 1);
?>
            </select>
        </td>
      </tr>
    </table>
</fieldset>
コード例 #7
0
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 
gdTemplateHelper::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"' : '';
コード例 #8
0
<input type="submit" class="inputbutton" value="<?php 
    _e("Save Template", "gd-star-rating");
    ?>
" name="gdsr_saving"/>
</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>';
            gdTemplateHelper::render_templates_section($section, "tpl_tpl[" . $section . "]", $dependencies[$section]);
            echo '</div>';
        }
        echo '</div>';
    }
    ?>
</td>
</tr></table>
</div>
</form>

<?php 
}
?>

</div>
コード例 #9
0
echo $this->get_field_id('title');
?>
" value="<?php 
echo $instance["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 
gdTemplateHelper::render_templates_section("WSR", $this->get_field_name('template_id'), $instance["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 $this->get_field_name('dispaly');
?>
" id="<?php 
echo $this->get_field_id('display');
?>