Google
Edit File: pro_banners.php
<?php /** * Display banners on settings page * @package Captcha by BestWebSoft * @since 4.1.5 */ /** * Show ads for PRO * @param string $func function to call * @return void */ if ( ! function_exists( 'cptch_pro_block' ) ) { function cptch_pro_block( $func, $show_cross = true, $display_always = false ) { global $cptch_plugin_info, $wp_version, $cptch_options; if ( $display_always || ! bws_hide_premium_options_check( $cptch_options ) ) { ?> <div class="bws_pro_version_bloc cptch_pro_block <?php echo $func;?>" title="<?php _e( 'This options is available in Pro version of plugin', 'captcha' ); ?>"> <div class="bws_pro_version_table_bloc"> <?php if ( $show_cross ) { ?> <button type="submit" name="bws_hide_premium_options" class="notice-dismiss bws_hide_premium_options" title="<?php _e( 'Close', 'captcha' ); ?>"></button> <?php } ?> <div class="bws_table_bg"></div> <?php call_user_func( $func ); ?> </div> <div class="bws_pro_version_tooltip"> <a class="bws_button" href="https://bestwebsoft.com/products/wordpress/plugins/captcha/?k=9701bbd97e61e52baa79c58c3caacf6d&pn=75&v=<?php echo $cptch_plugin_info["Version"]; ?>&wp_v=<?php echo $wp_version; ?>" target="_blank" title="Captcha Pro by BestWebSoft Plugin"><?php _e( 'Upgrade to Pro', 'captcha' ); ?></a> </div> </div> <?php } } } if ( ! function_exists( 'cptch_whitelist_banner' ) ) { function cptch_whitelist_banner() { ?> <table class="form-table bws_pro_version"> <tr> <td valign="top"><?php _e( 'Reason', 'captcha' ); ?> <input disabled type="text" style="margin: 10px 0;"/><br /> <span class="bws_info" style="line-height: 2;"><?php _e( "Allowed formats", 'captcha' ); ?>: <code>192.168.0.1, 192.168.0., 192.168., 192., 192.168.0.1/8, 123.126.12.243-185.239.34.54</code></span><br /> <span class="bws_info" style="line-height: 2;"><?php _e( "Allowed separators for IPs: a comma", 'captcha' ); ?> (<code>,</code>), <?php _e( 'semicolon', 'captcha' ); ?> (<code>;</code>), <?php _e( 'ordinary space, tab, new line or carriage return', 'captcha' ); ?></span><br /> <span class="bws_info" style="line-height: 2;"><?php _e( "Allowed separators for reasons: a comma", 'captcha' ); ?> (<code>,</code>), <?php _e( 'semicolon', 'captcha' ); ?> (<code>;</code>), <?php _e( 'tab, new line or carriage return', 'captcha' ); ?></span> </td> </tr> </table> <?php } } /** * @since 4.2.0 */ if ( ! function_exists( 'cptch_packages_banner' ) ) { function cptch_packages_banner() { ?> <div class="upload-plugin cptch_install_package_wrap"> <div class="bws_form wp-upload-form"> <p> <label><input type="file" disabled="disabled"></label> </p> <p><?php _e( 'If the package already exists', 'captcha' ); ?></p> <p> <label><input disabled="disabled" checked="checked" type="radio" /><?php _e( 'Skip it', 'captcha' ); ?><label><br> <label><input disabled="disabled" type="radio" /><?php _e( 'Update the existed one', 'captcha' ); ?><label><br> <label><input disabled="disabled" type="radio" /><?php _e( 'Save it as new', 'captcha' ); ?><label> </p> <p> <label><input disabled="disabled" class="button-primary" value="<?php _e( 'Install Now', 'captcha' ); ?>" type="submit" /></label> <a class="cptch_add_ons_link" href="https://bestwebsoft.com/products/wordpress/plugins/captcha/#addons" target="_blank"><?php _e( 'Browse packages', 'captcha' ); ?></a> </p> </div> </div> <?php } } /** * * @since 4.2.3 */ if ( ! function_exists( 'cptch_additional_options' ) ) { function cptch_additional_options() { $src = plugins_url( 'images/package/', dirname( __FILE__ ) ); ?> <table class="form-table"> <tr> <th scope="row"><?php _e( 'Use general settings', 'captcha' );?></th> <td><fieldset><input type="checkbox" disabled="disabled" /></fieldset></td> </tr> <tr class="cptch_form_option_used_packages"> <th scope="row"><?php _e( 'Use image packages', 'captcha' );?></th> <td> <fieldset> <div class="cptch_tabs_package_list cptch_pro_pack_tab"> <ul class="cptch_tabs_package_list_items"> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_bt/0.png"></span> <span>Arabic ( black numbers - transparent background )</span> </li> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_bw/0.png"></span> <span>Arabic ( black numbers - white background )</span> </li> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_wb/0.png"></span> <span>Arabic ( white numbers - black background )</span> </li> </ul> </div> </fieldset> </td> </tr> <tr> <th scope="row"><label for="cptch_form_wp_comments_enable_time_limit"><?php _e( 'Enable time limit', 'captcha' ); ?></label></th> <td> <fieldset> <input type="checkbox" disabled="disabled" /> <?php _e( 'for', 'captcha' ); ?> <input value="120" type="number" disabled="disabled" /> <?php _e( 'seconds', 'captcha' ); ?></span> </fieldset> </td> </tr> </table> <?php } } /** * * @since 4.2.3 */ if ( ! function_exists( 'cptch_option_tab' ) ) { function cptch_option_tab() { $src = plugins_url( 'images/package/', dirname( __FILE__ ) ); ?> <table class="form-table"> <tr> <th scope="row"><?php _e( 'Enable', 'captcha' );?></th> <td><fieldset><input type="checkbox" disabled="disabled" /></fieldset></td> </tr> <tr> <th scope="row"><?php _e( 'Hide from registered users', 'captcha' );?></th> <td><fieldset><input type="checkbox" disabled="disabled" /></fieldset></td> </tr> <tr> <th scope="row"><?php _e( 'Use general settings', 'captcha' );?></th> <td><fieldset><input type="checkbox" disabled="disabled" /></fieldset></td> </tr> <tr class="cptch_form_option_used_packages"> <th scope="row"><?php _e( 'Use image packages', 'captcha' );?></th> <td> <fieldset> <div class="cptch_tabs_package_list cptch_pro_pack_tab"> <ul class="cptch_tabs_package_list_items"> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_bt/0.png"></span> <span>Arabic ( black numbers - transparent background )</span> </li> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_bw/0.png"></span> <span>Arabic ( black numbers - white background )</span> </li> <li> <span><input type="checkbox" disabled="disabled" /></span> <span><img src="<?php echo $src; ?>arabic_wb/0.png"></span> <span>Arabic ( white numbers - black background )</span> </li> </ul> </div> </fieldset> </td> </tr> <tr> <th scope="row"><label for="cptch_form_wp_comments_enable_time_limit"><?php _e( 'Enable time limit', 'captcha' ); ?></label></th> <td> <fieldset> <input type="checkbox" disabled="disabled" /> <?php _e( 'for', 'captcha' ); ?> <input value="120" type="number" disabled="disabled" /> <?php _e( 'seconds', 'captcha' ); ?></span> </fieldset> </td> </tr> </table> <?php } } /** * * @since 4.2.3 */ if ( ! function_exists( 'cptch_use_several_packages' ) ) { function cptch_use_several_packages() { ?> <table class="form-table"> <tr> <th scope="row"><?php _e( 'Use several image packages at the same time', 'captcha' );?></th> <td><fieldset><input type="checkbox" disabled="disabled" /></fieldset></td> </tr> </table> <?php } }