Update index.php

pull/8/head
SuperDev 3 years ago committed by GitHub
parent a3f9c0956a
commit 6e0cf126ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,15 +107,15 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
</div> </div>
</div> </div>
<br> <br>
<?php if(!plausibledatadomain&plausibledomain&plausibleembedtoken == ''){ ?> <?php if(!plausibledatadomain&plausibledomain&plausibleembedtoken): { ?>
<div class="alert warning"> <div class="alert warning">
<span class="closebtn">&times;</span> <span class="closebtn">&times;</span>
<strong>Warning!</strong>&nbsp;Plausible analytics have not been configured. <strong>Warning!</strong>&nbsp;Plausible analytics have not been configured.
</div> </div>
<?php }else{ ?> <?php else: ?>
<iframe plausible-embed src="<?=plausibledomain?>/share/<?=plausibledatadomain?>?auth=<?=plausibleembedtoken?>&embed=true&theme=light&background=%23EBECED" scrolling="no" frameborder="0" loading="lazy" style="width: 1px; min-width: 100%; height: 1600px;"></iframe> <iframe plausible-embed src="<?=plausibledomain?>/share/<?=plausibledatadomain?>?auth=<?=plausibleembedtoken?>&embed=true&theme=light&background=%23EBECED" scrolling="no" frameborder="0" loading="lazy" style="width: 1px; min-width: 100%; height: 1600px;"></iframe>
<script async src="<?=plausibledomain?>js/embed.host.js"></script> <script async src="<?=plausibledomain?>js/embed.host.js"></script>
<?php } ?> <?php endif; ?>

Loading…
Cancel
Save