';
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(),
'style' => array( 'type' => array() )
)
);
echo '
'; // .manage
affiliates_footer();
}
/**
* Returns information on the integration.
*
* @return string
*/
private static function get_info() {
return
'' .
sprintf(
/* translators: 1: Affiliates, 2: itthinx URL */
esc_html__( 'You have the %1$s integration by %2$s for Formidable Forms installed.', 'affiliates-formidable' ),
'Affiliates',
'itthinx'
) .
'
' .
'' .
sprintf(
/* translators: 1: Affiliates, 2: Affiliates Pro, 3: Affiliates Enterprise, 4: Formidable Forms */
esc_html__( 'It integrates %1$s, %2$s and %3$s with %4$s.', 'affiliates-formidable' ),
'Affiliates',
'Affiliates Pro',
'Affiliates Enterprise',
'Formidable Forms'
) .
'
' .
'' .
esc_html__( 'This integration features:', 'affiliates-formidable' ) . '' .
'
' .
'' .
'- ' .
sprintf(
/* translators: Affiliates Registration Forms */
esc_html__( '%s Allow affiliates to sign up through a form provided by Formidable Forms.', 'affiliates-formidable' ),
'Affiliate Registration Forms —'
) .
' ' .
sprintf(
/* translators: 1: Affiliates icon 2: Affiliates Registration */
esc_html__( 'To allow affiliates to register through a form, edit the form Settings, under Form Actions add and configure the %1$s %2$s action.', 'affiliates-formidable' ),
'
',
'Affiliates Registration'
) .
' ' .
'- ' .
sprintf(
/* translators: Affiliates and Leads */
esc_html__( '%s Allow affiliates to refer others to the site, record referrals to grant commissions on form submissions and gather leads.', 'affiliates-formidable'),
'Referrals and Leads —'
) .
' ' .
sprintf(
/* translators: 1: Affiliates icon 2: Affiliates */
esc_html__( 'To enable referrals for a form, edit the form Settings, under Form Actions add and configure the %1$s %2$s action.', 'affiliates-formidable' ),
'
',
'Affiliates'
) .
' ' .
'
' .
'' .
esc_html__( 'Please refer to these documentation pages for more details:', 'affiliates-formidable' ) .
'
' .
'- ' .
sprintf(
/* translators: Affiliates */
esc_html__( 'Integration with %s', 'affiliates-formidable' ),
'Affiliates'
) .
'
' .
'- ' .
sprintf(
/* translators: Affiliates Pro */
esc_html__( 'Integration with %s', 'affiliates-formidable' ),
'Affiliates Pro'
) .
'
' .
'- ' .
sprintf(
/* translators: Affiliates Enterprise */
esc_html__( 'Integration with %s', 'affiliates-formidable' ),
'Affiliates Enterprise'
) .
'
' .
'
' .
'' .
// @since 3.2.0 hide irrelevant message
'';
}
}
Affiliates_Formidable_Admin::init();