GDSRHelper::render_rules_combo("gdsr_article_voterules_recc", "/", 120, "", true);
?>
                            </td>
                        </tr>
                        </table>
                        <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 80px; height: 29px;">
                                <span class="paneltext"><?php 
_e("Restriction", "gd-star-rating");
?>
:</span>
                            </td>
                            <td style="width: 140px; height: 29px;" align="right">
                            <?php 
GDSRHelper::render_timer_combo("gdsr_timer_type_recc", '/', 120, '', true, 'gdsrTimerChange(\'_recc\')');
?>
                            </td>
                            <td style="width: 10px"></td>
                            <td style="width: 80px; height: 29px;">
                                <div id="gdsr_timer_countdown_text_recc" style="display: none"><span class="paneltext"><?php 
_e("Countdown", "gd-star-rating");
?>
:</span></div>
                                <div id="gdsr_timer_date_text_recc" style="display: none"><span class="paneltext"><?php 
_e("Date", "gd-star-rating");
?>
:</span></div>
                            </td>
                            <td style="width: 140px; height: 29px;" align="right">
                                <div id="gdsr_timer_countdown_recc" style="display: none"><input class="regular-text" type="text" value="<?php 
Example #2
0
                <?php 
GDSRHelper::render_rules_combo("gdsr_article_voterules", "/", 120, "", true, true, true);
?>
                </td>
            </tr>
            <tr>
                <td style="width: 120px; height: 29px;"></td>
                <td style="width: 80px; height: 29px;">
                    <span class="paneltext"><?php 
_e("Restriction", "gd-star-rating");
?>
:</span>
                </td>
                <td style="width: 140px; height: 29px;" align="right">
                <?php 
GDSRHelper::render_timer_combo("gdsr_timer_type", 'N', 120, '', true, 'gdsrTimerChange()', true, true);
?>
                </td><td style="width: 10px"></td>
                <td style="width: 80px; height: 29px;">
                    <div id="gdsr_timer_countdown_text" style="display: none"><span class="paneltext"><?php 
_e("Countdown", "gd-star-rating");
?>
:</span></div>
                    <div id="gdsr_timer_date_text" style="display: none"><span class="paneltext"><?php 
_e("Date", "gd-star-rating");
?>
:</span></div>
                </td>
                <td style="width: 140px; height: 29px;" align="right">
                    <div id="gdsr_timer_countdown" style="display: none"><input class="regular-text" type="text" value="<?php 
echo '';
Example #3
0
    <div class="gdsr-table-split-edit"></div>
    <h4 class="gdsr-section-title"><?php 
    _e("Time Restriction", "gd-star-rating");
    ?>
:</h4>
    <table width="<?php 
    echo $box_width;
    ?>
"><tr>
    <td style="height: 25px;"><label style="font-size: 12px;" for="gdsr_review"><?php 
    _e("Restriction", "gd-star-rating");
    ?>
:</label></td>
    <td align="right" style="height: 25px;" valign="baseline">
    <?php 
    GDSRHelper::render_timer_combo("gdsr_timer_type", $timer_restrictions, 110, '', false, 'gdsrTimerChange()');
    ?>
    </td>
    </tr></table>
    <div id="gdsr_timer_date" style="display: <?php 
    echo $timer_restrictions == "D" ? "block" : "none";
    ?>
">
        <table width="<?php 
    echo $box_width;
    ?>
"><tr>
        <td style="height: 25px;"><label style="font-size: 12px;" for="gdsr_review"><?php 
    _e("Date", "gd-star-rating");
    ?>
:</label></td>
}
?>
            </tr>
        </table>
        <?php 
if ($gdsr_options["timer_active"] == 1) {
    ?>
        <table cellpadding="0" cellspacing="0" class="previewtable">
            <tr>
                <td width="150"><?php 
    _e("Time restriction", "gd-star-rating");
    ?>
:</td>
                <td width="200" align="left">
                <?php 
    GDSRHelper::render_timer_combo("gdsr_default_timer_type", $gdsr_options["default_timer_type"]);
    ?>
                </td>
                <td width="10"></td>
                <td width="150"><?php 
    _e("Countdown value", "gd-star-rating");
    ?>
:</td>
                <td width="200" align="left">
                <input type="text" value="<?php 
    echo $gdsr_options["default_timer_countdown_value"];
    ?>
" id="gdsr_default_timer_countdown_value" name="gdsr_default_timer_countdown_value" style="width: 80px; text-align: right;" />
                <?php 
    GDSRHelper::render_countdown_combo("gdsr_default_timer_countdown_type", $gdsr_options["default_timer_countdown_type"], 85);
    ?>
Example #5
0
                </td>
            </tr>
            </table>
            <table cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 120px; height: 29px;">
                </td>
                <td style="width: 80px; height: 29px;">
                    <span class="paneltext"><?php 
_e("Restriction", "gd-star-rating");
?>
:</span>
                </td>
                <td style="width: 140px; height: 29px;" align="right">
                <?php 
GDSRHelper::render_timer_combo("gdsr_timer_type", $timer_restrictions, 120, '', true, 'gdsrTimerChange()', true);
?>
                </td><td style="width: 10px"></td>
                <td style="width: 80px; height: 29px;">
                    <div id="gdsr_timer_countdown_text" style="display: none"><span class="paneltext"><?php 
_e("Countdown", "gd-star-rating");
?>
:</span></div>
                    <div id="gdsr_timer_date_text" style="display: none"><span class="paneltext"><?php 
_e("Date", "gd-star-rating");
?>
:</span></div>
                </td>
                <td style="width: 140px; height: 29px;" align="right">
                    <div id="gdsr_timer_countdown" style="display: none"><input type="text" value="<?php 
echo $countdown_value;
Example #6
0
}
?>
    </tr>
</table>
<?php 
if ($gdsr_options["timer_active"] == 1) {
    ?>
<table width="260">
    <tr>
        <td style="height: 25px;"><label style="font-size: 12px;"><?php 
    _e("Restriction", "gd-star-rating");
    ?>
:</label></td>
        <td align="right" style="height: 25px;" valign="baseline">
        <?php 
    GDSRHelper::render_timer_combo("gdsr_timer_type_recc", $recc_timer_restrictions, 110, '', false, 'gdsrTimerChange(\'_recc\')');
    ?>
        </td>
    </tr>
</table>
<div id="gdsr_timer_date_recc" style="display: <?php 
    echo $recc_timer_restrictions == "D" ? "block" : "none";
    ?>
">
    <table width="260">
        <tr>
            <td style="height: 25px;"><label style="font-size: 12px;"><?php 
    _e("Date", "gd-star-rating");
    ?>
:</label></td>
            <td align="right" style="height: 25px;" valign="baseline">