106 lines
2.2 KiB
PHP
106 lines
2.2 KiB
PHP
<?php
|
|
|
|
switch (SERVICE) {
|
|
|
|
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;
|
|
|
|
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;
|
|
|
|
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;
|
|
|
|
case "ht":
|
|
$page['service'] = "Hypertexte";
|
|
switch (PAGE) {
|
|
case "mkdir":
|
|
$page['title'] = "Créer un dossier de site";
|
|
break;
|
|
case "http-onion":
|
|
$page['title'] = "Accès HTTP en Onion";
|
|
break;
|
|
case "https-domain":
|
|
$page['title'] = "Accès HTTPS par domaine";
|
|
break;
|
|
case "le":
|
|
$page['title'] = "Installer un certificat Let's Encrypt";
|
|
break;
|
|
case "index":
|
|
$page['title'] = $page['service'];
|
|
break;
|
|
}
|
|
break;
|
|
}
|