Update index.php

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

@ -108,7 +108,10 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
</div> </div>
<br> <br>
<?php if(!plausibledatadomain&&plausibledomain&&plausibleembedtoken == ''){ ?> <?php if(!plausibledatadomain&&plausibledomain&&plausibleembedtoken == ''){ ?>
<div class="alert warning">
<span class="closebtn">&times;</span>
<strong>Warning!</strong>&nbsp;Plausible analytics have not been configured.
</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>

Loading…
Cancel
Save