当前位置: 首页>>代码示例>>PHP>>正文


PHP bws_plugin_reviews_block函数代码示例

本文整理汇总了PHP中bws_plugin_reviews_block函数的典型用法代码示例。如果您正苦于以下问题:PHP bws_plugin_reviews_block函数的具体用法?PHP bws_plugin_reviews_block怎么用?PHP bws_plugin_reviews_block使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了bws_plugin_reviews_block函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: prflxtrflds_settings_page


//.........这里部分代码省略.........
                        ?>
</option>
											<option value="DESC" <?php 
                        selected($prflxtrflds_options['sort_sequence'], 'DESC');
                        ?>
><?php 
                        _e('DESC', 'profile-extra-fields');
                        ?>
</option>
										</select>
									</td>
								</tr>
								<tr>
									<th><?php 
                        _e('Show empty fields', 'profile-extra-fields');
                        ?>
</th>
									<td>
										<label>
											<input type="checkbox" name="prflxtrflds_show_empty_columns" value="1" <?php 
                        checked($prflxtrflds_options['show_empty_columns']);
                        ?>
 />
											<?php 
                        _e('Show the field if the value is not filled in by any user', 'profile-extra-fields');
                        ?>
										</label>
									</td>
								</tr>
								<tr>
									<th><?php 
                        _e('Show user ID', 'profile-extra-fields');
                        ?>
</th>
									<td>
										<input type="checkbox" name="prflxtrflds_show_id" value="1" <?php 
                        checked($prflxtrflds_options['show_id']);
                        ?>
 />
									</td>
								</tr>
								<tr>
									<th><?php 
                        _e('Position of the table header', 'profile-extra-fields');
                        ?>
</th>
									<td>
										<select name="prflxtrflds_header_table" >
											<option value="top"<?php 
                        selected($prflxtrflds_options['header_table'], 'top');
                        ?>
><?php 
                        _e('Top', 'profile-extra-fields');
                        ?>
</option>
											<option value="side"<?php 
                        selected($prflxtrflds_options['header_table'], 'side');
                        ?>
><?php 
                        _e('Side', 'profile-extra-fields');
                        ?>
</option>
										</select>
									</td>
								</tr>
							</tbody>
						</table><!--.form-table-->
						<div class="prflxtrflds-wplisttable-container">
							<?php 
                        $prflxtrflds_shortcodelist_table = new Srrlxtrflds_Shortcode_List();
                        /* Wp lis table for shortcode settings */
                        $prflxtrflds_shortcodelist_table->prepare_items();
                        $prflxtrflds_shortcodelist_table->views();
                        $prflxtrflds_shortcodelist_table->display();
                        ?>
						</div><!--.prflxtrflds-wplisttable-container-->
						<p class="submit">
							<input type="hidden" name="prflxtrflds_form_submit" value="submit" />
							<?php 
                        wp_nonce_field($plugin_basename, 'prflxtrflds_nonce_name');
                        ?>
							<input id="bws-submit-button" type="submit" class="button-primary" name="prflxtrflds_save_changes" value="<?php 
                        _e('Save Changes', 'profile-extra-fields');
                        ?>
" />
						</p>
					</form>
					<?php 
                        bws_form_restore_default_settings($plugin_basename);
                    }
                } else {
                    bws_custom_code_tab();
                }
            }
        }
        bws_plugin_reviews_block($prflxtrflds_plugin_info['Name'], 'profile-extra-fields');
        ?>
		</div><!--.wrap-->
	<?php 
    }
开发者ID:bestwebsoft,项目名称:profile-extra-fields-wordpress-plugin,代码行数:101,代码来源:profile-extra-fields.php

示例2: sbscrbr_settings_page


//.........这里部分代码省略.........
</a></span>
										<?php 
                    }
                } else {
                    ?>
										<input disabled="disabled" type="checkbox" name="sbscrbr_display_captcha" value="1" /> <span class="sbscrbr_info">(<?php 
                    _e('powered by', 'subscriber');
                    ?>
 <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/captcha/?k=d045de4664b2e847f2612a815d838e60&pn=122&v=<?php 
                    echo $sbscrbr_plugin_info["Version"];
                    ?>
&wp_v=<?php 
                    echo $wp_version;
                    ?>
"><?php 
                    _e('Download captcha', 'subscriber');
                    ?>
</a></span>
									<?php 
                }
                ?>
								</td>
							</tr>
						</table>
						<div class="bws_pro_version_bloc">
							<div class="bws_pro_version_table_bloc">
								<div class="bws_table_bg"></div>
								<table class="form-table bws_pro_version">
									<tr valign="top">
										<th><?php 
                _e('Add to the subscribe form', 'subscriber');
                ?>
</th>
										<td>
											<label><input type="checkbox" name="sbscrbrpr_form_name_field" disabled value="1" /> <?php 
                _e('"Name" field', 'subscriber');
                ?>
 </label><br/>
											<label><input type="checkbox" name="sbscrbrpr_form_unsubscribe_checkbox" checked disabled value="1" /> <?php 
                _e('"Unsubscribe" checkbox', 'subscriber');
                ?>
 </label><br/>
										</td>
									</tr>
								</table>
							</div>
							<div class="bws_pro_version_tooltip">
								<div class="bws_info">
									<?php 
                _e('Unlock premium options by upgrading to a PRO version.', 'subscriber');
                ?>
									<a href="http://bestwebsoft.com/products/subscriber/?k=d356381b0c3554404e34cdc4fe936455&pn=122&v=<?php 
                echo $sbscrbr_plugin_info["Version"] . '&wp_v=' . $wp_version;
                ?>
" target="_blank" title="Subscriber Pro"><?php 
                _e("Learn More", 'subscriber');
                ?>
</a>
								</div>
								<a class="bws_button" href="http://bestwebsoft.com/products/subscriber/buy/?k=d356381b0c3554404e34cdc4fe936455&pn=122&v=<?php 
                echo $sbscrbr_plugin_info["Version"] . '&wp_v=' . $wp_version;
                ?>
" target="_blank" title="Subscriber Pro">
									<?php 
                _e('Go', 'subscriber');
                ?>
 <strong>PRO</strong>
								</a>
								<div class="clear"></div>
							</div>
						</div>
						<?php 
                if (false == sbscrbr_check_sender_install()) {
                    echo '<p>' . __('If you want to send mailout to the users who have subscribed for newsletters use', 'subscriber') . ' <a href="http://bestwebsoft.com/products/sender/" target="_blank">Sender plugin</a> ' . __('that sends mail to registered users. There is also a premium version of the plugin', 'subscriber') . ' - <a href="http://bestwebsoft.com/products/sender/?k=01665f668edd3310e8c5cf13e9cb5181&pn=122&v=' . $sbscrbr_plugin_info["Version"] . '&wp_v=' . $wp_version . '" target="_blank">Sender Pro</a>, ' . __('allowing to create and save templates for letters, edit the content of messages with a visual editor TinyMce, set priority оf mailing, create and manage mailing lists.', 'subscriber') . '</p>';
                }
                ?>
				
						<input type="hidden" name="sbscrbr_form_submit" value="submit" />
						<p class="submit">
							<input type="submit" id="sbscrbr-submit-button" class="button-primary" value="<?php 
                _e('Save Changes', 'subscriber');
                ?>
" />
						</p>
						<?php 
                wp_nonce_field($plugin_basename, 'sbscrbr_nonce_name');
                ?>
				
					</form>
					<?php 
                bws_form_restore_default_settings($plugin_basename);
            }
        } elseif ('go_pro' == $_GET['action']) {
            bws_go_pro_tab($sbscrbr_plugin_info, $plugin_basename, 'sbscrbr_settings_page', 'sbscrbrpr_settings_page', 'subscriber-pro/subscriber-pro.php', 'subscriber', 'd356381b0c3554404e34cdc4fe936455', '122', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($sbscrbr_plugin_info['Name'], 'subscriber');
        ?>
		</div><!-- .wrap -->
	<?php 
    }
开发者ID:axovel,项目名称:tattoo,代码行数:101,代码来源:subscriber.php

示例3: gglcptch_settings_page


//.........这里部分代码省略.........
							<?php 
        _e('Theme:', 'google_captcha');
        ?>
							<br/><span class="gglcptch_span">(<?php 
        _e('for reCAPTCHA version', 'google_captcha');
        ?>
 1)</span>
						</th>
						<td>
							<select name="gglcptch_theme">
								<?php 
        foreach ($gglcptch_themes as $theme) {
            ?>
									<option value=<?php 
            echo $theme[0];
            if ($theme[0] == $gglcptch_options['theme']) {
                echo ' selected';
            }
            ?>
> <?php 
            echo $theme[1];
            ?>
</option>
								<?php 
        }
        ?>
							</select>
						</td>
					</tr>
					<tr id="gglcptch_theme_v2" valign="top">
						<th scope="row">
							<?php 
        _e('Theme:', 'google_captcha');
        ?>
							<br/><span class="gglcptch_span">(<?php 
        _e('for reCAPTCHA version', 'google_captcha');
        ?>
 2)</span>
						</th>
						<td>
							<select name="gglcptch_theme_v2">
								<option value="light" <?php 
        if ('light' == $gglcptch_options['theme_v2']) {
            echo ' selected';
        }
        ?>
>light</option>
								<option value="dark" <?php 
        if ('dark' == $gglcptch_options['theme_v2']) {
            echo ' selected';
        }
        ?>
>dark</option>
							</select>
						</td>
					</tr>
					<tr id="gglcptch_size_v2" valign="top">
						<th scope="row">
							<?php 
        _e('Size:', 'google_captcha');
        ?>
							<br/><span class="gglcptch_span">(<?php 
        _e('for reCAPTCHA version', 'google_captcha');
        ?>
 2)</span>
						</th>
						<td>
							<select name="gglcptch_size_v2">
								<option value="normal " <?php 
        if ('normal' == $gglcptch_options['size_v2']) {
            echo ' selected';
        }
        ?>
>normal</option>
								<option value="compact" <?php 
        if ('compact' == $gglcptch_options['size_v2']) {
            echo ' selected';
        }
        ?>
>compact</option>
							</select>
						</td>
					</tr>
				</table>
				<p class="submit">
					<input type="submit" class="button-primary" value="<?php 
        _e('Save Changes', 'google_captcha');
        ?>
" name="gglcptch_save_changes" />
				</p>
				<?php 
        wp_nonce_field(plugin_basename(__FILE__), 'gglcptch_nonce_name');
        ?>
			</form>
			<?php 
        bws_plugin_reviews_block($gglcptch_plugin_info['Name'], 'google-captcha');
        ?>
		</div>
	<?php 
    }
开发者ID:BuggeringHell,项目名称:google-captcha-recaptcha-wordpress-plugin,代码行数:101,代码来源:google-captcha.php

示例4: cstmfldssrch_page_of_settings


//.........这里部分代码省略.........
											<label><input type="checkbox" <?php 
                        if (in_array($value, $cstmfldssrch_options['fields'])) {
                            echo 'checked="checked"';
                        }
                        ?>
 name="cstmfldssrch_fields_array[]" value="<?php 
                        echo $value;
                        ?>
" /><span class="cstmfldssrch_value_of_metakey"><?php 
                        echo $value;
                        ?>
</span></label><br />
										<?php 
                    }
                }
                echo "<br />";
                if (isset($list_custom_key)) {
                    foreach ($list_custom_key as $value) {
                        $post_type_of_mkey = $wpdb->get_col("SELECT DISTINCT(post_type) FROM " . $wpdb->posts . " JOIN " . $wpdb->postmeta . " ON " . $wpdb->posts . ".id = " . $wpdb->postmeta . ".post_id WHERE  " . $wpdb->postmeta . ".meta_key LIKE ('" . $value . "')");
                        ?>
											<label><input type="checkbox" disabled="disabled" name="cstmfldssrch_fields_array[]" value="<?php 
                        echo $value;
                        ?>
" />
											<span class="cstmfldssrch_disable_key">
												<?php 
                        echo $value . " (" . $post_type_of_mkey[0] . " " . __('custom post type', 'custom-fields-search');
                        ?>
)
											</span></label><br />
										<?php 
                    }
                    if (array_key_exists('custom-search-pro/custom-search-pro.php', $install_plugins) || array_key_exists('custom-search-plugin/custom-search-plugin.php', $install_plugins)) {
                        ?>
											<span class="bws_info"><?php 
                        _e('You need to', 'custom-fields-search');
                        ?>
 <a href="<?php 
                        echo bloginfo("url");
                        ?>
/wp-admin/plugins.php"><?php 
                        _e('activate plugin', 'custom-fields-search');
                        ?>
 Custom Search</a><span>
										<?php 
                    } else {
                        ?>
											<span class="bws_info"><?php 
                        _e('If the type of the post is not default - you need to install and activate the plugin', 'custom-fields-search');
                        ?>
 <a href="http://bestwebsoft.com/products/custom-search/download">Custom Search</a>.<span>
										<?php 
                    }
                }
                ?>
								</td>
							<?php 
            }
        } else {
            ?>
							<th scope="row" colspan="2"><?php 
            _e('Custom fields not found.', 'custom-fields-search');
            ?>
</th>
						<?php 
        }
        ?>
					</tr>
					<tr valign="top">
						<th scope="row"><?php 
        _e('Show hidden fields', 'custom-fields-search');
        ?>
</th>
						<td>
							<input type="checkbox" <?php 
        if (1 == $cstmfldssrch_options['show_hidden_fields']) {
            echo 'checked="checked"';
        }
        ?>
 name="cstmfldssrch_show_hidden_fields" value="1" />
						</td>
					</tr>						
				</table>
				<p class="submit">
					<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
        _e('Save Changes', 'custom-fields-search');
        ?>
" />
					<input type="hidden" name="cstmfldssrch_submit_nonce" value="submit" />
					<?php 
        wp_nonce_field(plugin_basename(__FILE__), 'cstmfldssrch_nonce_name');
        ?>
				</p>				
			</form>
			<?php 
        bws_plugin_reviews_block($cstmfldssrch_plugin_info['Name'], 'custom-fields-search');
        ?>
		</div>
	<?php 
    }
开发者ID:dipanwita-dat,项目名称:project1,代码行数:101,代码来源:custom-fields-search.php

示例5: cptch_settings_page


//.........这里部分代码省略.........
                }
                ?>
 />
								</td>
							</tr>
							<tr valign="top" class="cptch_limt_options"<?php 
                if (0 == $cptch_options['use_time_limit']) {
                    echo ' style="display: none;"';
                }
                ?>
>
								<th scope="row"><?php 
                _e('Set time limit', 'captcha');
                ?>
</th>
								<td>
									<label for="cptch_time_limit">
										<input type="number" name="cptch_time_limit" id ="cptch_time_limit" min="10" max="9999" step="1" value="<?php 
                echo $cptch_options['time_limit'];
                ?>
" style="width: 70px;"/>&nbsp;<?php 
                _e('seconds', 'captcha');
                ?>

									</label>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e("Notification messages", 'captcha');
                ?>
</th>
								<td colspan="2">
									<p><i><?php 
                _e("Error", 'captcha');
                ?>
</i></p>
									<p><input class="cptch_settings_input" type="text" name="cptch_error_empty_value" value="<?php 
                echo $cptch_options['cptch_error_empty_value'];
                ?>
" maxlength="100" />&nbsp;<?php 
                _e('If CAPTCHA field is empty', 'captcha');
                ?>
</p>
									<p><input class="cptch_settings_input" type="text" name="cptch_error_incorrect_value" value="<?php 
                echo $cptch_options['cptch_error_incorrect_value'];
                ?>
" maxlength="100" />&nbsp;<?php 
                _e('If CAPTCHA is incorrect', 'captcha');
                ?>
</p>
									<p><input class="cptch_settings_input" type="text" name="cptch_error_time_limit" value="<?php 
                echo $cptch_options['cptch_error_time_limit'];
                ?>
" maxlength="100" />&nbsp;<?php 
                _e('If time limit is exhausted', 'captcha');
                ?>
</p>
									<p><i><?php 
                _e("Info", 'captcha');
                ?>
</i></p>
									<p><input class="cptch_settings_input" type="text" name="cptch_whitelist_message" value="<?php 
                echo $cptch_options['whitelist_message'];
                ?>
" maxlength="100"  />&nbsp;<?php 
                _e('If the user IP is added to the whitelist (this message will be displayed instead of CAPTCHA).', 'captcha');
                ?>
</p>
								</td>
							</tr>
						</table>
						<input type="hidden" name="cptch_form_submit" value="submit" />
						<p class="submit">
							<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
                _e('Save Changes', 'captcha');
                ?>
" />
						</p>
						<?php 
                wp_nonce_field($plugin_basename, 'cptch_nonce_name');
                ?>
					</form>
					<?php 
                bws_form_restore_default_settings($plugin_basename);
            }
        } elseif ('go_pro' == $_GET['action']) {
            $show = bws_hide_premium_options_check($cptch_options) ? true : false;
            bws_go_pro_tab_show($show, $cptch_plugin_info, $plugin_basename, 'captcha.php', 'captcha_pro.php', 'captcha-pro/captcha_pro.php', 'captcha', '9701bbd97e61e52baa79c58c3caacf6d', '75', isset($go_pro_result['pro_plugin_is_activated']));
        } elseif ('whitelist' == $_GET['action']) {
            $limit_attempts_info = cptch_plugin_status(array('limit-attempts/limit-attempts.php', 'limit-attempts-pro/limit-attempts-pro.php'), $all_plugins, $is_network);
            require_once dirname(__FILE__) . '/includes/whitelist.php';
            $cptch_whitelist = new Cptch_Whitelist($plugin_basename, $limit_attempts_info);
            $cptch_whitelist->display_content();
        }
        bws_plugin_reviews_block($cptch_plugin_info['Name'], 'captcha');
        ?>
		</div>
	<?php 
    }
开发者ID:blogfor,项目名称:king,代码行数:101,代码来源:captcha.php

示例6: gglcptch_settings_page


//.........这里部分代码省略.........
							</tr>
						</table>
						<?php 
                if (!$bws_hide_premium_options_check) {
                    ?>
							<div class="bws_pro_version_bloc">
								<div class="bws_pro_version_table_bloc">
									<button type="submit" name="bws_hide_premium_options" class="notice-dismiss bws_hide_premium_options" title="<?php 
                    _e('Close', 'google-captcha');
                    ?>
"></button>
									<div class="bws_table_bg"></div>
									<table class="form-table bws_pro_version">
										<tr valign="top">
											<th scope="row"><?php 
                    _e('reCAPTCHA language', 'google-captcha');
                    ?>
</th>
											<td>
												<select disabled="disabled" name="gglcptch_language">
													<option value="en" selected="selected">English (US)</option>
												</select>
												<div style="margin: 5px 0 0;">
													<input disabled="disabled" id="gglcptch_use_multilanguage_locale" type="checkbox" name="gglcptch_use_multilanguage_locale" value="1" />
													<label for="gglcptch_use_multilanguage_locale"><?php 
                    _e('Use the current site language', 'google-captcha');
                    ?>
</label>&nbsp;<span class="bws_info">(<?php 
                    _e('Using', 'google-captcha');
                    ?>
 Multilanguage by BestWebSoft)</span>
												</div>
											</td>
										</tr>
										<tr valign="top">
											<th scope="row">
												<?php 
                    _e('reCAPTCHA size', 'google-captcha');
                    ?>
												<br/><span class="bws_info">(<?php 
                    _e('for version', 'google-captcha');
                    ?>
 2)</span>
											</th>
											<td><fieldset>
												<?php 
                    foreach ($gglcptch_sizes_v2 as $value => $name) {
                        printf('<div class="gglcptch_size_v2"><label><input disabled="disabled" type="radio" name="gglcptch_size_v2" value="%s"%s> %s</label></div>', $value, $name == 'Normal' ? ' checked="checked"' : '', $name);
                    }
                    ?>
												</fieldset>
											</td>
										</tr>
									</table>
								</div>
								<div class="bws_pro_version_tooltip">
									<div class="bws_info">
										<?php 
                    _e('Unlock premium options by upgrading to Pro version', 'google-captcha');
                    ?>
									</div>
									<a class="bws_button" href="http://bestwebsoft.com/products/google-captcha/?k=b850d949ccc1239cab0da315c3c822ab&pn=109&v=<?php 
                    echo $gglcptch_plugin_info["Version"];
                    ?>
&wp_v=<?php 
                    echo $wp_version;
                    ?>
" target="_blank" title="Google Captcha Pro (reCAPTCHA)">
										<?php 
                    _e('Learn More', 'google-captcha');
                    ?>
									</a>
									<div class="clear"></div>
								</div>
							</div>
						<?php 
                }
                ?>
						<p class="submit">
							<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
                _e('Save Changes', 'google-captcha');
                ?>
" name="gglcptch_save_changes" />
							<input type="hidden" name="gglcptch_form_submit" value="submit" />
							<?php 
                wp_nonce_field($plugin_basename, 'gglcptch_nonce_name');
                ?>
						</p>
					</form>
					<?php 
                bws_form_restore_default_settings($plugin_basename);
            }
        } elseif ('go_pro' == $_GET['action']) {
            bws_go_pro_tab_show($bws_hide_premium_options_check, $gglcptch_plugin_info, $plugin_basename, 'google-captcha.php', 'google-captcha-pro.php', 'google-captcha-pro/google-captcha-pro.php', 'google-captcha', 'b850d949ccc1239cab0da315c3c822ab', '109', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($gglcptch_plugin_info['Name'], 'google-captcha');
        ?>
		</div>
	<?php 
    }
开发者ID:berniecultess,项目名称:infirev,代码行数:101,代码来源:google-captcha.php

示例7: pplrpsts_settings_page


//.........这里部分代码省略.........
                echo $pplrpsts_options['widget_title'];
                ?>
"/>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e('Number of posts', 'bws-popular-posts');
                ?>
</th>
								<td>
									<input name="pplrpsts_count" type="number" min="1" max="10000" value="<?php 
                echo $pplrpsts_options['count'];
                ?>
"/>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e('Excerpt length', 'bws-popular-posts');
                ?>
</th>
								<td>
									<input name="pplrpsts_excerpt_length" type="number" min="1" max="10000" value="<?php 
                echo $pplrpsts_options['excerpt_length'];
                ?>
"/>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e('"Read more" text', 'bws-popular-posts');
                ?>
</th>
								<td>
									<input name="pplrpsts_excerpt_more" type="text" maxlength="250" value="<?php 
                echo $pplrpsts_options['excerpt_more'];
                ?>
"/>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e('Default image (full URL), if no featured image is available', 'bws-popular-posts');
                ?>
</th>
								<td>
									<input name="pplrpsts_no_preview_img" type="text" maxlength="250" value="<?php 
                echo $pplrpsts_options['no_preview_img'];
                ?>
"/>
								</td>
							</tr>
							<tr valign="top">
								<th scope="row"><?php 
                _e('Order by number of', 'bws-popular-posts');
                ?>
</th>
								<td><fieldset>
									<label><input name="pplrpsts_order_by" type="radio" value="comment_count" <?php 
                if ('comment_count' == $pplrpsts_options['order_by']) {
                    echo 'checked="checked"';
                }
                ?>
 /> <?php 
                _e('comments', 'bws-popular-posts');
                ?>
</label><br />
									<label><input name="pplrpsts_order_by" type="radio" value="views_count" <?php 
                if ('views_count' == $pplrpsts_options['order_by']) {
                    echo 'checked="checked"';
                }
                ?>
 /> <?php 
                _e('views', 'bws-popular-posts');
                ?>
</label>
								</fieldset></td>
							</tr>
						</table>						
						<p class="submit">
							<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
                _e('Save Changes', 'bws-popular-posts');
                ?>
" />
							<input type="hidden" name="pplrpsts_form_submit" value="submit" />
							<?php 
                wp_nonce_field(plugin_basename(__FILE__), 'pplrpsts_nonce_name');
                ?>
						</p>						
					</form>
					<?php 
                bws_form_restore_default_settings(plugin_basename(__FILE__));
            }
        }
        bws_plugin_reviews_block($pplrpsts_plugin_info["Name"], 'bws-popular-posts');
        ?>
		</div>
	<?php 
    }
开发者ID:sammykumar,项目名称:TheVRForums,代码行数:101,代码来源:bws-popular-posts.php

示例8: lmtttmpts_settings_page


//.........这里部分代码省略.........
										</tbody>
									</table>
									<div class="tablenav bottom"><div class="alignleft actions bulkactions"><select disabled="disabled"><option><?php 
            _e('Delete log entry', 'lmtttmpts');
            ?>
</option></select><input disabled="disabled" type="submit" value="Apply" class="button action"></div><div class="tablenav-pages one-page"><span class="displaying-num">1 item</span></div><br class="clear"></div>
								</form>
							</div>
						</div>
						<div class="bws_pro_version_tooltip">
							<div class="bws_info">
								<?php 
            _e('Unlock premium options by upgrading to a PRO version.', 'lmtttmpts');
            ?>
								<a href="http://bestwebsoft.com/products/limit-attempts/?k=33bc89079511cdfe28aeba317abfaf37&pn=140&v=<?php 
            echo $lmtttmpts_plugin_info["Version"] . '&wp_v=' . $wp_version;
            ?>
" target="_blank" title="Limit Attempts Pro"> <?php 
            _e("Learn More", 'lmtttmpts');
            ?>
</a>
							</div>
							<a class="bws_button" href="http://bestwebsoft.com/products/limit-attempts/buy/?k=33bc89079511cdfe28aeba317abfaf37&pn=140&v=<?php 
            echo $lmtttmpts_plugin_info["Version"] . '&wp_v=' . $wp_version;
            ?>
" target="_blank" title="Limit Attempts Pro"> <?php 
            _e('Go', 'lmtttmpts');
            ?>
 <strong>PRO</strong>
							</a>
							<div class="clear"></div>
						</div>
					</div>
				</div>
			<?php 
        } elseif ('statistics' == $_GET['action']) {
            /* Showing statistics table using wp_list_table class */
            if (isset($_POST['lmtttmpts_clear_statistics_complete']) && check_admin_referer($plugin_basename, 'lmtttmpts_nonce_name')) {
                ?>
					<div id="lmtttmpts_clear_statistics_confirm">
						<p><?php 
                _e('Are you sure you want to delete all statistics entries?', 'lmtttmpts');
                ?>
</p>
						<form method="post" action="admin.php?page=limit-attempts.php&amp;action=statistics">
							<button class="button" name="lmtttmpts_clear_statistics_complete_confirm"><?php 
                _e('Yes, delete these entries', 'lmtttmpts');
                ?>
</button>
							<button class="button" name="lmtttmpts_clear_statistics_complete_deny"><?php 
                _e('No, go back to the Statistics page', 'lmtttmpts');
                ?>
</button>
							<?php 
                wp_nonce_field($plugin_basename, 'lmtttmpts_nonce_name');
                ?>
						</form>
					</div>
				<?php 
            } else {
                ?>
					<div id="lmtttmpts_statistics">
						<?php 
                $lmtttmpts_statistics_list = new Lmtttmpts_Statistics();
                $lmtttmpts_statistics_list->prepare_items();
                ?>
						<form method="get" action="admin.php">
							<?php 
                $lmtttmpts_statistics_list->search_box(__('Search IP', 'lmtttmpts'), 'search_statistics_ip');
                ?>
							<input type="hidden" name="page" value="limit-attempts.php" />
							<input type="hidden" name="action" value="statistics" />
						</form>
						<form method="post" action="admin.php?page=limit-attempts.php&amp;action=statistics">
							<input type="hidden" name="lmtttmpts_clear_statistics_complete" />
							<input type="submit" class="button" value="<?php 
                _e('Clear Statistics', 'lmtttmpts');
                ?>
" />
							<?php 
                wp_nonce_field(plugin_basename(__FILE__), 'lmtttmpts_nonce_name');
                ?>
						</form>
						<form method="post" action="admin.php?page=limit-attempts.php&amp;action=statistics">
							<?php 
                $lmtttmpts_statistics_list->display();
                wp_nonce_field($plugin_basename, 'lmtttmpts_nonce_name');
                ?>
						</form>
					</div>
				<?php 
            }
        } elseif ('go_pro' == $_GET['action']) {
            bws_go_pro_tab($lmtttmpts_plugin_info, $plugin_basename, 'limit-attempts.php', 'limit-attempts-pro.php', 'limit-attempts-pro/limit-attempts-pro.php', 'limit-attempts', 'fdac994c203b41e499a2818c409ff2bc', '140', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($lmtttmpts_plugin_info['Name'], 'limit-attempts');
        ?>
		</div>
	<?php 
    }
开发者ID:baerdaniel,项目名称:MAT-wordpress,代码行数:101,代码来源:limit-attempts.php

示例9: prtfl_settings_page


//.........这里部分代码省略.........
					</tr>

					<tr valign="top">

						<th scope="row"><?php 
        _e('Add portfolio to the search', 'portfolio');
        ?>
</th>

						<td>

							<?php 
        if (array_key_exists('custom-search-plugin/custom-search-plugin.php', $all_plugins) || array_key_exists('custom-search-pro/custom-search-pro.php', $all_plugins)) {
            if (is_plugin_active('custom-search-plugin/custom-search-plugin.php') || is_plugin_active('custom-search-pro/custom-search-pro.php')) {
                ?>

									<input type="checkbox" name="prtfl_add_to_search" value="1" <?php 
                if (isset($cstmsrch_options) && in_array('portfolio', $cstmsrch_options)) {
                    echo 'checked="checked"';
                }
                ?>
 />

									<span style="color: #888888;font-size: 10px;"> (<?php 
                _e('Using Custom Search powered by', 'portfolio');
                ?>
 <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>)</span>

								<?php 
            } else {
                ?>

									<input disabled="disabled" type="checkbox" name="prtfl_add_to_search" value="1" <?php 
                if (isset($cstmsrch_options) && in_array('portfolio', $cstmsrch_options)) {
                    echo 'checked="checked"';
                }
                ?>
 />

									<span style="color: #888888;font-size: 10px;">(<?php 
                _e('Using Custom Search powered by', 'portfolio');
                ?>
 <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="<?php 
                echo bloginfo("url");
                ?>
/wp-admin/plugins.php"><?php 
                _e('Activate Custom Search', 'portfolio');
                ?>
</a></span>

								<?php 
            }
        } else {
            ?>

								<input disabled="disabled" type="checkbox" name="prtfl_add_to_search" value="1" />

								<span style="color: #888888;font-size: 10px;">(<?php 
            _e('Using Custom Search powered by', 'portfolio');
            ?>
 <a href="http://bestwebsoft.com/products/">bestwebsoft.com</a>) <a href="http://bestwebsoft.com/products/custom-search/"><?php 
            _e('Download Custom Search', 'portfolio');
            ?>
</a></span>

							<?php 
        }
        ?>

						</td>

					</tr>

				</table>

				<input type="hidden" name="prtfl_form_submit" value="submit" />

				<p class="submit">

					<input type="submit" class="button-primary" value="<?php 
        _e('Save Changes');
        ?>
" />

				</p>

				<?php 
        wp_nonce_field(plugin_basename(__FILE__), 'prtfl_nonce_name');
        ?>

			</form>

			<?php 
        bws_plugin_reviews_block($prtfl_plugin_info['Name'], 'portfolio');
        ?>

		</div>

	<?php 
    }
开发者ID:taeche,项目名称:SoDoEx,代码行数:101,代码来源:portfolio.php

示例10: gglstmp_settings_page


//.........这里部分代码省略.........
                        echo $gglstmp_menu_del;
                        ?>
</label><br />
												<label><input type='radio' name='gglstmp_menu' value="inf" /> <?php 
                        echo $gglstmp_menu_inf;
                        ?>
</label>
											</fieldset>
											<?php 
                        if (isset($_POST['gglstmp_menu']) && check_admin_referer($plugin_basename, 'gglstmp_nonce_name')) {
                            $gglstmp_wmt = new Google_Service_Webmasters($gglstmp_client);
                            $gglstmp_sv = new Google_Service_SiteVerification($gglstmp_client);
                            switch ($_POST['gglstmp_menu']) {
                                case 'inf':
                                    gglstmp_info_site($gglstmp_wmt, $gglstmp_sv);
                                    break;
                                case 'ad':
                                    gglstmp_add_site($gglstmp_wmt, $gglstmp_sv);
                                    break;
                                case 'del':
                                    gglstmp_del_site($gglstmp_wmt, $gglstmp_sv);
                                    break;
                                default:
                                    break;
                            }
                        }
                    } else {
                        $gglstmp_state = mt_rand();
                        $gglstmp_client->setState($gglstmp_state);
                        $_SESSION['gglstmp_state' . $gglstmp_blog_prefix] = $gglstmp_client;
                        $gglstmp_auth_url = $gglstmp_client->createAuthUrl();
                        ?>
											<p><?php 
                        _e("Please authorize via your Google Account in order to add or delete a site and a sitemap file automatically or get information about this site in Google Webmaster Tools", 'google-sitemap-plugin');
                        ?>
.</p>
											<a id="gglstmp_authorization_button" class="button-primary" href="<?php 
                        echo $gglstmp_auth_url;
                        ?>
" target="_blank" onclick="window.open(this.href,'','top='+(screen.height/2-560/2)+',left='+(screen.width/2-640/2)+',width=640,height=560,resizable=0,scrollbars=0,menubar=0,toolbar=0,status=1,location=0').focus(); return false;"><?php 
                        _e('Get Authorization Code', 'google-sitemap-plugin');
                        ?>
</a>
											<div id="gglstmp_authorization_form">
												<input id="gglstmp_authorization_code" name="gglstmp_authorization_code" type="text" autocomplete="off" maxlength="100" />
												<input id="gglstmp_authorize" class="button-primary" name="gglstmp_authorize" type="submit" value="<?php 
                        _e('Authorize', 'google-sitemap-plugin');
                        ?>
">
											</div>
											<?php 
                        if (isset($_POST['gglstmp_authorization_code']) && isset($_POST['gglstmp_authorize']) && check_admin_referer($plugin_basename, 'gglstmp_nonce_name')) {
                            ?>
												<div id="gglstmp_authorize_error"><?php 
                            _e('Invalid authorization code. Please, try again', 'google-sitemap-plugin');
                            ?>
.</div>
											<?php 
                        }
                    }
                    ?>
										<br />
										<span class="bws_info">
											<?php 
                    echo __('You can always add your sitemap to Google Webmaster Tools manually. For more info see', 'google-sitemap-plugin') . '&nbsp;<a target="_blank" href="https://docs.google.com/document/d/1VOJx_OaasVskCqi9fsAbUmxfsckoagPU5Py97yjha9w/edit">' . __('the instruction', 'google-sitemap-plugin') . '</a>.';
                    ?>
										</span>
									</td>
								</tr>
							</table>
						<?php 
                }
                ?>
						<input type="hidden" name="gglstmp_submit" value="submit" />
						<p class="submit">
							<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
                _e('Save Changes', 'google-sitemap-plugin');
                ?>
" />
						</p>
						<?php 
                wp_nonce_field($plugin_basename, 'gglstmp_nonce_name');
                ?>
					</form>
					<?php 
                bws_form_restore_default_settings($plugin_basename);
                ?>
					<div class="clear"></div>
			<?php 
            }
        } elseif (in_array($_GET['action'], array('extra', 'custom_links'))) {
            gglstmp_pro_block("gglstmp_{$_GET['action']}_block", false);
        } elseif ('go_pro' == $_GET['action']) {
            bws_go_pro_tab_show($bws_hide_premium_options_check, $gglstmp_plugin_info, $plugin_basename, 'google-sitemap-plugin.php', 'google-sitemap-pro.php', 'google-sitemap-pro/google-sitemap-pro.php', 'google-sitemap', '28d4cf0b4ab6f56e703f46f60d34d039', '83', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($gglstmp_plugin_info['Name'], 'google-sitemap-plugin');
        ?>
		</div>
	<?php 
    }
开发者ID:zhou3388232,项目名称:raccoon,代码行数:101,代码来源:google-sitemap-plugin.php

示例11: mltlngg_settings_page


//.........这里部分代码省略.........
                    ?>
" disabled="disabled" />
												</div>
												<div class="bws_help_box bws_help_box_left dashicons dashicons-editor-help" style="position: relative;z-index: 10;">
													<div class="bws_hidden_help_text" style="min-width: 220px;">
														<p style="text-indent: 15px;">
															<?php 
                    _e('This option allows you to download lists with registered IP addresses all over the world to the database (from', 'multilanguage');
                    ?>
&nbsp;<a href="https://www.maxmind.com" target="_blank">https://www.maxmind.com</a>).
														</p>
														<p style="text-indent: 15px;">
															<?php 
                    _e('With this, you receive an information about each IP address, and to which country it belongs to. You can select the desired frequency for IP database updating', 'multilanguage');
                    ?>
.
														</p>
														<p style="text-indent: 15px;">
															<?php 
                    _e('If you need to update GeoIP immediately, please click on the "Update now" button and wait until the operation is finished', 'multilanguage');
                    ?>
.
														</p>
														<noscript>
															<div class="update-nag" style="margin-top: 0;"><?php 
                    _e('Due to the fact that JavaScript is disabled, GeoIP will be updated via wp_cron', 'multilanguage');
                    ?>
.</div>
														</noscript>
														<p style="text-indent: 15px;">
															<?php 
                    _e('Read more about', 'multilanguage');
                    ?>
&nbsp;<a href="https://www.maxmind.com/en/geoip2-services-and-databases" target="_blank">GeoIp</a>.
														</p>
													</div>
												</div>
												<p id="bwscntrtbl_message"><?php 
                    _e('Last update was carried out', 'multilanguage');
                    ?>
&nbsp;2016-01-22 12:59:04</p>
											</td>
										</tr>
										<tr valign="top">
											<th scope="row" colspan="2">
												* <?php 
                    _e('If you upgrade to Pro version all your settings will be saved.', 'multilanguage');
                    ?>
											</th>
										</tr>
									</table>	
								</div>
								<div class="bws_pro_version_tooltip">
									<div class="bws_info">
										<?php 
                    _e('Unlock premium options by upgrading to Pro version', 'multilanguage');
                    ?>
									</div>
									<a class="bws_button" href="http://bestwebsoft.com/products/multilanguage/?k=fa164f00821ed3a87e6f78cb3f5c277b&pn=143&v=<?php 
                    echo $mltlngg_plugin_info["Version"];
                    ?>
&wp_v=<?php 
                    echo $wp_version;
                    ?>
" target="_blank" title="Multilanguage Pro"><?php 
                    _e('Learn More', 'multilanguage');
                    ?>
</a>
									<div class="clear"></div>
								</div>
							</div>
						<?php 
                }
                ?>
			
						<p>
							<input id="bws-submit-button" type="submit" name="mltlngg_settings_form_submit" class="button-primary" value="<?php 
                _e('Save changes', 'multilanguage');
                ?>
">
							<input type="hidden" name="mltlngg_settings_form_was_send" value="1">
							<?php 
                wp_nonce_field('mltlngg_settings_form', 'mltlngg_settings_form_field');
                ?>
						</p>
					</form><!-- name="mltlngg_settings_form" -->
					<!-- /table with options form -->
					<?php 
                bws_form_restore_default_settings(plugin_basename(__FILE__));
            }
        } elseif ('custom_code' == $_GET['tab']) {
            bws_custom_code_tab();
        } elseif ('go_pro' == $_GET['tab']) {
            bws_go_pro_tab_show($bws_hide_premium_options_check, $mltlngg_plugin_info, plugin_basename(__FILE__), 'mltlngg_settings', 'mltlnggpr_settings', 'multilanguage-pro/multilanguage-pro.php', 'multilanguage', 'fa164f00821ed3a87e6f78cb3f5c277b', '143', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($mltlngg_plugin_info['Name'], 'multilanguage');
        ?>
		</div><!-- .wrap -->
	<?php 
    }
开发者ID:egore,项目名称:wordpress-multilanguage,代码行数:101,代码来源:multilanguage.php

示例12: gglcptch_settings_page


//.........这里部分代码省略.........
											</td>
										</tr>
										<tr valign="top">
											<th scope="row">
												<strong>Contact Form 7</strong><br/>
												<?php 
                    _e('Enable CAPTCHA', 'google-captcha');
                    ?>
 
											</th>
											<td>
												<?php 
                    if (array_key_exists('contact-form-7/wp-contact-form-7.php', $all_plugins)) {
                        if (is_plugin_active('contact-form-7/wp-contact-form-7.php')) {
                            ?>
														<br/><input  disabled='disabled' type="checkbox" name="gglcptchpr_cf7" value="1" />
													<?php 
                        } else {
                            ?>
														<span class="bws_info"><?php 
                            _e('You should', 'google-captcha');
                            ?>
 <a href="<?php 
                            echo admin_url('plugins.php');
                            ?>
"><?php 
                            _e('activate', 'google-captcha');
                            ?>
 Contact Form 7</a> <?php 
                            _e('to use this functionality', 'google-captcha');
                            ?>
</span><br/>
														<input disabled='disabled' type="checkbox" name="gglcptchpr_cf7" value="1" />
													<?php 
                        }
                    } else {
                        ?>
													<span class="bws_info"><?php 
                        _e('You should', 'google-captcha');
                        ?>
 <a target="_blank" href="http://wordpress.org/plugins/contact-form-7/"><?php 
                        _e('download', 'google-captcha');
                        ?>
 Contact Form 7</a> <?php 
                        _e('to use this functionality', 'google-captcha');
                        ?>
</span><br/>
													<input disabled='disabled' type="checkbox" name="gglcptchpr_cf7" value="1" />
												<?php 
                    }
                    ?>
											</td>
										</tr>	
									</table>
								</div>
								<div class="bws_pro_version_tooltip">
									<div class="bws_info">
										<?php 
                    _e('Unlock premium options by upgrading to Pro version', 'google-captcha');
                    ?>
									</div>
									<a class="bws_button" href="http://bestwebsoft.com/products/google-captcha/?k=b850d949ccc1239cab0da315c3c822ab&pn=109&v=<?php 
                    echo $gglcptch_plugin_info["Version"];
                    ?>
&wp_v=<?php 
                    echo $wp_version;
                    ?>
" target="_blank" title="Google Captcha Pro (reCAPTCHA)">
										<?php 
                    _e('Learn More', 'google-captcha');
                    ?>
									</a>	
									<div class="clear"></div>					
								</div>
							</div>
						<?php 
                }
                ?>
						<p class="submit">
							<input id="bws-submit-button" type="submit" class="button-primary" value="<?php 
                _e('Save Changes', 'google-captcha');
                ?>
" name="gglcptch_save_changes" />
							<input type="hidden" name="gglcptch_form_submit" value="submit" />
							<?php 
                wp_nonce_field($plugin_basename, 'gglcptch_nonce_name');
                ?>
						</p>						
					</form>
					<?php 
                bws_form_restore_default_settings($plugin_basename);
            }
        } elseif ('go_pro' == $_GET['action']) {
            bws_go_pro_tab_show($bws_hide_premium_options_check, $gglcptch_plugin_info, $plugin_basename, 'google-captcha.php', 'google-captcha-pro.php', 'google-captcha-pro/google-captcha-pro.php', 'google-captcha', 'b850d949ccc1239cab0da315c3c822ab', '109', isset($go_pro_result['pro_plugin_is_activated']));
        }
        bws_plugin_reviews_block($gglcptch_plugin_info['Name'], 'google-captcha');
        ?>
		</div>
	<?php 
    }
开发者ID:sekailabbd,项目名称:github.io,代码行数:101,代码来源:google-captcha.php

示例13: adsns_settings_page


//.........这里部分代码省略.........
                        ?>
></div>
										<div id="adsns_usage_notice">
											<p><?php 
                        printf('<strong>%s</strong> %s <a href="https://support.google.com/adsense/answer/1346295?hl=en#Ad_limit_per_page" target="_blank">%s</a>.', __('Please note:', 'adsense-plugin'), __('The maximum number of ad blocks on the page cannot be more than 3 ad blocks.', 'adsense-plugin'), __('Learn more', 'adsense-plugin'));
                        ?>
</p>
											<?php 
                        if ($adsns_current_tab == 'widget') {
                            ?>
												<p><?php 
                            printf(__("Please don't forget to place the AdSense widget into a needed sidebar on the %s.", 'adsense-plugin'), sprintf('<a href="widgets.php" target="_blank">%s</a>', __('widget page', 'adsense-plugin')));
                            printf(' %s <a href="http://bestwebsoft.com/products/google-adsense/?k=2887beb5e9d5e26aebe6b7de9152ad1f&amp;pn=80&amp;v=%s&amp;wp_v=%s" target="_blank"><strong>PRO</strong></a>.', __('An opportunity to add several widgets is available in the', 'adsense-plugin'), $this->adsns_plugin_info["Version"], $wp_version);
                            ?>
</p>
											<?php 
                        }
                        ?>
											<p>
												<?php 
                        printf(__('Add or manage existing ad blocks in the %s.', 'adsense-plugin'), sprintf('<a href="https://www.google.com/adsense/app#main/myads-viewall-adunits" target="_blank">%s</a>', __('Google AdSense', 'adsense-plugin')));
                        ?>
<br />
												<span class="bws_info"><?php 
                        printf(__('After adding the ad block in Google AdSense, please %s to see the new ad block in the list of plugin ad blocks.', 'adsense-plugin'), sprintf('<a href="admin.php?page=adsense-plugin.php%s">%s</a>', $adsns_form_action, __('reload the page', 'adsense-plugin')));
                        ?>
</span>
											</p>
										</div>
										<?php 
                        if (isset($this->adsns_options['adunits'][$this->adsns_options['publisher_id']][$adsns_current_tab])) {
                            foreach ($this->adsns_options['adunits'][$this->adsns_options['publisher_id']][$adsns_current_tab] as $adsns_tbl_adunit) {
                                $adsns_tbl_adunits[$adsns_tbl_adunit['id']] = $adsns_tbl_adunit['position'];
                            }
                        }
                        $adsns_lt = new Adsns_List_Table();
                        $adsns_lt->adsns_tbl_data = $adsns_tbl_data;
                        $adsns_lt->adsns_tbl_adunits = isset($adsns_tbl_adunits) && is_array($adsns_tbl_adunits) ? $adsns_tbl_adunits : array();
                        $adsns_lt->adsns_adunit_positions = $adsns_tabs[$adsns_current_tab]['adunit_positions'];
                        $adsns_lt->adsns_adunit_positions_pro = $adsns_tabs[$adsns_current_tab]['adunit_positions_pro'];
                        $adsns_lt->prepare_items();
                        $adsns_lt->display();
                        ?>
									</div>
									<?php 
                        if ($adsns_current_tab == 'search') {
                            ?>
										<div class="bws_pro_version_tooltip">
											<div class="bws_info">
												<?php 
                            _e('Unlock premium options by upgrading to Pro version', 'adsense-plugin');
                            ?>
											</div>
											<a class="bws_button" href="http://bestwebsoft.com/products/google-adsense/?k=2887beb5e9d5e26aebe6b7de9152ad1f&amp;pn=80&amp;v=<?php 
                            echo $this->adsns_plugin_info["Version"];
                            ?>
&amp;wp_v=<?php 
                            echo $wp_version;
                            ?>
" target="_blank" title="Google AdSense Pro"><?php 
                            _e('Learn More', 'adsense-plugin');
                            ?>
</a>
											<div class="clear"></div>
										</div>
									<?php 
                        }
                        ?>
								</div>
							<?php 
                    }
                    if ($adsns_current_tab != 'search') {
                        ?>
								<p>
									<input type="hidden" name="adsns_area" value="<?php 
                        echo $adsns_current_tab;
                        ?>
" />
									<input id="bws-submit-button" type="submit" class="button-primary" name="adsns_save_settings" value="<?php 
                        _e('Save Changes', 'adsense-plugin');
                        ?>
" />
									<?php 
                        wp_nonce_field(plugin_basename(__FILE__), 'adsns_nonce_name');
                        ?>
								</p>
							<?php 
                    }
                    ?>
						</form>
					<?php 
                }
                bws_plugin_reviews_block($this->adsns_plugin_info['Name'], 'adsense-plugin');
            } elseif ('go_pro' == $_GET['action']) {
                bws_go_pro_tab($this->adsns_plugin_info, $plugin_basename, 'adsense-plugin.php', 'adsense-pro.php', 'adsense-pro/adsense-pro.php', 'google-adsense', '2887beb5e9d5e26aebe6b7de9152ad1f', '80', isset($go_pro_result['pro_plugin_is_activated']));
            }
            ?>
			</div>
		<?php 
        }
开发者ID:vandersonsena,项目名称:wp-4rodas,代码行数:101,代码来源:adsense-plugin.class.php

示例14: pgntn_settings_page


//.........这里部分代码省略.........
        ?>
" id="pgntn_background_color" name="pgntn_background_color" />
								<div class="pgntn_color_picker"></div>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Background color for current page', 'pagination');
        ?>
 </th>
							<td>
								<input type="text" value="<?php 
        echo $pgntn_options['current_background_color'];
        ?>
" id="pgntn_current_background_color" name="pgntn_current_background_color" />
								<div class="pgntn_color_picker"></div>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Text color for page', 'pagination');
        ?>
 </th>
							<td>
								<input type="text" value="<?php 
        echo $pgntn_options['text_color'];
        ?>
" id="pgntn_text_color" name="pgntn_text_color" />
								<div class="pgntn_color_picker"></div>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Text color for current page', 'pagination');
        ?>
 </th>
							<td>
								<input type="text" value="<?php 
        echo $pgntn_options['current_text_color'];
        ?>
" id="pgntn_current_text_color" name="pgntn_current_text_color" />
								<div class="pgntn_color_picker"></div>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Border color', 'pagination');
        ?>
 </th>
							<td>
								<input type="text" value="<?php 
        echo $pgntn_options['border_color'];
        ?>
" id="pgntn_border_color" name="pgntn_border_color" />
								<div class="pgntn_color_picker"></div>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Border width', 'pagination');
        ?>
 </th>
							<td>
								<input type="number" step="1" min="0" value="<?php 
        echo !empty($pgntn_options['border_width']) ? $pgntn_options['border_width'] : '0';
        ?>
" id="pgntn_border_width" name="pgntn_border_width" />&nbsp;<span class="bws_info">px</span>
							</td>
						</tr>
						<tr>
							<th scope="row"><?php 
        _e('Border radius', 'pagination');
        ?>
 </th>
							<td>
								<input type="number" step="1" min="0" value="<?php 
        echo !empty($pgntn_options['border_radius']) ? $pgntn_options['border_radius'] : '0';
        ?>
" id="pgntn_border_radius" name="pgntn_border_radius" />&nbsp;<span class="bws_info">px</span>
							</td>
						</tr>
					</table><!-- end of additional settings -->
				</div>
				<input type="hidden" name="pgntn_form_submit" value="submit" />
				<p class="submit">
					<input type="submit" class="button-primary" value="<?php 
        _e('Save Changes', 'pagination');
        ?>
" />
				</p>
				<?php 
        wp_nonce_field(plugin_basename(__FILE__), 'pgntn_nonce_name');
        ?>
			</form>
			<?php 
        bws_plugin_reviews_block($pgntn_plugin_info['Name'], 'pagination');
        ?>
		</div>
	<?php 
    }
开发者ID:azeemgolive,项目名称:thefunkidsgame,代码行数:101,代码来源:pagination.php

示例15: mltlngg_settings_tab


//.........这里部分代码省略.........
</span>
						</td>
					</tr>
					<tr valign="middle">
						<th scope="row"><?php 
        _e('Switch Wordpress localization', 'multilanguage');
        ?>
</th>
						<td><input name="mltlngg_wp_localization" type="checkbox" value="true" <?php 
        echo true == $mltlngg_options['wp_localization'] ? ' checked' : '';
        ?>
> <span style="color: #888888;font-size: 10px;"><?php 
        _e("When changing the language in the frontend, WordPress localization will also be changed (only in case additional WordPress language packs are installed)", 'multilanguage');
        ?>
</span></td>
					</tr>
					<tr valign="middle">
						<th scope="row"><?php 
        _e('Language switcher', 'multilanguage');
        ?>
</th>
						<td>
							<div style="clear: both;">
								<label>
									<input name="mltlngg_language_switcher" type="radio" value="drop-down-list" <?php 
        if ($mltlngg_options['language_switcher'] == 'drop-down-list') {
            echo 'checked';
        }
        ?>
 /> 
									<?php 
        _e('Drop-down languages list', 'multilanguage');
        ?>
								</label>
								<div class="mltlngg-help-box">
									<div class="mltlngg-hidden-help-text"><img title="" src="<?php 
        echo plugins_url('images/tooltip_drop_down_list.png', __FILE__);
        ?>
" alt="" /></div>
								</div>
							</div>
							<div>
								<label>
									<input name="mltlngg_language_switcher" type="radio" value="drop-down-icons" <?php 
        if ($mltlngg_options['language_switcher'] == 'drop-down-icons') {
            echo 'checked';
        }
        ?>
 /> 
									<?php 
        _e('Drop-down flag icons', 'multilanguage');
        ?>
								</label>
								<div class="mltlngg-help-box">
									<div class="mltlngg-hidden-help-text"><img title="" src="<?php 
        echo plugins_url('images/tooltip_drop_down_icons.png', __FILE__);
        ?>
" alt="" /></div>
								</div>
							</div>
							<div>
								<label>
									<input name="mltlngg_language_switcher" type="radio" value="flags-icons" <?php 
        if ($mltlngg_options['language_switcher'] == 'flags-icons') {
            echo 'checked';
        }
        ?>
 /> 
									<?php 
        _e('Flag icons', 'multilanguage');
        ?>
								</label>
								<div class="mltlngg-help-box">
									<div class="mltlngg-hidden-help-text"><img title="" src="<?php 
        echo plugins_url('images/tooltip_flags_icons.png', __FILE__);
        ?>
" alt="" /></div>
								</div>
							</div>
						</td>
					</tr>
				</table><!-- .form-table -->
				<p>
					<input type="submit" name="mltlngg_settings_form_submit" class="button-primary" value="<?php 
        _e('Save changes', 'multilanguage');
        ?>
">
					<input type="hidden" name="mltlngg_settings_form_was_send" value="1">
					<?php 
        wp_nonce_field('mltlngg_settings_form', 'mltlngg_settings_form_field');
        ?>
				</p>
			</form><!-- name="mltlngg_settings_form" -->
			<!-- /table with options form -->
			<?php 
        bws_plugin_reviews_block($mltlngg_plugin_info['Name'], 'multilanguage');
        ?>
		</div><!-- .wrap -->
	<?php 
    }
开发者ID:rochellecanale,项目名称:wordpress,代码行数:101,代码来源:multilanguage.php


注:本文中的bws_plugin_reviews_block函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。