servnest/common/pages.php

107 lines
2.2 KiB
PHP
Raw Normal View History

2021-01-22 20:58:46 +00:00
<?php
2021-02-16 18:20:19 +00:00
switch (SERVICE) {
2021-01-22 20:58:46 +00:00
2022-04-18 14:05:00 +00:00
case "ns":
$page['service'] = "Serveurs de noms";
switch (PAGE) {
case "index":
$page['title'] = $page['service'];
break;
case "dnssec":
$page['title'] = "Obtenir les enregistrements DS";
break;
case "ip":
$page['title'] = "Enregistrements A et AAAA";
break;
case "ns":
$page['title'] = "Enregistrement NS";
break;
case "txt":
$page['title'] = "Enregistrement TXT";
break;
case "caa":
$page['title'] = "Enregistrement CAA";
break;
case "srv":
$page['title'] = "Enregistrement SRV";
break;
case "mx":
$page['title'] = "Enregistrement MX";
break;
case "sshfp":
$page['title'] = "Enregistrement SSHFP";
break;
case "tlsa":
$page['title'] = "Enregistrement TLSA";
break;
case "zone":
$page['title'] = "Gérer ses zones";
break;
}
break;
2021-01-22 20:58:46 +00:00
2022-04-18 14:05:00 +00:00
case "reg":
$page['service'] = "Registre";
switch (PAGE) {
case "index":
$page['title'] = $page['service'];
break;
case "ns":
$page['title'] = "Ajouter un enregistrement NS";
break;
case "register":
$page['title'] = "Enregistrer un nouveau domaine";
break;
case "glue":
$page['title'] = "Créer un Glue Record";
break;
case "ds":
$page['title'] = "Ajouter un enregistrement DS";
break;
}
break;
2021-01-22 20:58:46 +00:00
2022-04-18 14:05:00 +00:00
case "auth":
$page['service'] = "Authentification";
switch (PAGE) {
case "index":
$page['title'] = $page['service'];
break;
case "login":
$page['title'] = "Se connecter";
break;
case "register":
$page['title'] = "Créer un compte";
break;
case "password":
$page['title'] = "Changer la clé de passe";
break;
case "logout":
$page['title'] = "Déconnexion";
break;
}
break;
2021-01-22 20:58:46 +00:00
2022-04-18 14:05:00 +00:00
case "ht":
$page['service'] = "Hypertexte";
switch (PAGE) {
case "mkdir":
$page['title'] = "Créer un dossier de site";
break;
case "http-onion":
2022-06-07 15:58:46 +00:00
$page['title'] = "Accès HTTP par service Onion";
2022-04-18 14:05:00 +00:00
break;
case "https-domain":
2022-06-07 15:58:46 +00:00
$page['title'] = "Accès HTTP par DNS et TLS";
2022-04-18 14:05:00 +00:00
break;
case "le":
$page['title'] = "Installer un certificat Let's Encrypt";
break;
case "index":
$page['title'] = $page['service'];
break;
}
break;
2021-01-22 20:58:46 +00:00
}