creation of the repo fbpatch

This commit is contained in:
asus
2024-07-17 15:30:32 +02:00
parent 1a071bf16f
commit 551dd7eee4
16 changed files with 1265 additions and 0 deletions

24
html/menu.html Normal file
View File

@@ -0,0 +1,24 @@
<!--
{"calculations":false,"hide_show":false}
-->
<style>
.patches_wrapper {
margin: 20px 5px;
}
</style>
<!-- https://developer.wordpress.org/reference/hooks/admin_post_action/ -->
<form method="POST" action="<?php echo admin_url( 'admin-post.php' ); ?>">
<input type="hidden" name="action" value="<?php echo $admin_post_patches; ?>">
<?php wp_nonce_field($nonce['_action'], $nonce['_name']); ?>
<?php foreach($patches as $patch => $options) {?>
<div class="patches_wrapper">
<input type="checkbox" id="<?php echo $patch; ?>" name="<?php echo $patch; ?>" <?php echo $options['checked'] === true ? "checked" : "" ?> />
<label for="<?php echo $patch; ?>"><b><?php echo $options['title']; ?> : </b><?php echo $options['description']; ?></label>
</div>
<?php } ?>
<input type="submit" value="send"/>
</form>