Current Path : /storage/v11800/andslite-new/public_html/wp-content/plugins/popup-maker/classes/Admin/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/andslite-new/public_html/wp-content/plugins/popup-maker/classes/Admin/Support.php |
<?php
/**
* Class for Admin Support
*
* @package PUM
* @copyright Copyright (c) 2023, Code Atlantic LLC
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Class PUM_Admin_Support
*/
class PUM_Admin_Support {
/**
* Support Page
*
* Renders the support page contents.
*/
public static function page() { ?>
<style>
.pum-secure-notice {
position: fixed;
top: 32px;
left: 160px;
right: 0;
background: #ebfdeb;
padding: 10px 20px;
color: green;
z-index: 9999;
box-shadow: 0 2px 2px rgba(6, 113, 6, 0.3);
opacity: 0.95;
filter: alpha(opacity=95);
}
#pum-support-frame {
margin: 40px 0 -65px -20px;
}
#pum-support-frame iframe {
width: 100%;
border: 0;
transition: scroll .5s;
}
</style>
<div class="pum-secure-notice">
<i class="dashicons dashicons-lock"></i>
<span><?php _e( '<b>Secure HTTPS contact page</b>, running via iframe from external domain', 'popup-maker' ); ?> </span>
<i class="dashicons dashicons-info" title="https://api.wppopupmaker.com/dashboard-support/"></i>
</div>
<div id="pum-support-frame" class="wrap">
<script type="text/javascript">
(function ($) {
var frame = $('<iframe scrolling="no">')
.css({height: '535px'})
.attr('src', 'https://api.wppopupmaker.com/dashboard-support/')
.appendTo('#pum-support-frame');
frame.iFrameResize({
checkOrigin: false
});
})(jQuery);
</script>
</div>
<?php
}
}