" . __( 'The Affiliates eShop Integration Light plugin requires an Affiliates plugin to be activated: Visit the Affiliates plugin page', AFF_ESHOP_LIGHT_PLUGIN_DOMAIN ) . "";
}
if ( !$eshop_is_active ) {
self::$admin_messages[] = "
" . __( 'The Affiliates eShop Integration Light plugin requires the eShop plugin to be activated.', AFF_ESHOP_LIGHT_PLUGIN_DOMAIN ) . "
";
}
if ( $affiliates_eshop_is_active ) {
self::$admin_messages[] = "
" . __( 'You do not need to use the Affiliates eShop Integration Light plugin because you are already using the advanced Affiliates eShop Integration plugin. Please deactivate the Affiliates eShop Integration Light plugin now.', AFF_ESHOP_LIGHT_PLUGIN_DOMAIN ) . "
';
$output .= __( 'You can support the development of the Affiliates plugin and get additional features with Affiliates Pro for eShop.', AFF_ESHOP_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
'