| @@ -55,8 +55,15 @@ | ||
| 55 | 55 | </td> |
| 56 | 56 | </tr> |
| 57 | 57 | <?php } ?> |
| 58 | 58 | |
| 59 | + <?php if ( isset( $subscription->test ) ) { ?> | |
| 60 | + <tr valign="top"> | |
| 61 | + <th scope="row"><?php esc_html_e( 'Mode', 'formidable' ); ?>:</th> | |
| 62 | + <td><?php echo esc_html( FrmTransLiteAppHelper::get_test_mode_display_string( $subscription ) ); ?></td> | |
| 63 | + </tr> | |
| 64 | + <?php } ?> | |
| 65 | + | |
| 59 | 66 | <tr> |
| 60 | 67 | <th scope="row"><?php esc_html_e( 'Billing Cycle', 'formidable' ); ?>:</th> |
| 61 | 68 | <td><?php echo esc_html( FrmTransLiteAppHelper::format_billing_cycle( $subscription ) ); ?></td> |
| 62 | 69 | </tr> |
| @@ -77,9 +84,9 @@ | ||
| 77 | 84 | <tr> |
| 78 | 85 | <th scope="row"><?php esc_html_e( 'Payment Status Updates', 'formidable' ); ?>:</th> |
| 79 | 86 | <td> |
| 80 | 87 | |
| 81 | - <?php foreach ( $subscription->meta_value as $k => $metas ) { ?> | |
| 88 | + <?php foreach ( $subscription->meta_value as $metas ) { ?> | |
| 82 | 89 | <table class="widefat" style="border:none;"> |
| 83 | 90 | <?php |
| 84 | 91 | |
| 85 | 92 | foreach ( $metas as $key => $meta ) { |
| @@ -97,9 +104,9 @@ | ||
| 97 | 104 | |
| 98 | 105 | </td> |
| 99 | 106 | </tr> |
| 100 | 107 | <?php |
| 101 | - } | |
| 108 | + }//end if | |
| 102 | 109 | ?> |
| 103 | 110 | </tbody> |
| 104 | 111 | </table> |
| 105 | 112 | </div> |
| @@ -118,10 +125,10 @@ | ||
| 118 | 125 | </div> |
| 119 | 126 | </div> |
| 120 | 127 | |
| 121 | 128 | <div id="misc-pub-section"> |
| 122 | - <a class="submitdelete deletion" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'frm_action', 'destroy' ) ) ); ?>" data-frmverify="<?php echo esc_attr__( 'Permanently delete this subscription?', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" title="<?php esc_attr_e( 'Delete', 'formidable' ); ?>"> | |
| 123 | - <?php FrmAppHelper::icon_by_class( 'frm_icon_font frm_delete_icon' ); ?> | |
| 129 | + <a class="submitdelete deletion" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'frm_action', 'destroy' ) ) ); ?>" data-frmverify="<?php esc_attr_e( 'Permanently delete this subscription?', 'formidable' ); ?>" data-frmverify-btn="frm-button-red" title="<?php esc_attr_e( 'Delete', 'formidable' ); ?>"> | |
| 130 | + <?php FrmAppHelper::icon_by_class( 'frmfont frm_delete_icon' ); ?> | |
| 124 | 131 | <span class="frm_link_label"> |
| 125 | 132 | <?php esc_html_e( 'Delete Subscription', 'formidable' ); ?> |
| 126 | 133 | </span> |
| 127 | 134 | </a> |