| 1 |
<?php |
| 2 |
/** |
| 3 |
* Settings page template |
| 4 |
* |
| 5 |
* @package PoweredCache |
| 6 |
* @subpackage PoweredCache/Settings |
| 7 |
*/ |
| 8 |
|
| 9 |
// Exit if accessed directly |
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
exit; |
| 12 |
} |
| 13 |
|
| 14 |
?> |
| 15 |
|
| 16 |
<div class="meta-box-sortables ui-sortable"> |
| 17 |
|
| 18 |
<div class="postbox"> |
| 19 |
|
| 20 |
<div class="inside"> |
| 21 |
<h1><?php _e( 'PoweredCache Support', 'powered-cache' ); ?></h1> |
| 22 |
<hr> |
| 23 |
|
| 24 |
<div id="powered-cache-premium-support"> |
| 25 |
|
| 26 |
<div id="powered-cache-support-general-info"> |
| 27 |
<?php echo sprintf( __( 'Welcome to Powered Cache support line. Direct support exclusive to paid users. |
| 28 |
If you are free user, please use community support on <a target="_blank" href="%s">WordPress.org</a> forums.', 'powered-cache' ), 'https://wordpress.org/support/plugin/powered-cache' ); ?> |
| 29 |
</div> |
| 30 |
<div id="form-message-placeholder"></div> |
| 31 |
|
| 32 |
<table class="form-table" id="support-form-table"> |
| 33 |
<?php powered_cache_maybe_require_premium_html(); ?> |
| 34 |
|
| 35 |
<tbody> |
| 36 |
<tr> |
| 37 |
<th scope="row" style="vertical-align: middle"><label for="support_subject"><?php _e( 'Subject', 'powered-cache' ); ?></label></th> |
| 38 |
<td><label><input required="required" type="text" placeholder="<?php _e('What is the problem with?','powered-cache');?>" name="support_subject" id="support_subject" size="71" /></label></td> |
| 39 |
</tr> |
| 40 |
|
| 41 |
<tr> |
| 42 |
<th scope="row" style="vertical-align: middle"><label for="support_email"><?php _e( 'E-mail', 'powered-cache' ); ?></label></th> |
| 43 |
<td><label><input required="required" type="text" value="<?php esc_attr_e( get_bloginfo( 'admin_email' ), 'powered-cache' ); ?>" name="support_email" id="support_email" size="71" /></label></td> |
| 44 |
</tr> |
| 45 |
|
| 46 |
<tr> |
| 47 |
<th scope="row" style="vertical-align: middle"><label for="powered_cache_caching_status"><?php _e( 'Description', 'powered-cache' ); ?></label></th> |
| 48 |
<td> |
| 49 |
<label> |
| 50 |
<textarea id="support_description" name="support_description" cols="70" rows="10"> |
| 51 |
<?php _e('What did you do?','powered-cache');?> |
| 52 |
|
| 53 |
<?php _e('(If possible, provide a recipe for reproducing the error.)','powered-cache');?> |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
<?php _e('What did you expect to see?','powered-cache');?> |
| 58 |
|
| 59 |
|
| 60 |
<?php _e('What did you see instead?','powered-cache');?> |
| 61 |
|
| 62 |
</textarea> |
| 63 |
</label> |
| 64 |
</td> |
| 65 |
</tr> |
| 66 |
<tr> |
| 67 |
<td></td> |
| 68 |
<td> |
| 69 |
<small> |
| 70 |
<?php _e( 'You agree to allow sharing site related info (WordPress version, PHP version, active plugin etc...) with Powered Cache by submitting this form.', 'powered-cache' ); ?> |
| 71 |
</small> |
| 72 |
</td> |
| 73 |
</tr> |
| 74 |
<tr> |
| 75 |
<td></td> |
| 76 |
<td> |
| 77 |
<button id="powered-cache-support-btn" class="button button-secondary" type="button" ><?php _e( 'Open new support ticket', 'powered-cache' ); ?></button> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
</tbody> |
| 81 |
</table> |
| 82 |
|
| 83 |
</div> |
| 84 |
</div> |
| 85 |
<!-- .inside --> |
| 86 |
|
| 87 |
</div> |
| 88 |
<!-- .postbox --> |
| 89 |
|
| 90 |
</div> |
| 91 |
|