2023-07-17 19:15:18 +00:00
< ? php declare ( strict_types = 1 );
2021-01-22 20:58:46 +00:00
2022-09-15 19:23:49 +00:00
define ( 'PAGES' , [
'index' => [
2023-01-21 00:27:52 +00:00
'title' => '<span aria-hidden="true">' . CONF [ 'common' ][ 'service_emoji' ] . ' </span>' . CONF [ 'common' ][ 'service_name' ],
2022-09-15 19:23:49 +00:00
],
'auth' => [
'index' => [
2023-01-21 00:27:52 +00:00
'title' => '<span aria-hidden="true">🔐 </span>' . _ ( 'Authentication' ),
'description' => _ ( 'Manage account' ),
2022-09-15 19:23:49 +00:00
],
'login' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Log in' ),
'description' => _ ( 'Start a new navigation session with an existing account' ),
2022-12-20 20:17:03 +00:00
'require-login' => false ,
2022-09-15 19:23:49 +00:00
],
2023-01-21 00:27:52 +00:00
'logout' => [
'title' => _ ( 'Log out' ),
'description' => _ ( 'End the current session and delete cookies and cache' ),
],
2022-09-15 19:23:49 +00:00
'register' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Create account' ),
'description' => _ ( 'Create a new account, and log in with it' ),
2022-12-20 20:17:03 +00:00
'require-login' => false ,
2023-08-13 16:54:24 +00:00
'tokens_instance_cost' => 1800 ,
2022-09-15 19:23:49 +00:00
],
'unregister' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Delete account' ),
'description' => _ ( 'Erase all current account\'s data' ),
2022-09-15 19:23:49 +00:00
],
2022-12-10 17:19:37 +00:00
'approval' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Switch to an approved account' ),
'description' => _ ( 'Switch to an approved account using an approval key' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-12-10 17:19:37 +00:00
],
2022-09-15 19:23:49 +00:00
'password' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Change password' ),
'description' => _ ( 'Change the character string used to authenticate yourself' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-09-15 19:23:49 +00:00
],
2022-11-30 22:12:42 +00:00
'username' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Change username' ),
'description' => _ ( 'Change the name used to identify your account when logging in and displayed at the start of every page' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-09-15 19:23:49 +00:00
],
],
'reg' => [
'index' => [
2023-01-23 00:14:59 +00:00
'title' => '<span aria-hidden="true">🏷️ </span>' . sprintf ( _ ( '%s registry' ), '<code>' . key ( CONF [ 'reg' ][ 'suffixes' ]) . '</code>' ),
'description' => sprintf ( _ ( 'Register and delegate a %s subdomain' ), '<code>' . key ( CONF [ 'reg' ][ 'suffixes' ]) . '</code>' ),
2022-09-15 19:23:49 +00:00
],
'register' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Register domain' ),
2023-01-23 00:14:59 +00:00
'description' => sprintf ( _ ( 'Get a %s subdomain' ), '<code>' . key ( CONF [ 'reg' ][ 'suffixes' ]) . '</code>' ),
2022-09-16 22:49:07 +00:00
'tokens_account_cost' => 3600 ,
2022-09-15 19:23:49 +00:00
],
'unregister' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Unregister domain' ),
'description' => _ ( 'Delete all data related to a domain and make it available to the public again' ),
2022-09-15 19:23:49 +00:00
],
'print' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Display domain records' ),
'description' => _ ( 'Print every record related to a domain and served by the registry' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 60 ,
2022-06-12 01:28:43 +00:00
],
2023-07-30 23:13:06 +00:00
'edit' => [
'title' => _ ( 'Edit records' ),
'description' => _ ( 'Set registry records to delegate a domain to chosen name servers' ),
'tokens_account_cost' => 900 ,
],
2022-06-12 01:28:43 +00:00
'ns' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Name Server">NS</abbr>' ),
2023-01-23 00:14:59 +00:00
'description' => sprintf ( _ ( 'Indicate the name servers of a %s subdomain' ), '<code>' . key ( CONF [ 'reg' ][ 'suffixes' ]) . '</code>' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-09-15 19:23:49 +00:00
],
'ds' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Delegation Signer">DS</abbr>' ),
'description' => _ ( 'Delegate <abbr title="Domain Name System Security Extensions">DNSSEC</abbr> trust' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-09-15 19:23:49 +00:00
],
2022-12-13 15:52:10 +00:00
'transfer' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Receive a domain transfer' ),
'description' => _ ( 'Transfer a domain owned by another account to the current account' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-12-13 15:52:10 +00:00
],
2022-09-15 19:23:49 +00:00
'glue' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Glue records' ),
'description' => _ ( 'Advanced: store the IP address of a name server whose domain is inside the domain it serves' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 300 ,
2022-09-15 19:23:49 +00:00
],
],
'ns' => [
'index' => [
2023-01-21 00:27:52 +00:00
'title' => '<span aria-hidden="true">📖 </span>' . _ ( 'Name servers' ),
'description' => _ ( 'Host and manage domain\'s records' ),
2022-09-15 19:23:49 +00:00
],
'zone-add' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Add zone' ),
'description' => sprintf ( _ ( 'The zone will be managed by %s name servers' ), CONF [ 'common' ][ 'service_name' ]),
2022-09-16 22:49:07 +00:00
'tokens_account_cost' => 1800 ,
2022-09-15 19:23:49 +00:00
],
'zone-del' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Delete zone' ),
'description' => _ ( 'Erase all zone data' ),
2022-09-15 19:23:49 +00:00
],
'print' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Display zone' ),
'description' => _ ( 'Print zonefile content' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 60 ,
2022-09-15 19:23:49 +00:00
],
2022-11-20 00:05:03 +00:00
'edit' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Edit zone' ),
'description' => _ ( 'Change zonefile content' ),
2022-11-20 00:05:03 +00:00
'tokens_account_cost' => 300 ,
],
2022-09-15 19:23:49 +00:00
'ip' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'AAAA and A records' ),
'description' => _ ( 'Store domain\'s IP address' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-06-14 16:21:09 +00:00
],
'ns' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Name Server">NS</abbr>' ),
'description' => _ ( 'Store zone\'s name server' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'txt' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="TeXT">TXT</abbr>' ),
'description' => _ ( 'Associate text to domain' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'caa' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Certification Authority Authorization">CAA</abbr>' ),
'description' => _ ( 'Limit the certificate authorities allowed to certify the domain' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'srv' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="SeRVice">SRV</abbr>' ),
'description' => _ ( 'Store the location of a domain\'s service' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'mx' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Mail eXchanger">MX</abbr>' ),
'description' => _ ( 'Store the email server\'s address' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'sshfp' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Secure SHell FingerPrint">SSHFP</abbr>' ),
'description' => _ ( 'Store <abbr title="Secure SHell">SSH</abbr> public keys fingerprints' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'tlsa' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Transport Layer Security Association">TLSA</abbr>' ),
'description' => _ ( 'Setup <abbr title="DNS-based Authentication of Named Entities">DANE</abbr> by publishing the <abbr title="Transport Layer Security">TLS</abbr> certificate fingerprint' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'cname' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Canonical NAME">CNAME</abbr>' ),
'description' => _ ( 'Define a domain as an alias of another' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'dname' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="Delegation NAME">DNAME</abbr>' ),
'description' => _ ( 'Define all subdomains of a domain as aliases of subdomains of another domain' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
'loc' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s records' ), '<abbr title="LOCation">LOC</abbr>' ),
'description' => _ ( 'Store geographic coordinates' ),
2023-04-28 13:39:05 +00:00
'tokens_account_cost' => 120 ,
2022-09-15 19:23:49 +00:00
],
2023-06-24 14:54:36 +00:00
'sync' => [
'title' => sprintf ( _ ( 'Synchronized records' )),
2023-06-26 02:13:52 +00:00
'description' => _ ( 'Regularly fetch distant records and update them to a local zone' ),
2023-06-24 14:54:36 +00:00
'tokens_account_cost' => 900 ,
],
2022-09-15 19:23:49 +00:00
],
'ht' => [
'index' => [
2023-01-21 00:27:52 +00:00
'title' => '<span aria-hidden="true">🕸️ </span>' . _ ( 'Web' ),
'description' => _ ( 'Upload a static website into an <abbr title="SSH File Transfer Protocol">SFTP</abbr> space' ),
2022-09-15 19:23:49 +00:00
],
2022-12-22 00:44:57 +00:00
'add-subpath' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s subpath access' ), '<code>' . CONF [ 'ht' ][ 'subpath_domain' ] . '/</code>' ),
'description' => sprintf ( _ ( 'Its URL will look like %s' ), '<code>https://' . CONF [ 'ht' ][ 'subpath_domain' ] . '/<em>' . _ ( 'mysite' ) . '</em>/</code>' ),
2022-12-22 00:44:57 +00:00
'tokens_account_cost' => 900 ,
],
'add-subdomain' => [
2023-01-21 00:27:52 +00:00
'title' => sprintf ( _ ( '%s subdomain access' ), '<code>.' . CONF [ 'ht' ][ 'subdomain_domain' ] . '</code>' ),
'description' => sprintf ( _ ( 'Its URL will look like %s' ), '<code>https://<em>' . _ ( 'mysite' ) . '</em>.' . CONF [ 'ht' ][ 'subpath_domain' ] . '/</code>' ),
2022-12-22 00:44:57 +00:00
'tokens_account_cost' => 1800 ,
],
'add-dns' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Dedicated domain with Let\'s Encrypt certificate access' ),
'description' => sprintf ( _ ( 'Its URL will look like %s' ), '<code>https://<em>' . _ ( 'mysite' ) . '</em>.' . PLACEHOLDER_DOMAIN . '/</code>' ),
2022-09-16 22:49:07 +00:00
'tokens_account_cost' => 3600 ,
2022-09-15 19:23:49 +00:00
],
2022-12-22 00:44:57 +00:00
'add-onion' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Onion service access' ),
'description' => sprintf ( _ ( 'Its URL will look like %s, and work only through the Tor network' ), '<code>http://nrdselxjgryq5fwek2xh3pxg4b26z26eyzlbs4y5lownk465jhaamayd.onion/</code>' ),
2022-11-08 15:30:20 +00:00
'tokens_account_cost' => 1800 ,
2022-09-15 19:23:49 +00:00
],
2022-12-22 00:44:57 +00:00
'del' => [
2023-01-21 00:27:52 +00:00
'title' => _ ( 'Delete access' ),
'description' => _ ( 'Delete an existing HTTP access from a subdirectory of the SFTP space' ),
2022-11-08 15:30:20 +00:00
],
2023-06-15 01:35:42 +00:00
'keys' => [
'title' => _ ( 'Manage SSH keys' ),
'description' => _ ( 'Choose what SSH key can edit what directory' ),
'tokens_account_cost' => 300 ,
],
2022-09-15 19:23:49 +00:00
],
]);