mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-04-14 15:57:33 +02:00
Update index.php
This commit is contained in:
@@ -107,15 +107,19 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<?php if(!plausibledatadomain&plausibledomain&plausibleembedtoken): ?>
|
||||
<?php if(!plausibledatadomain&plausibledomain&plausibleembedtoken){
|
||||
echo '
|
||||
<div class="alert warning">
|
||||
<span class="closebtn">×</span>
|
||||
<strong>Warning!</strong> Plausible analytics have not been configured.
|
||||
</div>
|
||||
<?php if(plausibledatadomain&plausibledomain&plausibleembedtoken): ?>
|
||||
<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>
|
||||
<?php endif; ?>
|
||||
}';
|
||||
|
||||
if(plausibledatadomain&plausibledomain&plausibleembedtoken){
|
||||
echo '
|
||||
<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> ';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user