░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
vps.doorgans.com
LOCATION:
/home/fotosel/.trash/wp-content/plugins/call-now-button/src/admin/legacy
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: CnbLegacyUpgrade.php
<?php namespace cnb\admin\legacy; // don't load directly defined( 'ABSPATH' ) || die( '-1' ); use cnb\utils\CnbAdminFunctions; use cnb\CnbHeaderNotices; use cnb\utils\CnbUtils; class CnbLegacyUpgrade { function header() { echo 'Unlock extra features'; } function standard_plugin_promobox() { ?> <div class="cnb-body-column hide-on-mobile"> <?php ( new CnbAdminFunctions() )->cnb_promobox( 'grey', 'Standard plugin', '<p>✓ One button<br> ✓ Phone<br><br> ✓ Circular (single action)<br> ✓ Buttonbar (single action)<br> ✓ Action label<br> <br> </p> <hr> <p> ✓ Placement options<br> ✓ For mobile devices<br> ✓ Include or exclude pages<br> <br> <br> </p> <hr> <p> ✓ Google Analytics tracking<br> ✓ Google Ads conversion tracking<br> </p> <hr> <p> ✓ Adjust the button size<br> ✓ Flexible z-index<br> </p>', 'admin-plugins', '<strong>Free</strong>', 'Currently active', 'disabled' ); ?> </div> <?php } function premium_plugin_promobox() { $cnb_utils = new CnbUtils(); ?> <div class="cnb-body-column"> <?php ( new CnbAdminFunctions() )->cnb_promobox( 'purple', 'Premium', ' <p><strong>✓ Lots of buttons!</strong><br> ✓ Phone, SMS/Text, Email, Maps, URLs, Anchors (with smooth scroll)<br> ✓ WhatsApp, Facebook Messenger, Telegram, Signal<br> ✓ Circular button (single & multi action)<br> ✓ Buttonbar (multi action)<br> ✓ Action labels<br> ✓ WhatsApp chat modal<a href="' . esc_url($cnb_utils->get_support_url('wordpress/buttons/whatsapp-modal/', 'question-mark', 'whatsapp-modal' ) ) . '" target="_blank" class="cnb-nounderscore"><span class="dashicons dashicons-editor-help"></span></a><br> </p> <hr> <p> ✓ Placement options<br> ✓ For mobile and desktop/laptop<br> ✓ Advanced page targeting<br> ✓ Scheduling<br> ✓ Button animations (to draw attention)<br> ✓ Icon selection<br> </p> <hr> <p> ✓ Google Analytics tracking<br> ✓ Google Ads conversion tracking<br> </p> <hr> <p> ✓ Adjust the button size<br> ✓ Flexible z-index<br> ✓ Live button preview</p> <hr> <p class="cnb_align_center"><strong style="text-decoration:underline">FREE</strong> with subtle branding. PRO from €<span class="eur-per-month"></span>/$<span class="usd-per-month"></span> per month.</p>', 'cloud', CnbHeaderNotices::cnb_settings_email_activation_input(), 'none' ); ?> </div> <?php } function upgrade_faq() { ?> <div style="max-width:600px;margin:0 auto"> <h1 class="cnb-center">FAQ</h1> <h3>Can I really get Premium for Free?</h3> <p>Yes. You can use all premium features of the Call Now Button for free. No credit card is required. You only need an account for that. The difference with the paid Premium plans is that a small "Powered by" notice is added to your buttons.</p> <h3>Does the Premium plan require an account?</h3> <p>Yes. We want the Call Now Button to be accessible to all website owners. Even those that do not have a WordPress powered website. The Premium version of the Call Now Button can be used by everyone. You can continue to manage your buttons from your WordPress instance, but you could also do this via our web app. And should you ever move to a different CMS, your button(s) will just move with you.</p> <h3>What is the "powered by" notice on the Free Premium plan?</h3> <p>Call Now Button Premium is available for a small yearly or annual fee, but it is also possible to get it for <em>free</em>. The free option introduces a small notice to your buttons that says "Powered by Call Now Button". It's very delicate and will not distract the the visitor from your content.</p> </div> <?php } public static function render() { wp_enqueue_script( CNB_SLUG . '-settings' ); $view = new CnbLegacyUpgrade(); add_action( 'cnb_header_name', array( $view, 'header' ) ); do_action( 'cnb_header' ); ?> <div class="cnb-one-column-section"> <div class="cnb-body-content"> <div class="cnb-two-promobox-row"> <?php $view->standard_plugin_promobox() ?> <?php $view->premium_plugin_promobox() ?> </div> <?php $view->upgrade_faq() ?> </div> </div> <hr> <?php do_action( 'cnb_footer' ); } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 CnbLegacyController.php
PHP
490 B
2022-06-09 15:28
EDIT
📄 CnbLegacyEdit.php
PHP
29.7 KB
2022-06-09 15:28
EDIT
📄 CnbLegacyUpgrade.php
PHP
5.7 KB
2022-06-09 15:28
EDIT
📄 index.php
PHP
27 B
2022-06-09 15:28
EDIT