-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move HTML Views out of the Logic Move HTML Views out of the Logic * WPCS Fixes WPCS Fixes
- Loading branch information
Showing
4 changed files
with
111 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
namespace AspireUpdate; | ||
|
||
$reset_url = $args['reset_url'] ?? ''; | ||
$option_group = $args['option_group'] ?? ''; | ||
?> | ||
<div class="wrap"> | ||
<h1><?php esc_html_e( 'AspireUpdate Settings', 'AspireUpdate' ); ?></h1> | ||
<form id="aspireupdate-settings-form" method="post" action="index.php?page=aspireupdate-settings"> | ||
<?php | ||
settings_fields( $option_group ); | ||
do_settings_sections( 'aspireupdate-settings' ); | ||
?> | ||
<p class="submit"> | ||
<?php wp_nonce_field( 'aspireupdate-settings' ); ?> | ||
<?php submit_button( '', 'primary', 'submit', false ); ?> | ||
<a href="<?php echo esc_url( $reset_url ); ?>" class="button button-secondary" ><?php esc_html_e( 'Reset', 'AspireUpdate' ); ?></a> | ||
</p> | ||
</form> | ||
<?php Utilities::include_file( 'voltron.txt' ); ?> | ||
</div> |
Oops, something went wrong.