* @copyright (c) 2013, OnePress Ltd * * @package core * @since 1.0.0 */ /** * The class configure the metabox Social Options. * * @since 1.0.0 */ class OPanda_ConnectOptionsMetaBox extends FactoryMetaboxes321_FormMetabox { /** * A visible title of the metabox. * * Inherited from the class FactoryMetabox. * @link http://codex.wordpress.org/Function_Reference/add_meta_box * * @since 1.0.0 * @var string */ public $title; /** * A prefix that will be used for names of input fields in the form. * * Inherited from the class FactoryFormMetabox. * * @since 1.0.0 * @var string */ public $scope = 'opanda'; /** * The priority within the context where the boxes should show ('high', 'core', 'default' or 'low'). * * @link http://codex.wordpress.org/Function_Reference/add_meta_box * Inherited from the class FactoryMetabox. * * @since 1.0.0 * @var string */ public $priority = 'core'; public $cssClass = 'factory-bootstrap-331'; public function __construct( $plugin ) { parent::__construct( $plugin ); $this->title = __('Connect Options', 'signinlocker'); } /** * Configures a metabox. */ public function configure( $scripts, $styles) { $styles->add( BIZPANDA_SIGNIN_LOCKER_URL . '/admin/assets/css/connect-options.050600.css'); $scripts->add( BIZPANDA_SIGNIN_LOCKER_URL . '/admin/assets/js/connect-options.050601.js'); do_action( 'opanda_connect_options_assets', $scripts, $styles ); } /** * Configures the connect buttons options. */ public function form( $form ) { require_once OPANDA_BIZPANDA_DIR . '/admin/includes/plugins.php'; $options = array(); $options[] = array( 'type' => 'html', 'html' => '
' . $description . '
'; return 'See emails of users who already signed-up or export emails in the CSV format.', 'signinlocker'), admin_url('edit.php?post_type=opanda-item&page=leads-bizpanda'), admin_url('admin.php?page=leads-bizpanda&action=export') ) ?>
Opt-In Panda to subscribe automatically all the signed-up users to your mailing list. Supports the most services and plugins: Aweber, MailChimp, GetResponse, MyMail, MailPoet, K-news and more.'), $url ) ?>
Opt-In Panda to subscribe automatically all the signed-up users to your mailing list. Supports the most services and plugins: Aweber, MailChimp, GetResponse, MyMail, MailPoet, K-news and more.'), $url ) ?>
%s (change).', 'signinlocker' ), $defaultRole, admin_url('options-general.php') ) ?>
Click here to select a free plugin to customize the welcome email.', 'signinlocker' ), $defaultRole, admin_url('options-general.php') ) ?>