ehssl-admin-init.php
1 year ago
ehssl-admin-menu.php
2 days ago
ehssl-certificate-expiry-menu.php
2 days ago
ehssl-dashboard-menu.php
2 days ago
ehssl-settings-menu-old.php
1 year ago
ehssl-settings-menu.php
2 days ago
ehssl-ssl-management-menu.php
1 year ago
index.php
1 year ago
ehssl-admin-menu.php
37 lines
| 1 | <?php |
| 2 | |
| 3 | /* Parent class for all admin menu classes */ |
| 4 | abstract class EHSSL_Admin_Menu |
| 5 | { |
| 6 | protected $is_ssl_installed; |
| 7 | |
| 8 | public function __construct() { |
| 9 | $this->is_ssl_installed = EHSSL_SSL_Utils::is_ssl_installed(); |
| 10 | |
| 11 | $this->render_menu_page(); |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Shows postbox for settings menu |
| 16 | * |
| 17 | * @param string $id css ID for postbox |
| 18 | * @param string $title title of the postbox section |
| 19 | * @param string $content the content of the postbox |
| 20 | */ |
| 21 | public function postbox($id, $title, $content) |
| 22 | { |
| 23 | echo 'Do not use this old method. Use new HTML code instead.'; |
| 24 | } |
| 25 | |
| 26 | /** |
| 27 | * Display documentations links. |
| 28 | */ |
| 29 | public function documentation_link_box(){ |
| 30 | ?> |
| 31 | <div class="ehssl-blue-box"> |
| 32 | You can view the <a href="https://www.tipsandtricks-hq.com/wordpress-easy-https-redirection-plugin" target="_blank">Easy HTTPS Redirection & SSL</a> plugin details on our site. |
| 33 | Check out our other <a href="https://www.tipsandtricks-hq.com/development-center" target="_blank">WordPress plugins</a>. |
| 34 | </div> |
| 35 | <?php |
| 36 | } |
| 37 | } |