Here's what you can do if you have a third-party script, image, or whatever in the header, footer, or other common html
Code: Select all
<?php if (!isset($this->request->server['HTTPS']) || (($this->request->server['HTTPS'] != 'on') && ($this->request->server['HTTPS'] != '1'))) { ?>
html
<?php } ?>
Enjoy!