Example #1
0
<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");
?>
    <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>
                <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 
</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>
</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>
Example #6
0
    <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>
Example #7
0
?>
<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>
?>
-tv-img" style="display: <?php 
echo $instance['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 $this->get_field_name('trends_voting_set');
?>
" id="<?php 
echo $this->get_field_id('trends_voting_set');
?>
">
                <?php 
GDSRHelper::render_styles_select($wptr, $instance["trends_voting_set"]);
?>
            </select>
        </td>
      </tr>
    </table>
</div>
</div>
<div class="gdsr-table-split"></div>
    <td align="right"><?php 
GDSRHelper::render_star_sizes($wpfn . "[review_size]", $wpno['review_size'], 200);
?>
</td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Thumbs Set", "gd-star-rating");
?>
:</td>
    <td align="right"><select style="width: 200px" name="<?php 
echo $wpfn;
?>
[rating_thumb]"><?php 
GDSRHelper::render_styles_select($wptt, $wpno['rating_thumb']);
?>
</select></td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Thumbs Size", "gd-star-rating");
?>
:</td>
    <td align="right"><?php 
GDSRHelper::render_thumbs_sizes($wpfn . "[rating_thumb_size]", $wpno['rating_thumb_size'], 200);
?>
</td>
  </tr>
</table>
?>
 /><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 
Example #11
0
}
?>
        </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>
Example #12
0
    <td align="right"><?php 
GDSRHelper::render_star_sizes($wpfn . "[rating_size]", $wpno['rating_size'], 200);
?>
</td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Review Set", "gd-star-rating");
?>
:</td>
    <td align="right"><select style="width: 200px" name="<?php 
echo $wpfn;
?>
[review_stars]"><?php 
GDSRHelper::render_styles_select($wpst, $wpno['review_stars']);
?>
</select></td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Review Size", "gd-star-rating");
?>
:</td>
    <td align="right"><?php 
GDSRHelper::render_star_sizes($wpfn . "[review_size]", $wpno['review_size'], 200);
?>
</td>
  </tr>
</table>
    <td align="right"><?php 
GDSRHelper::render_star_sizes($this->get_field_name('review_size'), $instance['review_size'], 200);
?>
</td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Thumbs Set", "gd-star-rating");
?>
:</td>
    <td align="right"><select style="width: 200px" name="<?php 
echo $this->get_field_name('rating_thumb');
?>
"><?php 
GDSRHelper::render_styles_select($wptt, $instance['rating_thumb']);
?>
</select></td>
  </tr>
  <tr>
    <td width="100" valign="top"></td>
    <td width="100" nowrap="nowrap"><?php 
_e("Thumbs Size", "gd-star-rating");
?>
:</td>
    <td align="right"><?php 
GDSRHelper::render_thumbs_sizes($this->get_field_name('rating_thumb_size'), $instance['rating_thumb_size'], 200);
?>
</td>
  </tr>
</table>
    ?>
:</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"]);
Example #15
0
:</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 
                </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>
    </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>
<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>
    <td width="100" valign="top"><strong><a style="text-decoration: none" href="javascript:gdsrShowHidePreview('gdstarr-divstars', '<?php 
echo $wpnm;
?>
')"><?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 $wpfn;
?>
[rating_stars]"><?php 
GDSRHelper::render_styles_select($wpst, $wpno['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($wpfn . "[rating_size]", $wpno['rating_size'], 200);
?>
</td>
  </tr>
</table>
                            <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");
?>
Example #21
0
    ?>
    <div class="gdsr-mur-sets-background">
    <input type="hidden" name="gdsrmultiactive" value="<?php 
    echo $multi_id;
    ?>
" />
    <table border="0" cellpadding="2" cellspacing="0" width="100%">
      <tr>
        <td style="padding-top: 3px;"><?php 
    _e("Set", "gd-star-rating");
    ?>
:</td>
        <td>
            <label><select id="srMultiRatingSet" name="gdsrmultiset" style="width: 222px">
                <?php 
    GDSRHelper::render_styles_select($gdsr_multis, $multi_id);
    ?>
            </select></label>
        </td>
        <td>
            <?php 
    _e("To change the active set, you need to select the set you want from the list on the left, and save this article to accept the change.", "gd-star-rating");
    echo " ";
    _e("All values for all sets will be saved in the database. This allows different multi rating sets reviews.", "gd-star-rating");
    ?>
        </td>
      </tr>
    </table>
    </div>
<?php 
    echo '<table width="100%" cellspacing="0" cellpadding="0"><tr><td width="35%" class="gdsr-mur-review-info">';