<?php
if (!defined('ABSPATH'))
    die('Restricted Access');
?>
<tr id="<?php echo esc_attr( sanitize_title( $addon_slug . '_transaction_key_row' ) ); ?>" class="active plugin-update-tr jsst-updater-licence-key-tr">
	<td class="plugin-update" colspan="3">
		<div class="jsst-updater-licence-key">
			<label for="<?php echo esc_attr(sanitize_title( $addon_slug )); ?>_transaction_key"><?php esc_html_e( 'Transaction Key', 'js-support-ticket' ); ?>:</label>
			<input type="text" id="<?php echo esc_attr(sanitize_title( $addon_slug )); ?>_transaction_key" name="<?php echo esc_attr( $addon_slug ); ?>_transaction_key" placeholder="XXXXXXXXXXXXXXXX" />
			<input type="submit" id="<?php echo esc_attr(sanitize_title( $addon_slug )); ?>_submit_button" name="<?php echo esc_attr( $addon_slug ); ?>_submit_button" value="Authenticate" />
			<input type="hidden" name="jsst_addon_array_for_token[]" value="<?php echo esc_attr( $addon_slug ); ?>" />
			<div>
				<span class="description"><?php esc_html_e( 'Please select )'.strtoupper( jssupportticketphplib::JSST_substr( $updateaddon_slug, 0, 2 ) ).substr( jssupportticketphplib::JSST_ucwords($updateaddon_slug), 2 ).'</b> and Enter your license key and hit to authenticate. A valid key is required for updates.', 'js-support-ticket' ); ?> <?php printf( 'Lost your key? <a href="%s">Retrieve it here</a>.', esc_url( 'https://jshelpdesk.com/' ) ); ?></span>
			</div>
		</div>
	</td>
</tr>
<tr>
	<?php
	/*
	$latest_version = get_option('jsticketdsknotifwp_latest_version');
	if ($latest_version != false && version_compare( $latest_version, $this->plugin_data['Version'], '>' ) ) {
	?>
		<td class="plugin-update plugin-update colspanchange" colspan="3">
			<div class="update-message notice inline notice-warning notice-alt"><p>There is a new version of JS Ticket Notification available. Insert key to update plugin </p></div>
		</td>
	<?php }
	*/ ?>
</tr>
