" . __( 'The Affiliates Jigoshop Integration Light plugin requires an Affiliates plugin to be activated: Visit the Affiliates plugin page', AFF_JIGOSHOP_LIGHT_PLUGIN_DOMAIN ) . "";
}
if ( !$jigoshop_is_active ) {
self::$admin_messages[] = "
" . __( 'The Affiliates Jigoshop Integration Light plugin requires the Jigoshop plugin to be activated.', AFF_JIGOSHOP_LIGHT_PLUGIN_DOMAIN ) . "
";
}
if ( $affiliates_jigoshop_is_active ) {
self::$admin_messages[] = "
" . __( 'You do not need to use the Affiliates Jigoshop Integration Light plugin because you are already using the advanced Affiliates Jigoshop Integration plugin. Please deactivate the Affiliates Jigoshop Integration Light plugin now.', AFF_JIGOSHOP_LIGHT_PLUGIN_DOMAIN ) . "
';
$output .= __( 'You can support the development of the Affiliates plugin and get additional features with Affiliats Pro or Affiliates Enterprise.', AFF_JIGOSHOP_LIGHT_PLUGIN_DOMAIN );
$output .= '
';
$output .= '
';
$output .= '';
$output .= '
';
echo $output;
affiliates_footer();
}
/**
* Add a notice to the footer that the integration is active.
* @param string $footer
*/
public static function affiliates_footer( $footer ) {
$options = get_option( self::PLUGIN_OPTIONS , array() );
$usage_stats = isset( $options[self::USAGE_STATS] ) ? $options[self::USAGE_STATS] : self::USAGE_STATS_DEFAULT;
return
'