<?php 
        GDSRHelper::render_moderation_combo("gdsr_comments_moderation_recc", "/", 120, "", true);
        ?>
                            </td><td style="width: 10px"></td>
                            <?php 
    }
    ?>
                            <td style="width: 80px; height: 29px;">
                                <span class="paneltext"><?php 
    _e("Vote Rules", "gd-star-rating");
    ?>
:</span>
                            </td>
                            <td style="width: 140px; height: 29px;" align="right">
                            <?php 
    GDSRHelper::render_rules_combo("gdsr_comments_voterules_recc", "/", 120, "", true);
    ?>
                            </td>
                        </tr>
                        </table>
                    </div>
                </td>
            </tr>
            <?php 
}
?>
            <tr><td colspan="2" class="opt-td-divider"></td></tr>
            <tr>
                <td class="opt-td-control">
                    <h4><a href="javascript:gdsrOptionsSection('cin')" id="opt-control-cin" class="gdsr-bulleter-basic"><?php 
_e("Comments Integration", "gd-star-rating");
Esempio n. 2
0
    <div class="gdsr-table-split-edit"></div>
    <h4 class="gdsr-section-title"><?php 
    _e("Comments 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");
    ?>
:</label></td>
    <td align="right" style="height: 25px;" valign="baseline">
    <?php 
    GDSRHelper::render_rules_combo("gdsr_cmm_vote_articles", $cmm_vote_rules, 110);
    ?>
    </td>
    <?php 
    if ($gdsr_options["moderation_active"] == 1) {
        ?>
    </tr><tr>
    <td style="height: 25px;"><label style="font-size: 12px;"><?php 
        _e("Moderate", "gd-star-rating");
        ?>
:</label></td>
    <td align="right" style="height: 25px;" valign="baseline">
    <?php 
        GDSRHelper::render_moderation_combo("gdsr_cmm_mod_articles", $cmm_moderation_rules, 110);
        ?>
    </td>
     </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("Vote rule", "gd-star-rating");
?>
:</td>
                <td width="200" align="left">
                <?php 
GDSRHelper::render_rules_combo("gdsr_recc_default_vote_comments", $gdsr_options["recc_default_voterules_comments"]);
?>
                </td>
                <td width="10"></td>
            <?php 
if ($gdsr_options["moderation_active"] == 1) {
    ?>
                <td width="150"><?php 
    _e("Moderation rule", "gd-star-rating");
    ?>
:</td>
                <td width="200" align="left">
                <?php 
    GDSRHelper::render_moderation_combo("gdsr_recc_default_mod_comments", $gdsr_options["recc_default_moderation_comments"]);
    ?>
                </td>
    </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("Vote rule", "gd-star-rating");
?>
:</td>
                <td width="200" align="left">
                <?php 
GDSRHelper::render_rules_combo("gdsr_default_vote_articles", $gdsr_options["default_voterules_articles"]);
?>
                </td>
                <td width="10"></td>
            <?php 
if ($gdsr_options["moderation_active"] == 1) {
    ?>
                <td width="150"><?php 
    _e("Moderation rule", "gd-star-rating");
    ?>
:</td>
                <td width="200" align="left">
                <?php 
    GDSRHelper::render_moderation_combo("gdsr_default_mod_articles", $gdsr_options["default_moderation_articles"]);
    ?>
                </td>
                <?php 
    GDSRHelper::render_moderation_combo("gdsr_cmmthumbs_moderation", "/", 120, "", true);
    ?>
                </td><td style="width: 10px"></td>
                <?php 
}
?>
                <td style="width: 80px; height: 25px;">
                    <span class="paneltext"><?php 
_e("Vote Rules", "gd-star-rating");
?>
:</span>
                </td>
                <td style="width: 140px; height: 25px;" align="right">
                <?php 
GDSRHelper::render_rules_combo("gdsr_cmmthumbs_voterules", "/", 120, "", true);
?>
                </td>
            </tr>
        </table>
        <input type="submit" class="inputbutton" value="<?php 
_e("Set", "gd-star-rating");
?>
" name="gdsr_rules_set" id="gdsr_rules_set" />
        <div class="gdsr-table-split"></div>
        <?php 
_e("This will update all posts and comments with previously saved ratings.", "gd-star-rating");
?>
        </form>
    </td>
</tr>