plugin-info
10 years ago
account.php
10 years ago
add-ons.php
10 years ago
admin-notice.php
10 years ago
all-admin-notice.php
10 years ago
checkout.php
10 years ago
connect.php
10 years ago
contact.php
10 years ago
deactivation-feedback-modal.php
10 years ago
debug.php
10 years ago
email.php
10 years ago
firewall-issues-js.php
10 years ago
pending-activation.php
10 years ago
plugin-icon.php
10 years ago
powered-by.php
10 years ago
pricing.php
10 years ago
sticky-admin-notice-js.php
10 years ago
debug.php
103 lines
| 1 | <h2><?php _efs( 'plugin-installs' ) ?> / <?php _efs( 'sites' ) ?></h2> |
| 2 | <?php |
| 3 | /** |
| 4 | * @var FS_Site[] $sites |
| 5 | */ |
| 6 | $sites = $VARS['sites']; |
| 7 | ?> |
| 8 | <table id="fs_installs" class="widefat"> |
| 9 | <thead> |
| 10 | <tr> |
| 11 | <th><?php _efs( 'id' ) ?></th> |
| 12 | <th><?php _efs( 'plugin' ) ?></th> |
| 13 | <th><?php _efs( 'plan' ) ?></th> |
| 14 | <th><?php _efs( 'public-key' ) ?></th> |
| 15 | <th><?php _efs( 'secret-key' ) ?></th> |
| 16 | </tr> |
| 17 | </thead> |
| 18 | <tbody> |
| 19 | <?php foreach ( $sites as $plugin_basename => $site ) : ?> |
| 20 | <tr> |
| 21 | <td><?php echo $site->id ?></td> |
| 22 | <td><?php echo dirname( $plugin_basename ) ?></td> |
| 23 | <td><?php |
| 24 | echo is_object( $site->plan ) ? $site->plan->name : '' |
| 25 | ?></td> |
| 26 | <td><?php echo $site->public_key ?></td> |
| 27 | <td><?php echo $site->secret_key ?></td> |
| 28 | </tr> |
| 29 | <?php endforeach ?> |
| 30 | </tbody> |
| 31 | </table> |
| 32 | <?php |
| 33 | $addons = $VARS['addons']; |
| 34 | ?> |
| 35 | <?php foreach ( $addons as $plugin_id => $plugin_addons ) : ?> |
| 36 | <h2><?php printf( __fs( 'addons-of-x' ), $plugin_id ) ?></h2> |
| 37 | <table id="fs_addons" class="widefat"> |
| 38 | <thead> |
| 39 | <tr> |
| 40 | <th><?php _efs( 'id' ) ?></th> |
| 41 | <th><?php _efs( 'title' ) ?></th> |
| 42 | <th><?php _efs( 'slug' ) ?></th> |
| 43 | <th><?php _efs( 'version' ) ?></th> |
| 44 | <th><?php _efs( 'public-key' ) ?></th> |
| 45 | <th><?php _efs( 'secret-key' ) ?></th> |
| 46 | </tr> |
| 47 | </thead> |
| 48 | <tbody> |
| 49 | <?php |
| 50 | /** |
| 51 | * @var FS_Plugin[] $plugin_addons |
| 52 | */ |
| 53 | foreach ( $plugin_addons as $addon ) : ?> |
| 54 | <tr> |
| 55 | <td><?php echo $addon->id ?></td> |
| 56 | <td><?php echo $addon->title ?></td> |
| 57 | <td><?php echo $addon->slug ?></td> |
| 58 | <td><?php echo $addon->version ?></td> |
| 59 | <td><?php echo $addon->public_key ?></td> |
| 60 | <td><?php echo $addon->secret_key ?></td> |
| 61 | </tr> |
| 62 | <?php endforeach ?> |
| 63 | </tbody> |
| 64 | </table> |
| 65 | <?php endforeach ?> |
| 66 | <h2><?php _efs( 'users' ) ?></h2> |
| 67 | <?php |
| 68 | /** |
| 69 | * @var FS_User[] $users |
| 70 | */ |
| 71 | $users = $VARS['users']; |
| 72 | ?> |
| 73 | <table id="fs_users" class="widefat"> |
| 74 | <thead> |
| 75 | <tr> |
| 76 | <th><?php _efs( 'id' ) ?></th> |
| 77 | <th><?php _efs( 'name' ) ?></th> |
| 78 | <th><?php _efs( 'email' ) ?></th> |
| 79 | <th><?php _efs( 'verified' ) ?></th> |
| 80 | <th><?php _efs( 'public-key' ) ?></th> |
| 81 | <th><?php _efs( 'secret-key' ) ?></th> |
| 82 | </tr> |
| 83 | </thead> |
| 84 | <tbody> |
| 85 | <?php foreach ( $users as $user_id => $user ) : ?> |
| 86 | <tr> |
| 87 | <td><?php echo $user->id ?></td> |
| 88 | <td><?php echo $user->get_name() ?></td> |
| 89 | <td><?php echo $user->email ?></td> |
| 90 | <td><?php echo json_encode( $user->is_verified ) ?></td> |
| 91 | <td><?php echo $user->public_key ?></td> |
| 92 | <td><?php echo $user->secret_key ?></td> |
| 93 | </tr> |
| 94 | <?php endforeach ?> |
| 95 | </tbody> |
| 96 | </table> |
| 97 | <br><br> |
| 98 | <form action="" method="POST"> |
| 99 | <input type="hidden" name="fs_action" value="delete_all_accounts"> |
| 100 | <?php wp_nonce_field( 'delete_all_accounts' ) ?> |
| 101 | <button class="button button-primary" |
| 102 | onclick="if (confirm('<?php _efs( 'delete-all-confirm' ) ?>')) this.parentNode.submit(); return false;"><?php _efs( 'delete-all-accounts' ) ?></button> |
| 103 | </form> |