101 lines
2.5 KiB
PHP
101 lines
2.5 KiB
PHP
<?php
|
|
if (strpos($_SERVER['PHP_SELF'], "inc.php") !== false)
|
|
exit("This file is meant to be included.");
|
|
|
|
switch ($service) {
|
|
|
|
case $prefixURL . "/ns":
|
|
$page['service'] = "Serveur de noms";
|
|
switch ($address) {
|
|
case "index":
|
|
$page['title'] = "Accueil";
|
|
break;
|
|
case "dnssec":
|
|
$page['title'] = "Obtenir les enregistrements DS d'une zone";
|
|
break;
|
|
case "ip":
|
|
$page['title'] = "Ajouter un enregistrement A ou AAAA";
|
|
break;
|
|
case "a":
|
|
$page['title'] = "Ajouter un enregistrement A";
|
|
break;
|
|
case "aaaa":
|
|
$page['title'] = "Ajouter un enregistrement AAAA";
|
|
break;
|
|
case "zone":
|
|
$page['title'] = "Ajouter une zone";
|
|
break;
|
|
}
|
|
break;
|
|
|
|
case $prefixURL . "/nic":
|
|
$page['service'] = "Registre atope.art";
|
|
switch ($address) {
|
|
case "index":
|
|
$page['title'] = "Accueil";
|
|
break;
|
|
case "ns":
|
|
$page['title'] = "Ajouter un enregistrement NS pour un nouveau domain";
|
|
break;
|
|
case "register":
|
|
$page['title'] = "Enregistrer un nouveau nom de domaine";
|
|
break;
|
|
case "glue":
|
|
$page['title'] = "Glue Record";
|
|
break;
|
|
case "ds":
|
|
$page['title'] = "Ajouter un enregistrement DS (Delegation Signer)";
|
|
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;
|
|
}
|
|
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 "setup":
|
|
$page['title'] = "Mettre en place un accès SFTP";
|
|
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";
|
|
}
|