Make scripts translatable

This commit is contained in:
2023-01-22 20:00:49 +01:00
parent 21eb38c393
commit 78ba449fa3
22 changed files with 1652 additions and 418 deletions

View File

@ -1,45 +1,44 @@
<?php
require('../common.php');
header('Content-Type: text/html; charset=UTF-8');
header('X-Accel-Expires: 60');
print_header('Info');
print_header(_('Info'));
?>
<h1>Hosting - Info</h1>
<h1><?php echo _('Hosting - Info'); ?></h1>
<?php main_menu('index.php'); ?>
<p>Here you can get yourself a free web hosting account on my server.</p>
<h2>What you get:</h2>
<p><?php echo _('Here you can get yourself a free web hosting account on my server.'); ?></p>
<h2><?php echo _('What you get:'); ?></h2>
<ul>
<li>Completely free anonymous Tor and clearnet web hosting</li>
<li>Choose between PHP <?php echo implode(', ', PHP_VERSIONS); ?> or no PHP support</li>
<li>Nginx Webserver</li>
<li>SQLite support</li>
<li>Up to <?php echo MAX_NUM_USER_DBS; ?> MariaDB (MySQL) databases</li>
<li><a href="/phpmyadmin/" target="_blank">PHPMyAdmin</a> and <a href="/adminer/" target="_blank">Adminer</a> for web based database administration</li>
<li>Web-based file manager</li>
<li>SFTP access</li>
<li>command line access to shell via SSH</li>
<li>1GB disk quota and a maximum of 100.000 files<?php echo ENABLE_UPGRADES ? ' - upgradable' : ''; ?></li>
<li>mail() can send e-mails from your_system_account@<?php echo ADDRESS; ?> (your_system_account@hosting.danwin1210.me for clearnet)</li>
<li>Webmail and IMAP, POP3 and SMTP access to your mail account</li>
<li>Your own .onion domains</li>
<li>Clearnet domains or a free subdomain of danwin1210.me</li>
<li>Empty/Unused accounts will be automatically deleted after a month of inactivity</li>
<li>PGP based Two-Factor Authentication (2FA)</li>
<li>There is a missing feature, or you need a special configuration? Just <a href="https://danwin1210.me/contact.php">contact me</a> and I'll see what I can do.</li>
<li>More to come…</li>
<li><?php echo _('Completely free anonymous Tor and clearnet web hosting'); ?></li>
<li><?php printf(_('Choose between PHP %s or no PHP support'), implode( ', ', PHP_VERSIONS )); ?></li>
<li><?php echo _('Nginx Webserver'); ?></li>
<li><?php echo _('SQLite support'); ?></li>
<li><?php printf(_('Up to %d MariaDB (MySQL) databases'), MAX_NUM_USER_DBS); ?></li>
<li><?php echo _('<a href="/phpmyadmin/" target="_blank">PHPMyAdmin</a> and <a href="/adminer/" target="_blank">Adminer</a> for web based database administration'); ?></li>
<li><?php echo _('Web-based file manager'); ?></li>
<li><?php echo _('SFTP access'); ?></li>
<li><?php echo _('command line access to shell via SSH'); ?></li>
<li><?php echo _('1GB disk quota and a maximum of 100.000 files'); echo ENABLE_UPGRADES ? _(' - upgradable') : ''; ?></li>
<li><?php printf(_('mail() can send e-mails from your_system_account@%1$s (your_system_account@%2$s for clearnet)'), ADDRESS, CLEARNET_ADDRESS); ?></li>
<li><?php echo _('Webmail and IMAP, POP3 and SMTP access to your mail account'); ?></li>
<li><?php echo _('Your own .onion domains'); ?></li>
<li><?php printf(_('Clearnet domains or a free subdomain of %s'), CLEARNET_SUBDOMAINS); ?></li>
<li><?php echo _('Empty/Unused accounts will be automatically deleted after a month of inactivity'); ?></li>
<li><?php echo _('PGP based Two-Factor Authentication (2FA)'); ?></li>
<li><?php printf(_('There is a missing feature, or you need a special configuration? Just <a href="%s">contact me</a> and I\'ll see what I can do.'), CONTACT_URL); ?></li>
<li><?php echo _('More to come…'); ?></li>
</ul>
<h2>Rules</h2>
<h2><?php echo _('Rules'); ?></h2>
<ul>
<li>No child pornography!</li>
<li>No terroristic propaganda!</li>
<li>No illegal content according to German law!</li>
<li>No malware! (e.g. botnets)</li>
<li>No phishing, scams or spam!</li>
<li>No mining without explicit user permission! (e.g. using coinhive)</li>
<li>No shops, markets or any other sites dedicated to making money! (This is a FREE hosting!)</li>
<li>No proxy scripts! (You are already using TOR and this will just burden the network)</li>
<li>No IP logger or similar de-anonymizer sites!</li>
<li>I preserve the right to delete any site for violating these rules and adding new rules at any time.</li>
<li>Should you not honor these rules, I will (have to) work together with Law Enforcement!</li>
<li><?php echo _('No child pornography!'); ?></li>
<li><?php echo _('No terroristic propaganda!'); ?></li>
<li><?php echo _('No illegal content according to German law!'); ?></li>
<li><?php echo _('No malware! (e.g. botnets)'); ?></li>
<li><?php echo _('No phishing, scams or spam!'); ?></li>
<li><?php echo _('No mining without explicit user permission! (e.g. using coinhive)'); ?></li>
<li><?php echo _('No shops, markets or any other sites dedicated to making money! (This is a FREE hosting!)'); ?></li>
<li><?php echo _('No proxy scripts! (You are already using Tor and this will just burden the network)'); ?></li>
<li><?php echo _('No IP logger or similar de-anonymizer sites!'); ?></li>
<li><?php echo _('I preserve the right to delete any site for violating these rules and adding new rules at any time.'); ?></li>
<li><?php echo _('Should you not honor these rules, I will (have to) work together with Law Enforcement!'); ?></li>
</ul>
</body></html>