當前位置: 首頁>>代碼示例>>PHP>>正文


PHP GDSRHelper::render_star_sizes方法代碼示例

本文整理匯總了PHP中GDSRHelper::render_star_sizes方法的典型用法代碼示例。如果您正苦於以下問題:PHP GDSRHelper::render_star_sizes方法的具體用法?PHP GDSRHelper::render_star_sizes怎麽用?PHP GDSRHelper::render_star_sizes使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在GDSRHelper的用法示例。


在下文中一共展示了GDSRHelper::render_star_sizes方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: render_star_sizes_tinymce

 function render_star_sizes_tinymce($name, $selected = "20", $width = 130)
 {
     GDSRHelper::render_star_sizes($name, $selected, $width);
 }
開發者ID:sangpena,項目名稱:appflex.mobi,代碼行數:4,代碼來源:elements.php

示例2: _e

                            <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>
開發者ID:pyropictures,項目名稱:wordpress-plugins,代碼行數:31,代碼來源:gfx_preview.php

示例3: _e

            <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>
開發者ID:alvaropereyra,項目名稱:shrekcms,代碼行數:31,代碼來源:settings_articles.php

示例4: _e

')"><?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>
開發者ID:pyropictures,項目名稱:wordpress-plugins,代碼行數:30,代碼來源:part_stars.php

示例5: _e

            <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");
開發者ID:pyropictures,項目名稱:wordpress-plugins,代碼行數:31,代碼來源:settings_multis.php


注:本文中的GDSRHelper::render_star_sizes方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。