diff options
Diffstat (limited to 'Postman/Extensions/Admin/PostmanAdminView.php')
-rw-r--r-- | Postman/Extensions/Admin/PostmanAdminView.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Postman/Extensions/Admin/PostmanAdminView.php b/Postman/Extensions/Admin/PostmanAdminView.php index af66fcb..428ee17 100644 --- a/Postman/Extensions/Admin/PostmanAdminView.php +++ b/Postman/Extensions/Admin/PostmanAdminView.php @@ -75,6 +75,10 @@ <button type="submit" name="post_smtp_extension[<?php echo $short_name; ?>_activate]" class="button button-primary">Activate</button> <?php endif; ?> + <?php if ( $license_data->license === 'expired' ) : ?> + <a href="<?php echo $license_data->renew_url; ?>" target="_blank" class="button button-primary">Renew License</a> + <?php endif; ?> + <button type="submit" name="post_smtp_extension[<?php echo $short_name; ?>_deactivate]" class="button button-secondary">Deactivate</button> </div> </div> |