diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 48 |
1 files changed, 16 insertions, 32 deletions
@@ -57,22 +57,17 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php"; <div id="explore-list" class="container">
<a href="https://docs.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-docs.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Docs</span>
+ <span>Pages</span>
<span class="explore-description">Une encyclopédie de toutes les personnes de la famille</span>
</a>
<a href="https://support.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-help.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Help</span>
+ <span>Aide</span>
<span class="explore-description">Votre point d'accès à l'aide de Familine</span>
</a>
- <a href="https://money.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
- <img src="/icns/familine-money.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Money</span>
- <span class="explore-description">Compte bancaire interne pour la famille</span>
- </a>
<a href="https://cinema.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-movies.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Movies</span>
+ <span>Films</span>
<span class="explore-description">Regardez tous les films produits par la famille</span>
</a>
<a href="https://photos.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
@@ -80,25 +75,33 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php"; <span>Photos</span>
<span class="explore-description">Des photos de qualité par la famille</span>
</a>
+ <a href="https://planning.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
+ <img src="/icns/familine-planning.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
+ <span>Planning</span>
+ <span class="explore-description">Gérez vos présences et absences aux événements de Familine</span>
+ </a>
<a href="https://genealogy.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-recall.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Recall</span>
+ <span>Généalogie</span>
<span class="explore-description">Un accès plus simple à la généalogie</span>
</a>
<a href="https://share.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-share.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Share</span>
+ <span>Partage</span>
<span class="explore-description">Partagez des fichiers avec qui vous voulez</span>
</a>
<a href="https://chat.<?= $_CONFIG["Global"]["domain"] ?>" class="explore-btn">
<img src="/icns/familine-you.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;">
- <span>Yikes</span>
- <span class="explore-description">Discuttez en toute sécurité avec la famille</span>
+ <span>Discussions</span>
+ <span class="explore-description">Communiquez de façon simple et sécurisée avec la famille</span>
</a>
</div>
<div style="color: white;text-align: center;margin-top: 10px;opacity: .5;font-size: 14px;">
<?php if ($_ADMIN): ?><a style="color:white;display:inline-block;" href="https://console.familine.minteck.org">Familine Camera</a> · <?php endif; ?><a style="color:white;display:inline-block;" href="https://familine.minteck.org/known">Problèmes connus</a> · <a target="_blank" style="color:white;display:inline-block;" href="https://gitlab.minteck.org/explore/projects/topics/Familine">Code source</a> · version <?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/version.txt") ?>
</div>
+ <br>
+ <br>
+ <br>
</div>
</div>
</div>
@@ -176,25 +179,6 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php"; <br>
- <img src="/icns/familine-money.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;"><?php
-
- $gcount = 0.0;
- foreach (scandir($_SERVER['DOCUMENT_ROOT'] . "/app/money/public") as $file) {
- if (is_file($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $file) && !is_link($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $file) && substr($file, -5) === ".json") {
- $gcount += (float)json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $file))->credit;
- }
- }
-
- if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $_USER . ".json")) {
- echo(number_format((float)json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $_USER . ".json"))->credit, 2, ',', '') . "€");
- } else {
- echo("0,00€");
- }
-
- ?> (<?= str_replace(".", ",", round(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/app/money/public/" . $_USER . ".json"))->credit/$gcount*100, 2)) ?>% de tous les comptes), <a href="https://money.familine.minteck.org/credit">créditer</a>
-
- <br>
-
<?php
$times = json_decode(file_get_contents("/mnt/faminema/data/durations.json"), true);
@@ -246,7 +230,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/private/session.php"; ?>
- <img src="/icns/familine-movies.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;"><?= $secstr ?> de contenu, <a href="https://movies.familine.minteck.org/tv">regarder un film</a>
+ <img src="/icns/familine-movies.svg" width="48px" height="48px" style="height:32px;width:32px;margin: 0 5px;"><?= $secstr ?> de contenu, <a href="https://cinema.familine.minteck.org/app/home">regarder un film</a>
<br>
|