and time.', 'woopoly'); ?> </p> <p> <?php _e('You can support the future development of this plugin and keep the users forum alive by making a small donation.', 'woopoly'); ?> </p> <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="YKMDTB62QYJUC"> <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> <p> <?php _e('If donations i not your thing, please support by rating the plugin on <a href="https://wordpress.org/support/view/plugin-reviews/woopoly">Wordpress Repository</a> , or by giving it a star on <a href="https://github.com/decarvalhoaa/woopoly">Github</a>.', 'woopoly'); ?> </p> <p> <?php echo \Hyyan\WPI\Plugin::getView('social'); ?> </p> </div>
/** * Output page content */ public function outputPage() { echo \Hyyan\WPI\Plugin::getView('admin', array('self' => $this)); }
?> </div> <!-- sidebar --> <div id="postbox-container-1" class="postbox-container"> <!-- About the plugin --> <div class="postbox"> <?php echo \Hyyan\WPI\Plugin::getView('Admin/about'); ?> </div> <!-- Support plugin --> <div class="postbox"> <?php echo \Hyyan\WPI\Plugin::getView('Admin/support'); ?> </div> <!-- Need help --> <div class = "postbox"> <?php echo \Hyyan\WPI\Plugin::getView('Admin/getHelp'); ?> </div> </div> </div> </div> </div>
/** * Show flash messages * * Show endpoints flash messages in defined screens only */ public function showFlashMessages() { $screen = get_current_screen(); $allowedPages = array('edit-shop_order', 'woocommerce_page_wc-settings', 'settings_page_mlang', 'woopoly'); if (in_array($screen->id, $allowedPages)) { FlashMessages::add(MessagesInterface::MSG_ENDPOINTS_TRANSLATION, Plugin::getView('Messages/endpointsTranslations')); } }
<h3> <span> <?php _e('About The Plugin', 'woo-poly-integration'); ?> </span> </h3> <div class="inside"> <div> <?php _e('The plugin is an open source project which aims to fill the gap between <a href="https://wordpress.org/plugins/woocommerce/">Woocommerce</a> and <a href="https://wordpress.org/plugins/polylang/">Polylang</a>', 'woo-poly-integration'); ?> <br><br> <p> <?php _e('Author : ', 'woo-poly-integration'); ?> <a href="https://github.com/hyyan">Hyyan Abo Fakher</a> </p> <?php echo \Hyyan\WPI\Plugin::getView('badges'); ?> </div> </div>