';
echo 'div.field { padding: 0 1em 1em 0; }';
echo 'div.field span.label { display: inline-block; width: 20%; }';
echo 'div.field span.description { display: block; }';
echo 'div.buttons { padding-top: 1em; }';
echo '';
echo '
';
echo '
';
esc_html_e( 'Affiliates Formidable Forms Integration', 'affiliates-formidable' );
echo '
';
echo '';
echo '';
echo wp_kses(
self::get_info(),
array(
'p' => array(),
'a' => array( 'href' => array() ),
'ul' => array( 'style' => array() ),
'li' => array(),
'img' => array( 'src' => array(), 'style' => array(), 'width' => array(), 'height' => array() ),
'strong' => array(),
'em' => array()
)
);
echo '
'; // .manage
affiliates_footer();
}
/**
* Returns information on the integration.
*
* @return string
*/
private static function get_info() {
return
'' .
sprintf(
__( 'You have the Affiliates integration by itthinx for Formidable Forms installed.', 'affiliates-formidable' ),
esc_url( 'https://www.itthinx.com/' )
) .
'
' .
'' .
sprintf(
wp_kses(
__( 'It integrates Affiliates, Affiliates Pro and Affiliates Enterprise with Formidable Forms.', 'affiliates-formidable' ),
array( 'a' => array( 'href' => array() ) )
),
esc_url( 'https://wordpress.org/plugins/affiliates/' ),
esc_url( 'https://www.itthinx.com/shop/affiliates-pro/' ),
esc_url( 'https://www.itthinx.com/shop/affiliates-enterprise/' ),
esc_url( 'https://wordpress.org/plugins/formidable/' )
) .
'
' .
'' .
esc_html__( 'This integration features:', 'affiliates-formidable' ) . '' .
'
' .
'' .
'- ' .
__( 'Affiliate Registration Forms — Allow affiliates to sign up through a form provided by Formidable Forms.', 'affiliates-formidable' ) .
' ' .
wp_kses(
sprintf(
__( 'To allow affiliates to register through a form, edit the form Settings, under Form Actions add and configure the
Affiliates Registration action.', 'affiliates-formidable' ),
esc_url( AFFILIATES_FORMIDABLE_PLUGIN_URL . '/images/affiliates-registration-formidable-icon.png' )
),
array( 'strong' => array(), 'img' => array( 'src' => array(), 'style' => array(), 'width' => array(), 'height' => array() ) )
) .
' ' .
'- ' .
__( 'Referrals and Leads — Allow affiliates to refer others to the site, record referrals to grant commissions on form submissions and gather leads.', 'affiliates-formidable' ) .
' ' .
wp_kses(
sprintf(
__( 'To enable referrals for a form, edit the form Settings, under Form Actions add and configure the
Affiliates action.', 'affiliates-formidable' ),
esc_url( AFFILIATES_FORMIDABLE_PLUGIN_URL . '/images/affiliates-formidable-icon.png' )
),
array( 'strong' => array(), 'img' => array( 'src' => array(), 'style' => array(), 'width' => array(), 'height' => array() ) )
) .
' ' .
'
' .
'' .
esc_html__( 'Please refer to these documentation pages for more details:', 'affiliates-formidable' ) .
'
' .
'- ' .
sprintf(
wp_kses( __( 'Integration with Affiliates', 'affiliates-formidable' ), array( 'a' => array( 'href' => array() ) ) ),
esc_url( 'http://docs.itthinx.com/document/affiliates/setup/settings/integrations/' )
) .
'
' .
'- ' .
sprintf(
wp_kses( __( 'Integration with Affiliates Pro', 'affiliates-formidable' ), array( 'a' => array( 'href' => array() ) ) ),
esc_url( 'http://docs.itthinx.com/document/affiliates-pro/setup/settings/integrations/' )
) .
'
' .
'- ' .
sprintf(
wp_kses( __( 'Integration with Affiliates Enterprise', 'affiliates-formidable' ), array( 'a' => array( 'href' => array() ) ) ),
esc_url( 'http://docs.itthinx.com/document/affiliates-enterprise/setup/settings/integrations/' )
) .
'
' .
'
' .
'';
}
}
Affiliates_Formidable_Admin::init();