コード例 #1
0
ファイル: elements.php プロジェクト: sangpena/appflex.mobi
 function render_star_sizes_tinymce($name, $selected = "20", $width = 130)
 {
     GDSRHelper::render_star_sizes($name, $selected, $width);
 }
コード例 #2
0
                            <td class="gdsr-preview-space"></td>
                            <td class="gdsr-preview" style="background-color: gray;"><img src="#" id="gdsr_preview_gray" /></td>
                            <td class="gdsr-preview-space" ></td>
                            <td class="gdsr-preview gdsr-preview-pic"><img src="#" id="gdsr_preview_picture" /></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr valign="top">
                <td width="100" style="padding: 0; border: 0; height: 28px; vertical-align: top;"><?php 
_e("Size", "gd-star-rating");
?>
:</td>
                <td width="250" align="left" style="padding: 0; border: 0; vertical-align: top; text-align: right;">
                    <?php 
GDSRHelper::render_star_sizes("gdsr_size_preview", 30, 180, ' onchange="gdsrStyleSelection(\'stars\')"');
?>
                </td>
            </tr>
            <tr valign="top">
                <td width="100" style="padding: 0; border: 0; vertical-align: top;"><?php 
_e("Author", "gd-star-rating");
?>
:</td>
                <td width="250" align="left" style="padding: 0; border: 0; vertical-align: top;">
                    <div id="gdsrauthorname" style="text-align: right;"></div>
                    <div id="gdsrauthoremail" style="text-align: right;"></div>
                    <div id="gdsrauthorurl" style="text-align: right;"></div>
                </td>
            </tr>
        </table>
コード例 #3
0
            <tr>
                <td width="150"><?php 
    _e("Stars", "gd-star-rating");
    ?>
:</td>
                <td width="200" align="left">
                <select style="width: 180px;" name="gdsr_review_style" id="gdsr_review_style">
                <?php 
    GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["review_style"]);
    ?>
                </select>
                </td>
                <td width="10"></td>
                <td width="150" align="left">
                <?php 
    GDSRHelper::render_star_sizes("gdsr_review_size", $gdsr_options["review_size"]);
    ?>
                </td>
                <td width="10"></td>
                <td width="100"><?php 
    _e("Number of stars", "gd-star-rating");
    ?>
:</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>
コード例 #4
0
')"><?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>
</div>
<div class="gdsr-table-split"></div>
コード例 #5
0
')"><?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>
</div>
<div class="gdsr-table-split"></div>
コード例 #6
0
            <tr>
                <td width="150"><?php 
_e("Stars", "gd-star-rating");
?>
:</td>
                <td width="200" align="left">
                <select style="width: 180px;" name="gdsr_mur_style" id="gdsr_mur_style">
                <?php 
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["mur_style"]);
?>
                </select>
                </td>
                <td width="10"></td>
                <td width="150" align="left">
                <?php 
GDSRHelper::render_star_sizes("gdsr_mur_size", $gdsr_options["mur_size"]);
?>
                </td>
            </tr>
            <tr>
                <td width="150">MSIE 6:</td>
                <td width="200" align="left">
                <select style="width: 180px;" name="gdsr_mur_style_ie6" id="gdsr_mur_style_ie6">
                <?php 
GDSRHelper::render_styles_select($gdsr_gfx->stars, $gdsr_options["mur_style_ie6"]);
?>
                </select>
                </td>
                <td width="10"></td>
                <td width="150"><?php 
_e("Rating header", "gd-star-rating");
コード例 #7
0
    <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>
  <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']);
?>