Initial commit.
This commit is contained in:
13
lib/wp-package-updater/templates/license-form.php
Normal file
13
lib/wp-package-updater/templates/license-form.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
} ?>
|
||||
<div class="wrap-license" data-package_slug="<?php echo esc_attr( $package_slug ); ?>" id="<?php echo esc_attr( 'wrap_license_' . $package_id ); ?>" data-nonce="<?php echo esc_attr( wp_create_nonce( 'license_nonce' ) ); ?>">
|
||||
<p class="license-message<?php echo ( ! $show_license ) ? esc_attr( ' hidden' ) : ''; ?>" style="font-weight:bold;"><?php // @codingStandardsIgnoreLine ?>
|
||||
<span class="current-license-error hidden"></span> <span class="current-license-label"><?php esc_html_e( 'Current license key:', 'wp-package-updater' ); ?></span> <span class="current-license"><?php echo esc_html( $license ); ?></span>
|
||||
</p>
|
||||
<p>
|
||||
<label style="vertical-align: initial;"><?php esc_html_e( 'License key to change:', 'wp-package-updater' ); ?></label> <input class="regular-text license" type="text" id="<?php echo esc_attr( 'license_key_' . $package_id ); ?>" value="" >
|
||||
<input type="button" value="Activate" class="button-primary activate-license" />
|
||||
<input type="button" value="Deactivate" class="button deactivate-license" />
|
||||
</p>
|
||||
</div>
|
||||
Reference in New Issue
Block a user