mirror of
https://gh.wpcy.net/https://github.com/aspirepress/aspireupdate.git
synced 2026-07-17 09:56:36 +08:00
* Decoupled translations using `afragen/translations-updater` dependency (#178) Moved translations into separate repo and using git updater code to load translations off github repo translations. --------- Signed-off-by: Andy Fragen <andy@thefragens.com> * Change textdomain from mixed case to lowercase (#191) * update mixed case textdomain to lowercase of aspireupdate references * rename `AspireUpdate` repository to `aspireupdate` * change text domain header * add composer script to more easily create POT file * requires WP-CLI installed locally Signed-off-by: Andy Fragen <andy@thefragens.com> * update referenced to mixed case repository (#193) * add GA to generate POT on tag/release (#196) * run GA on push to `main` and feature branch (#197) * update afragen/translations-updater with error caching/logging (#199) * update afragen/translations-updater with error caching/logging * fix return of false due to validation failure * return WP_Error instead of false * better error handling * updates to afragen/translations-updater * composer update * update error log messaging * update library * Fix version number in POT workflow (#202) * Set POT generation action version to `2.0`. (#204) * Add write permissions to POT generation workflow. (#205) * 💬 POT File Regenerated --------- Signed-off-by: Andy Fragen <andy@thefragens.com> Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com> Co-authored-by: WordPress BOT <githubactionbot+wp@gmail.com>
30 lines
1.2 KiB
PHP
30 lines
1.2 KiB
PHP
<?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>
|
|
<a href="javascript:;" id="aspireupdate-button-clearlog" class="button button-secondary button-clearlog" ><?php esc_html_e( 'Clear Log', 'aspireupdate' ); ?></a>
|
|
<a href="javascript:;" id="aspireupdate-button-viewlog" class="button button-secondary button-viewlog" ><?php esc_html_e( 'View Log', 'aspireupdate' ); ?></a>
|
|
</p>
|
|
</form>
|
|
<div id="aspireupdate-log-viewer">
|
|
<div class="outer">
|
|
<span class="close"></span>
|
|
<div class="inner">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php Utilities::include_file( 'voltron.txt' ); ?>
|
|
</div>
|