public static function list_addons() { $installed_addons = apply_filters('frm_installed_addons', array()); $pro_link = 'http://formidablepro.com/pricing'; $addons = self::get_api_addons(); if (!is_array($addons)) { $addons = array(array('url' => $pro_link, 'name' => 'Formidable Pro', 'slug' => 'formidable_pro')); } else { $addons = $addons['products']; } $addons = array_reverse($addons); $append_affiliate = FrmAppHelper::affiliate(); $plugin_names = array('formidable-pro' => 'formidable/pro', 'wp-multilingual' => 'formidable-wpml', 'registration-lite' => 'formidable-registration', 'bootstrap-modal' => 'formidable-modal', 'paypal-standard' => 'formidable-paypal', 'formidable-api' => 'formidable-api'); include FrmAppHelper::plugin_path() . '/classes/views/addons/list.php'; }
public static function contextual_help($help, $screen_id, $screen) { // Only add to certain screens. add_help_tab was introduced in WordPress 3.3 if ($screen_id != 'formidable_page_formidable-entries' || !method_exists($screen, 'add_help_tab')) { return $help; } $action = FrmAppHelper::simple_get('frm_action', 'sanitize_title'); $page = FrmAppHelper::simple_get('page', 'sanitize_title'); if ($page != 'formidable-entries' || !empty($action) && $action != 'list') { return $help; } unset($action, $page); $screen->add_help_tab(array('id' => 'formidable-entries-tab', 'title' => __('Overview', 'formidable'), 'content' => '<p>' . esc_html__('This screen provides access to all of your entries. You can customize the display of this screen to suit your workflow.', 'formidable') . '</p> <p>' . esc_html__('Hovering over a row in the entries list will display action links that allow you to manage your entry.', 'formidable') . '</p>')); $screen->set_help_sidebar('<p><strong>' . esc_html__('For more information:', 'formidable') . '</strong></p>' . '<p><a href="http://formidablepro.com/knowledgebase/manage-entries-from-the-back-end/' . FrmAppHelper::affiliate() . '" target="_blank">' . esc_html__('Documentation on Entries', 'formidable') . '</a></p>' . '<p><a href="http://formidablepro.com/help-topics/' . FrmAppHelper::affiliate() . '" target="_blank">' . esc_html__('Support', 'formidable') . '</a></p>'); return $help; }
echo $a == 'general_settings' ? 'frm_block' : 'frm_hidden'; ?> "> <?php if (!is_multisite() || is_super_admin()) { ?> <div class="postbox"> <div class="inside"> <p class="alignright"><?php printf(__('%1$sClick here%2$s to get it now', 'formidable'), '<a href="http://formidablepro.com' . esc_url(FrmAppHelper::affiliate()) . '">', '</a>'); ?> »</p> <p><?php _e('Ready to take your forms to the next level?<br/>Formidable Forms will help you create views, manage data, and get reports.', 'formidable'); ?> </p> <p>Already signed up? <a href="https://formidablepro.com/knowledgebase/install-formidable-forms/<?php echo esc_url(FrmAppHelper::affiliate()); ?> " target="_blank"><?php _e('Click here', 'formidable'); ?> </a> to get installation instructions and download the pro version.</p> </div> </div> <?php } ?> </div>