servnest/pages.inc.php

108 lines
2.6 KiB
PHP
Raw Normal View History

2021-01-22 20:58:46 +00:00
<?php
if (strpos($_SERVER['PHP_SELF'], "inc.php") !== false)
exit("This file is meant to be included.");
2021-01-22 20:58:46 +00:00
switch ($service) {
case $prefixURL . "/ns":
$page['service'] = "Serveur de noms";
switch ($address) {
case "index":
$page['title'] = "Accueil";
break;
2021-01-23 16:26:46 +00:00
case "dnssec":
$page['title'] = "Obtenir les enregistrements DS";
2021-01-23 16:26:46 +00:00
break;
case "ip":
$page['title'] = "Ajouter un enregistrement A ou AAAA";
break;
2021-01-22 20:58:46 +00:00
case "a":
$page['title'] = "Ajouter un enregistrement A";
break;
case "aaaa":
$page['title'] = "Ajouter un enregistrement AAAA";
break;
case "ns":
$page['title'] = "Ajouter un enregistrement NS";
break;
2021-01-22 20:58:46 +00:00
case "zone":
$page['title'] = "Ajouter une zone";
break;
}
break;
case $prefixURL . "/nic":
$page['service'] = "Registre";
2021-01-22 20:58:46 +00:00
switch ($address) {
case "index":
$page['title'] = "Accueil";
break;
case "ns":
$page['title'] = "Ajouter un enregistrement NS";
2021-01-22 20:58:46 +00:00
break;
2021-01-25 12:39:31 +00:00
case "register":
$page['title'] = "Enregistrer un nouveau nom de domaine";
break;
2021-01-22 20:58:46 +00:00
case "glue":
$page['title'] = "Créer un Glue Record";
2021-01-22 20:58:46 +00:00
break;
case "ds":
$page['title'] = "Ajouter un enregistrement DS";
2021-01-22 20:58:46 +00:00
break;
}
break;
case $prefixURL . "/auth":
$page['service'] = "Authentification";
switch ($address) {
case "index":
$page['title'] = "Accueil";
break;
case "login":
$page['title'] = "Se connecter";
break;
case "register":
$page['title'] = "Créer un compte";
break;
case "password":
$page['title'] = "Changer le mot de passe";
break;
2021-01-22 20:58:46 +00:00
}
break;
case $prefixURL . "/ht":
$page['service'] = "Hypertexte";
switch ($address) {
case "mkdir":
$page['title'] = "Créer un dossier de site";
break;
case "onion":
$page['title'] = "Créer un accès en .onion";
break;
case "domain":
$page['title'] = "Ajouter un accès par domaine";
break;
case "le":
$page['title'] = "Installer un certificat Let's Encrypt";
break;
case "index":
$page['title'] = "Accueil";
break;
case "sftp":
$page['title'] = "Gérer l'accès SFTP";
2021-01-22 20:58:46 +00:00
break;
}
break;
case $prefixURL . "":
switch ($address) {
case "index":
$page['title'] = "Accueil";
break;
}
break;
default:
$page['service'] = "Erreur : Le service n'a pas été trouvé dans pages.inc.php";
}