<?php
/**
 * @var $phone_verification_option
 * @var $phone_verification_number
 * @var $phone_verification_data
 * @var $phone_verification_url
 */

if ( $phone_verification_option == 'yes' ) {

	if ( $phone_verification_number == '' ) {

		wpj_display_message( array(
			'message_class'     => 'negative center',
			'is_hidden'         => false,
			'with_close_icon'   => false,
			'icon_class'        => false,
			'message_content'   => sprintf( __( 'Phone verification is required, please %sedit your profile%s and fill your phone number.', 'wpjobster' ), '<a href=' . wpj_get_my_settings_link() . '>', '</a>' ),
			'content_paragraph' => false,
		) );

	} elseif ( $phone_verification_number != '' && $phone_verification_data != 1 ) {

		wpj_display_message( array(
			'message_class'     => 'negative center',
			'is_hidden'         => false,
			'with_close_icon'   => false,
			'icon_class'        => false,
			'message_content'   => sprintf( __( 'Please verify your phone number. Please %sclick here%s to receive a verification code.', 'wpjobster' ), '<a href=' . $phone_verification_url . '>', '</a>' ),
			'content_paragraph' => false,
		) );

	}

}