product; $this->show_license_form_heading(); if( $api_host_available['availability'] === false ){ echo '

' . sprintf( __( 'We couldn\'t create a connection to our API to verify your license key(s). Please ask your hosting company to allow outgoing connections from your server to %s.', $product->get_text_domain() ), $api_host_available['url'] ) . '

'; } if( $api_host_available['curl_version'] !== false && version_compare( $api_host_available['curl_version'], '7.20.0', '<')){ echo '

' . sprintf( __( 'Your server has an outdated version of the PHP module cURL (Version: %s). Please ask your hosting company to update this to a recent version of cURL. You can read more about that in our %sKnowledge base%s.', $product->get_text_domain() ), $api_host_available['curl_version'], '', '' ) . '

'; } // Output form tags if we're not embedded in another form if( ! $embedded ) { echo '
'; } wp_nonce_field( $nonce_name, $nonce_name ); ?>
get_text_domain() ); ?> license_is_valid() ) { ?> get_text_domain() ); ?>   -   get_text_domain() ); ?> get_text_domain() ); ?>   -   not receiving updates.', $product->get_text_domain() ); ?>
get_text_domain() ); ?> license_is_valid() ) { ?>   get_text_domain() ); ?> get_license_key() !== '') { ?>   get_text_domain() ); } } ?>
get_text_domain() ); ?> /> license_constant_is_defined ) { ?>

get_text_domain() ), '' . $this->license_constant_name . '' ); ?>

license_is_valid() ) { $expiry_date = strtotime( $this->get_license_expiry_date() ); if( $expiry_date !== false ) { echo '

'; printf( __( 'Your %s license will expire on %s.', $product->get_text_domain() ), $product->get_item_name(), date('F jS Y', $expiry_date ) ); if( strtotime( '+3 months' ) > $expiry_date ) { printf( ' ' . __('%sRenew your license now%s.', $product->get_text_domain() ), '', '' ); } echo '

'; } } // Only show a "Save Changes" button and end form if we're not embedded in another form. if( ! $embedded ) { // only show "Save Changes" button if license is not activated and not defined with a constant if( $readonly === false && $api_host_available['availability'] === true ) { submit_button(); } echo '
'; } $product = null;