From fd16c006acc04941c3139a4f48629a3e8e54c870 Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Fri, 8 Sep 2023 21:49:53 +0200 Subject: [PATCH] escape all translations --- about.php | 64 +-- blog/index.php | 26 +- blog/onion-link-list-shutdown/index.php | 20 +- chat/index.php | 24 +- common.php | 28 +- contact.php | 32 +- faq.php | 129 +++--- github-ipv6-proxy.php | 36 +- hosting/index.php | 18 +- imprint.php | 22 +- index.php | 20 +- locale/main-website.pot | 467 +++++++++++--------- new-domain.php | 40 +- privacy.php | 74 ++-- tutorials/findom/index.php | 46 +- tutorials/get-rich-fast/index.php | 89 ++-- tutorials/index.php | 28 +- tutorials/self-employed/index.php | 78 ++-- tutorials/successful-sugar-dating/index.php | 34 +- tutorials/torify-ftp/index.php | 52 +-- 20 files changed, 689 insertions(+), 638 deletions(-) diff --git a/about.php b/about.php index 45670ec..66213ff 100644 --- a/about.php +++ b/about.php @@ -3,44 +3,44 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - About'); ?> +<?php echo htmlspecialchars(_('Daniel - About')); ?> - + - - + + - + - + -

+

-<?php echo _('An avatar representing Daniel Winzen'); ?> +<?php echo htmlspecialchars(_('An avatar representing Daniel Winzen')); ?> -

-
-

-

Certified in Cybersecurity and have a good understanding of cybersecurity threats. I continuously broaden my knowledge in this field, because I consider this essential and fun. This site would probably not exist, were it not for my passion for cybersecurity and hacking. Like many good parents, mine were strict about my internet usage. So I had to become creative in finding ways of gaining access to the internet, even when the timer already expired. Thus I was learning about hacking, darknet and network security at a very early age.'), 'https://www.credly.com/badges/2652f763-ca8c-4e23-b0a9-939a2f27c83c'); ?>

-

I\'m available for hire.'), '/contact.php'); ?>

-

+

+
+

+

'.htmlspecialchars(_('Certified in Cybersecurity')).''); ?>

+

'.htmlspecialchars(_('I\'m available for hire')).''); ?>

+

-

-

-
LE-CHAT. When I deployed that on my Raspberry Pi, it was running very slowly and wasn\'t usable for use by several people. So I decided to port some parts I needed to PHP.'); ?> -
GitHub account. Since then, I have added many new features and improved reliability and my code a lot.'); ?> -

-

-

+

+

+
LE-CHAT'); ?> +
GitHub'); ?> +

+

+

-<?php echo _('A small network rack with 4 Raspberry Pis in it, a wifi router on top and a phone next to it'); ?> +<?php echo htmlspecialchars(_('A small network rack with 4 Raspberry Pis in it, a wifi router on top and a phone next to it')); ?> -

-

-
danwin1210.de are an NginX Proxy that will forward all requests to the Raspberry Pis at home. Additionally, they run a Postfix instance only listening on the VPN network to send emails to clearnet.'); ?> -

-

+

+

+
danwin1210.de'); ?> +

+

diff --git a/blog/index.php b/blog/index.php index b7c0d2f..a2efb0a 100644 --- a/blog/index.php +++ b/blog/index.php @@ -3,35 +3,35 @@ require_once('../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Blog and news'); ?> +<?php echo htmlspecialchars(_('Daniel - Blog and news')); ?> - + - - + + - + - - + + -

+

-
-
-
-
-
+
+
+
+
+
diff --git a/blog/onion-link-list-shutdown/index.php b/blog/onion-link-list-shutdown/index.php index d96d8df..db063d2 100644 --- a/blog/onion-link-list-shutdown/index.php +++ b/blog/onion-link-list-shutdown/index.php @@ -3,30 +3,30 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Onion link list shutdown'); ?> +<?php echo htmlspecialchars(_('Onion link list shutdown')); ?> - + - - + + - + - - + + -

-

-

Ahmia.'); ?>

+

+

+

Ahmia'); ?>

diff --git a/chat/index.php b/chat/index.php index b552ed9..00e90b9 100644 --- a/chat/index.php +++ b/chat/index.php @@ -3,32 +3,32 @@ require_once('../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel\'s Chat shutdown'); ?> +<?php echo htmlspecialchars(_('Daniel\'s Chat shutdown')); ?> - + - - + + - + - - + + -

-

GitHub.'); ?>

-

-

-

contact me.'); ?>

+

+

GitHub'); ?>

+

+

+

'.htmlspecialchars(_('contact me')).''); ?>

diff --git a/common.php b/common.php index 827c574..1c12e2f 100644 --- a/common.php +++ b/common.php @@ -105,9 +105,9 @@ function menu(string $title = ''): void { global $global_style, $language; echo ""; - echo "

$title

"; + echo '

'.htmlspecialchars($title).'

'; echo ''; echo '
'; @@ -136,9 +136,9 @@ function menu(string $title = ''): void if($lang === $language || !$data['show_in_menu']){ continue; } - echo '
'.$data['flag'].'
'; + echo '
'.$data['flag'].'
'; } - echo '
+
'; + echo '
+
'; echo '
'; echo '
'; } diff --git a/contact.php b/contact.php index 39f3dff..c7e7e66 100644 --- a/contact.php +++ b/contact.php @@ -3,42 +3,42 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Contact'); ?> +<?php echo htmlspecialchars(_('Daniel - Contact')); ?> - + - - + + - + - + -

+

-
-
>
-
+
-
-
-

+
+
'._('Message successfully sent!').'

'; }else{ - echo "

$message

"; + echo ''; } } ?> -

my public PGP key.'); ?>

-

daniel@danwin1210.de.'); ?>

+

'.htmlspecialchars(_('my public PGP key')).''); ?>

+

daniel@danwin1210.de'); ?>

diff --git a/faq.php b/faq.php index aa4fb4a..985ce4b 100644 --- a/faq.php +++ b/faq.php @@ -3,127 +3,118 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - FAQ - Frequently Asked Questions'); ?> +<?php echo htmlspecialchars(_('Daniel - FAQ - Frequently Asked Questions')); ?> - + - - + + - + - - -

+

-
-
+
+
-
-
report it and I will remove it as soon as possible.'), 'contact.php'); ?>
+
+
'.htmlspecialchars(_('More info in this Wikipedia article')).'.'; ?>
-
-
More info in this Wikipedia article.'); ?>
+
+
'.htmlspecialchars(_('contact me')).''); ?>
-
-
contact me and I may add it on my ToDo list. It might take a while until your feature gets added though.'), 'contact.php'); ?>
+
+
'.htmlspecialchars(_('GitHub repositories')).''); ?>
-
-
GitHub repositories and check out the individual projects you would like to translate.'); ?>
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
- Send me your proposals. Sorry guys, only considering females.'); ?> -

- -
+
+
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
-
+
-
-
+
+
-
-
account settings, if you still need to send this email.'), '/mail/manage_account.php'); ?>
+
+
'.htmlspecialchars(_('account settings')).''); ?>
-
account settings, if you still need to receive this email.'), '/mail/manage_account.php'); ?>
+
'.htmlspecialchars(_('account settings')).''); ?>
-
-
How to get rich (fast).'), '/tutorials/get-rich-fast/'); ?>
+
+
'.htmlspecialchars(_('How to get rich (fast)')).''); ?>
-
-
this Wikipedia article.'), 'https://en.wikipedia.org/wiki/Organ_trade'); ?>
+
+
'.htmlspecialchars(_('this Wikipedia article')).''); ?>
-
-
contact me.'), 'contact.php'); ?>
+
+
'.htmlspecialchars(_('Contact me')).'.'; ?>
diff --git a/github-ipv6-proxy.php b/github-ipv6-proxy.php index 745de3d..b64731b 100644 --- a/github-ipv6-proxy.php +++ b/github-ipv6-proxy.php @@ -3,11 +3,11 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('GitHub IPv6 proxy'); ?> +<?php echo htmlspecialchars(_('GitHub IPv6 proxy')); ?> - + @@ -17,31 +17,31 @@ global $language, $dir, $locale; - - + + - + - - + + -

does not support IPv6.'), 'Hetzner'); ?>

-

-

-

-

https://github.com/DanWin/le-chat-php'); ?>
+

Hetzner', ''.htmlspecialchars(_('does not support IPv6')).''); ?>

+

+

+

+

https://github.com/DanWin/le-chat-php'); ?>
git clone https://github.com/DanWin/le-chat-php
-
+
git clone https://danwin1210.de:1443/DanWin/le-chat-php
-
+
git clone git@github-ipv6-proxy.danwin1210.de:DanWin/le-chat-php

-

+

 2a01:4f8:c010:d56::2 github.com
 2a01:4f8:c010:d56::3 api.github.com
@@ -50,10 +50,10 @@ global $language, $dir, $locale;
 2a01:4f8:c010:d56::6 ghcr.io
 2a01:4f8:c010:d56::7 pkg.github.com npm.pkg.github.com maven.pkg.github.com nuget.pkg.github.com rubygems.pkg.github.com
 
-

+

git clone https://github.com/DanWin/le-chat-php -

+

 http {
 	server {
@@ -99,6 +99,6 @@ stream {
 	}
 }
 
-

contact me.'); ?>

+

'.htmlspecialchars(_('contact me')).''); ?>

diff --git a/hosting/index.php b/hosting/index.php index 65e6fbf..d6d8005 100644 --- a/hosting/index.php +++ b/hosting/index.php @@ -3,29 +3,29 @@ require_once('../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel\'s Hosting shutdown after hack'); ?> +<?php echo htmlspecialchars(_('Daniel\'s Hosting shutdown after hack')); ?> - + - - + + - + - - + + -

https://github.com/DanWin/hosting.'); ?>

-

Ablative Hosting, OneHost, OnionLand Hosting or a clearnet proxy service Clearnet Onion | Easy clearnet relay and my project is available for download, which should enable anyone willing to become the next darknet shared hosting provider to start where I left of.'); ?>

+

https://github.com/DanWin/hosting'); ?>

+

Ablative Hosting', 'OneHost', 'OnionLand Hosting', 'Clearnet Onion | Easy clearnet relay', ''.htmlspecialchars(_('available for download')).''); ?>

diff --git a/imprint.php b/imprint.php index df20fc1..b7a29bb 100644 --- a/imprint.php +++ b/imprint.php @@ -3,25 +3,25 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Imprint'); ?> +<?php echo htmlspecialchars(_('Daniel - Imprint')); ?> - + - - + + - + - + @@ -30,11 +30,11 @@ global $language, $dir, $locale;


-
-
- +
+
+

- -

+ +

diff --git a/index.php b/index.php index c1c41fd..94d6a5c 100644 --- a/index.php +++ b/index.php @@ -3,31 +3,31 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Home'); ?> +<?php echo htmlspecialchars(_('Daniel - Home')); ?> - + - - + + - + - + -

Tor hidden service or via my clearnet proxy danwin1210.de. To learn more about me and this site, check the about page.'); ?>

-

mail service, by clicking on the entries in the navigation bar on the left.'); ?>

-

GitHub.'); ?>

-

contact me.'), DONATE_XMR, DONATE_BTC); ?>

+

'.htmlspecialchars(_('Tor hidden service')).'', 'danwin1210.de', ''.htmlspecialchars(_('the about page')).''); ?>

+

'.htmlspecialchars(_('mail service')).''); ?>

+

GitHub'); ?>

+

'.htmlspecialchars(_('contact me')).''); ?>

diff --git a/locale/main-website.pot b/locale/main-website.pot index 42a19d8..d5f12b3 100644 --- a/locale/main-website.pot +++ b/locale/main-website.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-08-30 23:28+0200\n" +"POT-Creation-Date: 2023-09-08 21:49+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -98,36 +98,50 @@ msgid "Home" msgstr "" #: index.php:28 +#, php-format msgid "" "Hello, my name is Daniel Winzen, a german web developer and system " "administrator. This is my personal website, that I develop in my free time. " -"This site is available as Tor hidden " -"service or via my clearnet proxy danwin1210.de. To learn more about me and this site, check the about page." +"This site is available as %1$s or via my clearnet proxy %2$s. To learn more " +"about me and this site, check %3$s." +msgstr "" + +#: index.php:28 +msgid "Tor hidden service" +msgstr "" + +#: index.php:28 +msgid "the about page" msgstr "" #: index.php:29 +#, php-format msgid "" "This is just the landing page. You can navigate to the pages that interest " -"you most, such as my free and anonymous mail service, " -"by clicking on the entries in the navigation bar on the left." +"you most, such as my free and anonymous %s, by clicking on the entries in " +"the navigation bar on the left." +msgstr "" + +#: index.php:29 +msgid "mail service" msgstr "" #: index.php:30 +#, php-format msgid "" -"You can download and/or contribute to my various open-source projects on GitHub." +"You can download and/or contribute to my various open-source projects on %s." msgstr "" #: index.php:31 #, php-format msgid "" "If you like, what I've built here, you can support me by donating via " -"Monero: %1$s or Bitcoin: %2$s . More options available, just contact me." +"Monero: %1$s or Bitcoin: %2$s . More options available, just %3$s." +msgstr "" + +#: index.php:31 github-ipv6-proxy.php:102 faq.php:26 faq.php:58 +#: chat/index.php:32 +msgid "contact me" msgstr "" #: about.php:6 about.php:17 @@ -172,9 +186,8 @@ msgstr "" #: about.php:41 #, php-format msgid "" -"I'm Certified " -"in Cybersecurity and have a good understanding of cybersecurity threats. " -"I continuously broaden my knowledge in this field, because I consider this " +"I'm %s and have a good understanding of cybersecurity threats. I " +"continuously broaden my knowledge in this field, because I consider this " "essential and fun. This site would probably not exist, were it not for my " "passion for cybersecurity and hacking. Like many good parents, mine were " "strict about my internet usage. So I had to become creative in finding ways " @@ -183,13 +196,21 @@ msgid "" "age." msgstr "" +#: about.php:41 +msgid "Certified in Cybersecurity" +msgstr "" + #: about.php:42 #, php-format msgid "" "Managing servers and email services and developing new web projects is what " "I thrive on. I like optimizing systems for performance and getting the best " "out of what I have. Do you need help with managing and optimizing your " -"infrastructure or website? I'm available for hire." +"infrastructure or website? %s." +msgstr "" + +#: about.php:42 +msgid "I'm available for hire" msgstr "" #: about.php:43 @@ -208,22 +229,21 @@ msgid "" msgstr "" #: about.php:54 +#, php-format msgid "" "Quickly the idea of using a chat at school came up, and I came across a " -"simple Perl chat script called LE-CHAT. When I " -"deployed that on my Raspberry Pi, it was running very slowly and wasn't " -"usable for use by several people. So I decided to port some parts I needed " -"to PHP." +"simple Perl chat script called %s. When I deployed that on my Raspberry Pi, " +"it was running very slowly and wasn't usable for use by several people. So I " +"decided to port some parts I needed to PHP." msgstr "" #: about.php:55 +#, php-format msgid "" "This has been the start for me to get deeper into web development and I have " "since open-sourced that chat script and several other scripts of this site " -"on my GitHub account. Since then, I have added " -"many new features and improved reliability and my code a lot." +"on my %s account. Since then, I have added many new features and improved " +"reliability and my code a lot." msgstr "" #: about.php:56 @@ -246,9 +266,11 @@ msgstr "" #: about.php:60 #, php-format msgid "" -"%s - good for short-term and/or low-bandwidth projects. They also offer a Free Tier Program for businesses" +"%s - good for short-term and/or low-bandwidth projects. They also offer a %s" +msgstr "" + +#: about.php:60 +msgid "Free Tier Program for businesses" msgstr "" #: about.php:61 @@ -299,9 +321,9 @@ msgid "" msgstr "" #: about.php:75 +#, php-format msgid "" -"The clearnet gateways on danwin1210.de are an NginX Proxy that will forward all " +"The clearnet gateways on %s are an NginX Proxy that will forward all " "requests to the Raspberry Pis at home. Additionally, they run a Postfix " "instance only listening on the VPN network to send emails to clearnet." msgstr "" @@ -331,10 +353,12 @@ msgstr "" #, php-format msgid "" "Recently I had to clone a git repository on GitHub via an IPv6 only server " -"that I rented at my favourite hosting provider %s. Unfortunately I realized " -"that GitHub still does not " -"support IPv6." +"that I rented at my favourite hosting provider %1$s. Unfortunately I " +"realized that GitHub still %2$s." +msgstr "" + +#: github-ipv6-proxy.php:34 +msgid "does not support IPv6" msgstr "" #: github-ipv6-proxy.php:35 @@ -397,9 +421,8 @@ msgid "" msgstr "" #: github-ipv6-proxy.php:102 chat/index.php:32 -msgid "" -"If there are any further questions, feel free to contact me." +#, php-format +msgid "If there are any further questions, %s." msgstr "" #: contact.php:6 contact.php:15 @@ -437,9 +460,12 @@ msgid "Message:" msgstr "" #: contact.php:40 -msgid "" -"I have read and agreed to the Privacy Policy" +#, php-format +msgid "I have read and agreed to the %s" +msgstr "" + +#: contact.php:40 +msgid "Privacy Policy" msgstr "" #: contact.php:41 @@ -459,15 +485,17 @@ msgid "Message successfully sent!" msgstr "" #: contact.php:76 -msgid "" -"If you want to encrypt your message, you can use my public PGP key." +#, php-format +msgid "If you want to encrypt your message, you can use %s." +msgstr "" + +#: contact.php:76 +msgid "my public PGP key" msgstr "" #: contact.php:77 -msgid "" -"If you prefer to directly get in contact with me, email me at daniel@danwin1210.de." +#, php-format +msgid "If you prefer to directly get in contact with me, email me at %s." msgstr "" #: faq.php:6 faq.php:14 faq.php:24 @@ -480,58 +508,53 @@ msgid "" "their answers" msgstr "" -#: faq.php:25 faq.php:54 -msgid "I found an illegal link/content on your site, can you remove it?" -msgstr "" - -#: faq.php:25 faq.php:55 -#, php-format -msgid "" -"Yes, please report it and I will remove it as soon as " -"possible." -msgstr "" - -#: faq.php:26 faq.php:58 +#: faq.php:25 faq.php:53 msgid "What is PGP?" msgstr "" -#: faq.php:26 faq.php:59 +#: faq.php:25 faq.php:54 msgid "" "PGP is an encryption program, that can be used to encrypt or sign emails and " -"files. More info in this Wikipedia " -"article." +"files." msgstr "" -#: faq.php:27 faq.php:62 +#: faq.php:25 faq.php:54 +msgid "More info in this Wikipedia article" +msgstr "" + +#: faq.php:26 faq.php:57 msgid "I have an idea how to make your site better, can you add feature xyz?" msgstr "" -#: faq.php:27 faq.php:63 +#: faq.php:26 faq.php:58 #, php-format msgid "" -"Yes, please contact me and I may add it on my ToDo list. " -"It might take a while until your feature gets added though." +"Yes, please %s and I may add it on my ToDo list. It might take a while until " +"your feature gets added though." msgstr "" -#: faq.php:28 faq.php:66 +#: faq.php:27 faq.php:61 msgid "" "I want to translate your site and services into another language, how can I " "do this?" msgstr "" -#: faq.php:28 faq.php:67 +#: faq.php:27 faq.php:62 +#, php-format msgid "" -"Please see my GitHub repositories and check out the " -"individual projects you would like to translate." +"Please see my %s and check out the individual projects you would like to " +"translate." msgstr "" -#: faq.php:29 faq.php:70 +#: faq.php:27 faq.php:62 +msgid "GitHub repositories" +msgstr "" + +#: faq.php:28 faq.php:65 msgid "I heard of red rooms, live murder streams or similar. Are they real?" msgstr "" -#: faq.php:29 faq.php:71 +#: faq.php:28 faq.php:66 msgid "" "No, they are just horror stories people commonly tell you. Many people make " "YouTube videos about the \"deep web\" and claim there were sites like these. " @@ -540,25 +563,25 @@ msgid "" "exist." msgstr "" -#: faq.php:30 faq.php:74 +#: faq.php:29 faq.php:69 msgid "" "I heard of the shadow web, marianas web or closed shell network. How can I " "access them?" msgstr "" -#: faq.php:30 faq.php:75 +#: faq.php:29 faq.php:70 msgid "" "You can't, because they do not exist. Some scammers want to sell it to you " "though. Don't pay because you won't get anything in return for your money." msgstr "" -#: faq.php:31 faq.php:78 +#: faq.php:30 faq.php:73 msgid "" "Isn't the dark net supposed to be scary and full of creepy shit? Why can't I " "find any interesting sites?" msgstr "" -#: faq.php:31 faq.php:79 +#: faq.php:30 faq.php:74 msgid "" "No, the Tor darknet was created to be able to anonymously browse the " "internet, circumvent censorship and anonymously host websites. Of course, " @@ -568,11 +591,11 @@ msgid "" "horror stories you have heard about Tor are just that, stories." msgstr "" -#: faq.php:32 faq.php:82 +#: faq.php:31 faq.php:77 msgid "What's the difference between deep web and darknet?" msgstr "" -#: faq.php:32 faq.php:83 +#: faq.php:31 faq.php:78 msgid "" "The deep web is any site that can't be indexed by a search engine, so " "basically any site where you have to log in or be part of a private network. " @@ -580,53 +603,53 @@ msgid "" "The darknet is a small part of the deep web." msgstr "" -#: faq.php:33 faq.php:86 +#: faq.php:32 faq.php:81 msgid "Can you hold my hands and teach me programming or hacking step by step?" msgstr "" -#: faq.php:33 faq.php:90 +#: faq.php:32 faq.php:82 msgid "" -"Joking aside, Teaching you programming or hacking is a task that will take a " -"long time (years). I've been learning for 10 years and still learn new " -"things all the time. But for the beginning I would recommend reading a " -"beginners introduction book, which can guide you with some simple programs " -"you build yourself and examples. If you prefer watching videos, there are a " -"lot of tutorials on YouTube too. But most importantly you will have to take " -"your keyboard and start typing some programs. Start with something simple " -"and keep yourself challenged with new tasks." +"Teaching you programming or hacking is a task that will take a long time " +"(years). I've been learning for 10 years and still learn new things all the " +"time. But for the beginning I would recommend reading a beginners " +"introduction book, which can guide you with some simple programs you build " +"yourself and examples. If you prefer watching videos, there are a lot of " +"tutorials on YouTube too. But most importantly you will have to take your " +"keyboard and start typing some programs. Start with something simple and " +"keep yourself challenged with new tasks." msgstr "" -#: faq.php:34 faq.php:96 +#: faq.php:33 faq.php:87 msgid "" "Can you hack my school or university and change my grades, or find someone " "who would do that?" msgstr "" -#: faq.php:34 faq.php:35 faq.php:36 faq.php:37 faq.php:102 +#: faq.php:33 faq.php:34 faq.php:35 faq.php:36 faq.php:93 msgid "" "Yes, I would love to go to prison for you! - Ehm, or rather not. Sorry, " "can't help you with that." msgstr "" -#: faq.php:35 faq.php:97 +#: faq.php:34 faq.php:88 msgid "" "Can you give me, or tell me where to reliably get stolen PayPal accounts or " "credit cards?" msgstr "" -#: faq.php:36 faq.php:98 +#: faq.php:35 faq.php:89 msgid "Can you issue fake Covid19 test results?" msgstr "" -#: faq.php:37 faq.php:99 +#: faq.php:36 faq.php:90 msgid "Can you do some other illegal things for me?" msgstr "" -#: faq.php:38 faq.php:105 +#: faq.php:37 faq.php:96 msgid "Can you hack my girlfriend? I think she's cheating." msgstr "" -#: faq.php:38 faq.php:106 +#: faq.php:37 faq.php:97 msgid "" "Yes, I could try, but I won't. Don't trust the any sites that claim to give " "you that, because they are all scams. This is ethically just wrong and is " @@ -636,57 +659,66 @@ msgid "" "are based on trust, but obviously you can't trust anymore." msgstr "" -#: faq.php:39 faq.php:109 +#: faq.php:38 faq.php:100 msgid "My email doesn't get sent. I'm getting an error about TLS" msgstr "" -#: faq.php:39 faq.php:110 +#: faq.php:38 faq.php:101 #, php-format msgid "" "You've tried sending an email to a mail server that doesn't accept emails " "via encrypted transfer, or is using insecure protocols. This is very " "unfortunate, because it would leak your email content to anyone on the " "internet, who can intercept your email before it reaches the destination. " -"You can disable mandatory encryption in your account " -"settings, if you still need to send this email." +"You can disable mandatory encryption in your %s, if you still need to send " +"this email." msgstr "" -#: faq.php:40 faq.php:113 +#: faq.php:39 faq.php:104 msgid "I can't receive email, the sender gets an error about TLS" msgstr "" -#: faq.php:40 faq.php:114 +#: faq.php:39 faq.php:105 #, php-format msgid "" "Someone tried emailing you from a mail server that doesn't support sending " "emails via encrypted transfer, or is using insecure protocols. This is very " "unfortunate, because it would leak your email content to anyone on the " "internet, who can intercept your email before it reaches the destination. " -"You can disable mandatory encryption in your account " -"settings, if you still need to receive this email." +"You can disable mandatory encryption in your %s, if you still need to " +"receive this email." msgstr "" -#: faq.php:41 faq.php:117 +#: faq.php:39 faq.php:101 faq.php:105 +msgid "account settings" +msgstr "" + +#: faq.php:40 faq.php:108 msgid "" "I'm in debt and I need to get money fast. How can I quickly make some money?" msgstr "" -#: faq.php:41 faq.php:118 +#: faq.php:40 faq.php:109 #, php-format msgid "" "Becoming rich and clearing your debts is a process that starts in your head. " "Chances of becoming rich overnight are extremely low, you should rather " "focus on long term goals. It may take you a few years to become financially " "free, but everyone can get there, if you are willing to learn and educate " -"yourself. I made an in-depth tutorial about some steps you can take: How to get rich (fast)." +"yourself. I made an in-depth tutorial about some steps you can take: %s." msgstr "" -#: faq.php:42 faq.php:121 +#: faq.php:40 faq.php:109 tutorials/get-rich-fast/index.php:6 +#: tutorials/get-rich-fast/index.php:23 tutorials/get-rich-fast/index.php:33 +#: tutorials/get-rich-fast/index.php:35 tutorials/index.php:32 +msgid "How to get rich (fast)" +msgstr "" + +#: faq.php:41 faq.php:112 msgid "I want to sell my kidney, can you help me?" msgstr "" -#: faq.php:42 faq.php:122 +#: faq.php:41 faq.php:113 #, php-format msgid "" "In most countries, selling organs is illegal. So if you succeed in finding a " @@ -696,42 +728,41 @@ msgid "" "anyone, and of course not having to pay you. Your motive is most likely " "financial gain. However, when you sell your kidney, you can expect to be " "paid only a fraction of its worth. For a more detailed answer, you may want " -"to read this " -"Wikipedia article." +"to read %s." msgstr "" -#: faq.php:43 faq.php:125 +#: faq.php:41 faq.php:113 +msgid "this Wikipedia article" +msgstr "" + +#: faq.php:42 faq.php:116 msgid "I have more Questions." msgstr "" -#: faq.php:43 faq.php:126 -#, php-format -msgid "Feel free, to contact me." +#: faq.php:42 faq.php:117 +msgid "Contact me" msgstr "" -#: faq.php:46 +#: faq.php:45 msgid "FAQ - Frequently Asked Questions" msgstr "" -#: faq.php:47 +#: faq.php:46 msgid "" "Here you have a list of frequently asked questions regarding the services I " "provide and their answers." msgstr "" -#: faq.php:50 +#: faq.php:49 msgid "Question" msgstr "" -#: faq.php:51 +#: faq.php:50 msgid "Answer" msgstr "" -#: faq.php:88 -msgid "" -"Yes, marry me and I might actually do that. But only if you teach me " -"something in return. Send me your proposals. " -"Sorry guys, only considering females." +#: common.php:110 +msgid "Toggle navigation" msgstr "" #: common.php:122 blog/index.php:27 @@ -826,10 +857,14 @@ msgid "" msgstr "" #: new-domain.php:37 +#, php-format msgid "" -"E-Mail users should also update their PGP key in their account settings to reflect the new " -"domain and allow WKD clients to grab your key automatically." +"E-Mail users should also update their PGP key %s to reflect the new domain " +"and allow WKD clients to grab your key automatically." +msgstr "" + +#: new-domain.php:37 +msgid "in their account settings" msgstr "" #: new-domain.php:38 @@ -857,19 +892,26 @@ msgid "" msgstr "" #: new-domain.php:42 +#, php-format msgid "" -"I have taken the opportunity to create a new PGP key and signed it with my old PGP key. This can be verified by running a " -"command like this:" +"I have taken the opportunity to create a %1$s and signed it with my %2$s. " +"This can be verified by running a command like this:" +msgstr "" + +#: new-domain.php:42 +msgid "new PGP key" +msgstr "" + +#: new-domain.php:42 +msgid "old PGP key" msgstr "" #: new-domain.php:44 +#, php-format msgid "" -"It should show proof that it is signed by my old key F8B8CFC35FBDB40D. I have also included signatures of previous keys on my old key, so " -"you can even verify the key, in case you have an older key I was using " -"before." +"It should show proof that it is signed by my old key %s. I have also " +"included signatures of previous keys on my old key, so you can even verify " +"the key, in case you have an older key I was using before." msgstr "" #: hosting/index.php:6 hosting/index.php:15 hosting/index.php:25 @@ -882,15 +924,15 @@ msgid "Daniel's Hosting - a former darknet web hosting service" msgstr "" #: hosting/index.php:28 +#, php-format msgid "" "In March 2020 a hacker deleted all databases related to my hosting, thus I " "was forced to shut down my hosting service. If you want to contribute or " -"setup your own hosting, check out my open source project at https://github.com/DanWin/hosting." +"setup your own hosting, check out my open source project at %s." msgstr "" #: hosting/index.php:29 +#, php-format msgid "" "Being a darknet hoster has taught me many things. However, this was a free " "time project I did next to my full time job and it's very time-consuming to " @@ -898,18 +940,13 @@ msgid "" "times more time on deleting accounts than I could find time to continue " "development. At this time I do not plan on continuing the hosting project, " "but this doesn't have to be the end. There are other hosting providers like " -"Ablative Hosting, OneHost, OnionLand Hosting or a clearnet proxy " -"service Clearnet Onion | Easy clearnet relay and my project is " -"available for download, which should enable anyone " -"willing to become the next darknet shared hosting provider to start where I " -"left of." +"%1$s, %2$s, %3$s or a clearnet proxy service %4$s and my project is %5$s, " +"which should enable anyone willing to become the next darknet shared hosting " +"provider to start where I left of." +msgstr "" + +#: hosting/index.php:29 +msgid "available for download" msgstr "" #: privacy.php:6 privacy.php:15 privacy.php:25 @@ -1140,10 +1177,10 @@ msgid "After 9 years, I'm shutting down the chat for good." msgstr "" #: chat/index.php:29 +#, php-format msgid "" "If you are interested in running a similar chat community, you can download " -"my chat script on GitHub." +"my chat script on %s." msgstr "" #: chat/index.php:30 @@ -1208,9 +1245,8 @@ msgid "" msgstr "" #: blog/onion-link-list-shutdown/index.php:30 -msgid "" -"You can find an alternative link list at for example Ahmia." +#, php-format +msgid "You can find an alternative link list at for example %s." msgstr "" #: blog/index.php:6 blog/index.php:15 blog/index.php:25 @@ -1253,12 +1289,6 @@ msgstr "" msgid "Hosting service shutdown due to hack" msgstr "" -#: tutorials/get-rich-fast/index.php:6 tutorials/get-rich-fast/index.php:23 -#: tutorials/get-rich-fast/index.php:33 tutorials/get-rich-fast/index.php:35 -#: tutorials/index.php:32 -msgid "How to get rich (fast)" -msgstr "" - #: tutorials/get-rich-fast/index.php:10 tutorials/get-rich-fast/index.php:24 #: tutorials/index.php:32 msgid "This tutorial will guide you to achieving financial freedom." @@ -1509,10 +1539,22 @@ msgid "(Save 50€ on your first investment with the code \"%s\")" msgstr "" #: tutorials/get-rich-fast/index.php:94 -msgid "Passive income" +#, php-format +msgid "" +"I have a referral code available for most of these platforms, but cannot " +"share them in public. If you are really intered and want to save a little on " +"your first investment, %s." +msgstr "" + +#: tutorials/get-rich-fast/index.php:94 +msgid "ask me for a referral" msgstr "" #: tutorials/get-rich-fast/index.php:95 +msgid "Passive income" +msgstr "" + +#: tutorials/get-rich-fast/index.php:96 msgid "" "After you've made your first investments, you will receive a small " "percentage of your investment as a dividend. It varies with each investment. " @@ -1534,10 +1576,15 @@ msgid "Various tutorials provided by Daniel Winzen" msgstr "" #: tutorials/index.php:28 +#, php-format msgid "" "Here I upload tutorials that have been asked for a number of times. If you " "have suggestions on how to improve a tutorial or want me to make one another " -"one, you can contact me here." +"one, you can %s." +msgstr "" + +#: tutorials/index.php:28 +msgid "contact me here" msgstr "" #: tutorials/index.php:30 @@ -1776,22 +1823,21 @@ msgid "Addressing platform-generated invoices" msgstr "" #: tutorials/self-employed/index.php:43 +#, php-format msgid "" "German invoicing requirements are more strict than in some other countries. " "This, unfortunately, means, that invoices in your name, generated by foreign " "platforms, may not be considered valid in Germany. If you are using " -"platforms such as Upwork or Fiverr, you should " -"create your invoices in addition to the ones generated by the platform. This " -"applies especially if you are required to account for VAT, which is often " -"not handled correctly by these platforms. If you are from Europe, and your " -"customer is from the same country as you, you should get an agreement with " -"them, that you send them separately an invoice with the correctly accounted " -"VAT, which they will pay directly to you, while the primary task is paid " -"over the platform you are using. This is only fair to the platform, and you " -"avoid having to deal with invalid invoices, that would require you to deduct " -"the missing VAT from your income." +"platforms such as %1$s or %2$s, you should create your invoices in addition " +"to the ones generated by the platform. This applies especially if you are " +"required to account for VAT, which is often not handled correctly by these " +"platforms. If you are from Europe, and your customer is from the same " +"country as you, you should get an agreement with them, that you send them " +"separately an invoice with the correctly accounted VAT, which they will pay " +"directly to you, while the primary task is paid over the platform you are " +"using. This is only fair to the platform, and you avoid having to deal with " +"invalid invoices, that would require you to deduct the missing VAT from your " +"income." msgstr "" #: tutorials/self-employed/index.php:44 @@ -1858,10 +1904,9 @@ msgstr "" msgid "" "While it is possible to mix business and personal finances on your bank " "account, it is highly advisable to have a separate business account, such as " -"Finom, to " -"keep a better overview of your finances and so you don't have to share your " -"personal transactions with tax advisors or an auditor. You can freely send " -"money back and forth between your personal and business accounts." +"%1$s, to keep a better overview of your finances and so you don't have to " +"share your personal transactions with tax advisors or an auditor. You can " +"freely send money back and forth between your personal and business accounts." msgstr "" #: tutorials/self-employed/index.php:52 @@ -1872,15 +1917,20 @@ msgid "" "payments yourself. You should make sure that you save enough money to pay " "taxes. Each time you pay yourself from your business account, send an amount " "equivalent to your estimated income tax to a separate savings account. You " -"can use an online income tax calculator to check how much you should " -"keep aside. Given that low and even negative interest rates are the norm, it " -"is best to look for a fixed deposit account, or a bank account with high-" -"interest rates, to keep your savings safe and earn a little with it. I use " -"C24 Bank " -"for this purpose, as they are offering up to 4%% interest rate. To find the " -"right account for your, you can compare bank accounts here." +"can use an %1$s to check how much you should keep aside. Given that low and " +"even negative interest rates are the norm, it is best to look for a fixed " +"deposit account, or a bank account with high-interest rates, to keep your " +"savings safe and earn a little with it. I use %2$s for this purpose, as they " +"are offering up to 4%% interest rate. To find the right account for your, " +"you can %3$s." +msgstr "" + +#: tutorials/self-employed/index.php:52 +msgid "online income tax calculator" +msgstr "" + +#: tutorials/self-employed/index.php:52 +msgid "compare bank accounts here" msgstr "" #: tutorials/self-employed/index.php:53 @@ -1895,9 +1945,12 @@ msgid "" "low contributions to public insurance, but if your business is going well " "and your earnings are high, your health insurance expenses will go up " "significantly. Thus it makes sense to opt for private insurance instead, as " -"these usually have a fixed pricing based on your age and health. You can compare insurance " -"on Check24 or similar platforms to find one that suits your needs." +"these usually have a fixed pricing based on your age and health. You can %s " +"or similar platforms to find one that suits your needs." +msgstr "" + +#: tutorials/self-employed/index.php:54 +msgid "compare insurance on Check24" msgstr "" #: tutorials/self-employed/index.php:55 @@ -2032,9 +2085,10 @@ msgid "" msgstr "" #: tutorials/torify-ftp/index.php:36 +#, php-format msgid "" -"This tutorial will show you how to torify FTP clients in the example of FileZilla and WinSCP." +"This tutorial will show you how to torify FTP clients in the example of %1$s " +"and %2$s." msgstr "" #: tutorials/torify-ftp/index.php:37 @@ -2055,10 +2109,12 @@ msgid "1. FileZilla" msgstr "" #: tutorials/torify-ftp/index.php:43 -msgid "" -"If you haven't installed FileZilla yet, you can download FileZilla here." +#, php-format +msgid "If you haven't installed FileZilla yet, you can %s." +msgstr "" + +#: tutorials/torify-ftp/index.php:43 +msgid "download FileZilla here" msgstr "" #: tutorials/torify-ftp/index.php:49 @@ -2097,10 +2153,8 @@ msgid "2. WinSCP" msgstr "" #: tutorials/torify-ftp/index.php:75 -msgid "" -"If you haven't installed WinSCP yet, you can download " -"WinSCP here." +#, php-format +msgid "If you haven't installed WinSCP yet, you can %s." msgstr "" #: tutorials/torify-ftp/index.php:80 @@ -2197,9 +2251,12 @@ msgstr "" #, php-format msgid "" "If you are curious to try this fetish out or would like to thank me, you can " -"donate or buy me an item from my Amazon wishlist. For a more long-term " -"experience, see the links below." +"donate or buy me an item from my %s. For a more long-term experience, see " +"the links below." +msgstr "" + +#: tutorials/findom/index.php:45 +msgid "Amazon wishlist" msgstr "" #: tutorials/findom/index.php:46 diff --git a/new-domain.php b/new-domain.php index 8f7b64e..b697bed 100644 --- a/new-domain.php +++ b/new-domain.php @@ -3,19 +3,19 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - New domain'); ?> +<?php echo htmlspecialchars(_('Daniel - New domain')); ?> - + - - + + @@ -23,24 +23,24 @@ global $language, $dir, $locale; - - + + -

-

suspected fraud, a chargeback or some similar violation of our terms of service. After contacting their customer support multiple times, even after more than a year, all I have ever gotten back from them is that I will hear from them soon, as they need more time to investigate, and they appreciate my patience. I was refused renewing the domain or moving to a different registrar.'); ?>

-

-

Unfortunately, we need more time to investigate your issue. A year should be more than enough time to solve whatever issue they might have with my account… This time I decided to let it expire for good, since almost everyone should have switched over to the new domain by now.'); ?>

-

-

-

-

in their account settings to reflect the new domain and allow WKD clients to grab your key automatically.'); ?>

-

-

-

-

-

new PGP key and signed it with my old PGP key. This can be verified by running a command like this:'); ?>

+

+

suspected fraud, a chargeback or some similar violation of our terms of service. After contacting their customer support multiple times, even after more than a year, all I have ever gotten back from them is that I will hear from them soon, as they need more time to investigate, and they appreciate my patience. I was refused renewing the domain or moving to a different registrar.')); ?>

+

+

Unfortunately, we need more time to investigate your issue. A year should be more than enough time to solve whatever issue they might have with my account… This time I decided to let it expire for good, since almost everyone should have switched over to the new domain by now.')); ?>

+

+

+

+

'.htmlspecialchars(_('in their account settings')).''); ?>

+

+

+

+

+

'.htmlspecialchars(_('new PGP key')).'', ''.htmlspecialchars(_('old PGP key')).''); ?>

curl -s https://danwin1210.de/pgp.txt | gpg --import && gpg --list-sigs 222FCC3F35C41077
-

F8B8CFC35FBDB40D. I have also included signatures of previous keys on my old key, so you can even verify the key, in case you have an older key I was using before.'); ?>

+

F8B8CFC35FBDB40D'); ?>

diff --git a/privacy.php b/privacy.php index 0400413..459d61e 100644 --- a/privacy.php +++ b/privacy.php @@ -3,63 +3,63 @@ require_once('common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Privacy policy'); ?> +<?php echo htmlspecialchars(_('Daniel - Privacy policy')); ?> - + - - + + - + - - + + -

-

+

+





-
-
-
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

+
+
+
+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

- - - + + +
Hetzner Online GmbH
hosting.de GmbH
Hetzner Online GmbH
hosting.de GmbH
diff --git a/tutorials/findom/index.php b/tutorials/findom/index.php index f3b0344..ec2e376 100755 --- a/tutorials/findom/index.php +++ b/tutorials/findom/index.php @@ -3,11 +3,11 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> - <?php echo _('Earning money with findom'); ?> + <?php echo htmlspecialchars(_('Earning money with findom')); ?> - + @@ -18,42 +18,42 @@ global $language, $dir, $locale; - - + + - + - + -

-

-

-

-

-

-

-

-

-

-

-

Amazon wishlist. For a more long-term experience, see the links below.'), 'https://www.amazon.de/hz/wishlist/ls/1JDS4872IYJGW/'); ?>

-

+

+

+

+

+

+

+

+

+

+

+

+

'.htmlspecialchars(_('Amazon wishlist')).''); ?>

+

-

+

-

+

-

+

diff --git a/tutorials/get-rich-fast/index.php b/tutorials/get-rich-fast/index.php index 089f12f..d364b2b 100644 --- a/tutorials/get-rich-fast/index.php +++ b/tutorials/get-rich-fast/index.php @@ -3,11 +3,11 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> - <?php echo _('How to get rich (fast)'); ?> + <?php echo htmlspecialchars(_('How to get rich (fast)')); ?> - + @@ -20,63 +20,63 @@ global $language, $dir, $locale; - - + + - + - + -

-

-

+

+

+

    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

-

-

+

'.htmlspecialchars(_('ask me for a referral')).''); ?>

+

+

diff --git a/tutorials/index.php b/tutorials/index.php index 2fad22d..f02a07e 100644 --- a/tutorials/index.php +++ b/tutorials/index.php @@ -3,36 +3,36 @@ require_once('../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Daniel - Tutorials'); ?> +<?php echo htmlspecialchars(_('Daniel - Tutorials')); ?> - + - - + + - + - - + + -

contact me here.'); ?>

+

'.htmlspecialchars(_('contact me here')).''); ?>

-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/tutorials/self-employed/index.php b/tutorials/self-employed/index.php index 937ccaf..9461970 100755 --- a/tutorials/self-employed/index.php +++ b/tutorials/self-employed/index.php @@ -3,11 +3,11 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> - <?php echo _('Becoming self-employed'); ?> + <?php echo htmlspecialchars(_('Becoming self-employed')); ?> - + @@ -16,53 +16,53 @@ global $language, $dir, $locale; - - + + - + - + -

-

-

-

-

-

-

-

-

-

-

-

Upwork or Fiverr, you should create your invoices in addition to the ones generated by the platform. This applies especially if you are required to account for VAT, which is often not handled correctly by these platforms. If you are from Europe, and your customer is from the same country as you, you should get an agreement with them, that you send them separately an invoice with the correctly accounted VAT, which they will pay directly to you, while the primary task is paid over the platform you are using. This is only fair to the platform, and you avoid having to deal with invalid invoices, that would require you to deduct the missing VAT from your income.'); ?>

-

-

-

-

-

-

-

-

Finom, to keep a better overview of your finances and so you don\'t have to share your personal transactions with tax advisors or an auditor. You can freely send money back and forth between your personal and business accounts.'), 'https://app.finom.co/r/CRpzkjE4'); ?>

-

online income tax calculator to check how much you should keep aside. Given that low and even negative interest rates are the norm, it is best to look for a fixed deposit account, or a bank account with high-interest rates, to keep your savings safe and earn a little with it. I use C24 Bank for this purpose, as they are offering up to 4%% interest rate. To find the right account for your, you can compare bank accounts here.'), 'https://allaboutberlin.com/tools/tax-calculator', 'https://s.c24.de/gysE5DLcIE/', 'https://c.24.de/giro/r/47G5cfGDeOF0'); ?>

-

-

compare insurance on Check24 or similar platforms to find one that suits your needs.'), 'https://www.check24.de/private-krankenversicherung/sl/empfehlung/?publicAccessKey=95TX8VxmvTZh'); ?>

-

-

Piler'); ?>

-

-

-

+

+

+

+

+

+

+

+

+

+

+

+

Upwork', 'Fiverr'); ?>

+

+

+

+

+

+

+

+

Finom'); ?>

+

'.htmlspecialchars(_('online income tax calculator')).'', 'C24 Bank', ''.htmlspecialchars(_('compare bank accounts here')).''); ?>

+

+

'.htmlspecialchars(_('compare insurance on Check24')).''); ?>

+

+

Piler'); ?>

+

+

+

    -
  • InvoiceNinja'); ?>
  • -
  • NextCloud'); ?>
  • -
  • Mattermost'); ?>
  • -
  • Gitea'); ?>
  • -
  • VaultWarden'); ?>
  • +
  • InvoiceNinja'); ?>
  • +
  • NextCloud'); ?>
  • +
  • Mattermost'); ?>
  • +
  • Gitea'); ?>
  • +
  • VaultWarden'); ?>
diff --git a/tutorials/successful-sugar-dating/index.php b/tutorials/successful-sugar-dating/index.php index 3136ebd..9233168 100644 --- a/tutorials/successful-sugar-dating/index.php +++ b/tutorials/successful-sugar-dating/index.php @@ -3,11 +3,11 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> - <?php echo _('How to have a successful sugar dating relationship'); ?> + <?php echo htmlspecialchars(_('How to have a successful sugar dating relationship')); ?> - + @@ -19,30 +19,30 @@ global $language, $dir, $locale; - - + + - + - + -

-

-

-

-

-

-

-

-

-

-

+

+

+

+

+

+

+

+

+

+

+

  • MySugarDaddy
  • Seeking
  • diff --git a/tutorials/torify-ftp/index.php b/tutorials/torify-ftp/index.php index 150e2fb..2a02b28 100644 --- a/tutorials/torify-ftp/index.php +++ b/tutorials/torify-ftp/index.php @@ -3,11 +3,11 @@ require_once('../../common.php'); global $language, $dir, $locale; ?> -<?php echo _('Tutorials - Torify FTP clients'); ?> +<?php echo htmlspecialchars(_('Tutorials - Torify FTP clients')); ?> - + @@ -20,76 +20,76 @@ global $language, $dir, $locale; - - + + - + - + -

    FileZilla and WinSCP.'); ?>

    -

    +

    FileZilla', 'WinSCP'); ?>

    +

    -<?php echo _('Hosting dashboard'); ?> +<?php echo htmlspecialchars(_('Hosting dashboard')); ?> -

    -

    download FileZilla here.'); ?>

    -

    +

    +

    '.htmlspecialchars(_('download FileZilla here')).''); ?>

    +

    -<?php echo _('FileZilla settings'); ?> +<?php echo htmlspecialchars(_('FileZilla settings')); ?> -<?php echo _('FileZilla Generic Proxy settings'); ?> +<?php echo htmlspecialchars(_('FileZilla Generic Proxy settings')); ?> -

    +

    -<?php echo _('FileZilla connection error'); ?> +<?php echo htmlspecialchars(_('FileZilla connection error')); ?> -

    +

    -<?php echo _('FileZilla success'); ?> +<?php echo htmlspecialchars(_('FileZilla success')); ?>
    -

    -

    download WinSCP here.'); ?>

    -

    +

    +

    '.htmlspecialchars('download WinSCP here').''); ?>

    +

    -<?php echo _('Connection details'); ?> +<?php echo htmlspecialchars(_('Connection details')); ?> -

    +

    -<?php echo _('Connection optimizations'); ?> +<?php echo htmlspecialchars(_('Connection optimizations')); ?> -

    +

    -<?php echo _('Proxy configuration'); ?> +<?php echo htmlspecialchars(_('Proxy configuration')); ?>