File: /home/e/z/p/ezpgggd/www-old/wp-content/plugins/modula/includes/admin/tabs/license.php
<?php
$license = get_option( 'modula_pro_license_key' );
$status = get_option( 'modula_pro_license_status', false );
$status->license === 'valid';
$messages = array(
'no-license' => esc_html__( 'Enter your license key', 'modula-pro' ),
'activate-license' => esc_html__( 'Activate your license key', 'modula-pro' ),
'all-good' => __( 'Your license is active until <strong>%s</strong>', 'modula-pro' ),
'lifetime' => __( 'Your license is active <strong>forever</strong>', 'modula-pro' ),
);
?>
<div class="row">
<?php do_action( 'modula_license_errors' ) ?>
<form method="post" action="options.php">
<?php settings_fields('modula_pro_license_key'); ?>
<table class="form-table">
<tbody>
<tr valign="top">
<th scope="row" valign="top">
<?php esc_html_e('License Key', 'modula-pro'); ?>
</th>
<td>
<input id="modula_pro_license_key" name="modula_pro_license_key" type="password" class="regular-text" value="<?php echo esc_attr( $license ); ?>" />
<label class="description modula-license-label" for="modula_pro_license_key">
<?php
$date_format = get_option( 'date_format' );
echo $messages['lifetime'];
?>
</label>
</td>
</tr>
<tr valign="top">
<th scope="row" valign="top">
<?php esc_html_e('Activate License', 'modula-pro'); ?>
</th>
<td>
<?php wp_nonce_field( 'modula_pro_license_nonce', 'modula_pro_license_nonce' ); ?>
<input type="submit" class="button-secondary" name="modula_pro_license_deactivate" value="<?php esc_html_e('Deactivate License', 'modula-pro'); ?>"/>
</td>
</tr>
</tbody>
</table>
<?php submit_button(); ?>
</form>
</div>