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