Fix end.inc.html

This commit is contained in:
Miraty 2023-09-26 23:21:56 +02:00
parent fb43cd919c
commit 183f7949a2
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@
<a href="<?= clearnetOrOnion('https://miraty.antopie.org/fr/contact.html', 'http://miraty.sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/fr/contact.html') ?>" class="button">Me contacter</a>
<br>
<?php if (DESTINATION === "onion") { ?>
<a href="https://antopie.org/<?= ($path_parts['filename'] === 'index') ? '' : ($path_parts['filename'] . '.html') ?>" class="button">Accès <abbr title="Domain Name System">DNS</abbr></a>
<a href="https://antopie.org/<?= ($path_parts_target['filename'] === 'index') ? '' : ($path_parts_target['filename'] . '.html') ?>" class="button">Accès <abbr title="Domain Name System">DNS</abbr></a>
<?php } else { ?>
<a href="http://sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/<?= ($path_parts['filename'] === 'index') ? '' : ($path_parts['filename'] . '.html') ?>" class="button">Accès Onion</a>
<a href="http://sou4vla4k5peskbl3dlzhh3e6ve5eu3m3hhsmiidqevlsd6lqo3qq2ad.onion/<?= ($path_parts_target['filename'] === 'index') ? '' : ($path_parts_target['filename'] . '.html') ?>" class="button">Accès Onion</a>
<?php } ?>
</div>
<div>