escape translations

This commit is contained in:
2023-02-25 15:43:15 +01:00
parent f1e7b6257e
commit 6ac09ff560

View File

@ -30,7 +30,7 @@ global $language, $dir, $locale;
<meta property="og:url" content="https://danwin1210.de/tutorials/torify-ftp/">
<meta property="og:locale" content="<?php echo $locale; ?>">
<meta property="og:site_name" content="<?php echo _('Daniel'); ?>">
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"<?php echo _('Torify FTP clients'); ?>", "datePublished": "2017-10-21", "author":{"@type":"Person", "image": "/daniel.jpg", "name": "Daniel Winzen", "email": "daniel@danwin1210.de", "telephone": "+4917698819809", "url": "https://danwin1210.de"}, "tool": [{"@type":"HowToTool", "name":"Tor", "url": "https://www.torproject.org/"},{"@type":"HowToTool", "name":"FileZilla", "url": "https://filezilla-project.org/"},{"@type":"HowToTool", "name":"WinSCP", "url": "https://winscp.net/"}], "totalTime": "PT5M", "step": [{"@type": "HowToStep", "name": "<?php echo _("Download FileZilla"); ?>", "text": "<?php echo _("If you haven't installed FileZilla yet, you need to first download FileZilla."); ?>", "url": "https://filezilla-project.org/download.php?type=client"},{"@type": "HowToStep", "name": "<?php echo _("Configure proxy"); ?>", "text": "<?php echo _("Go to Generic Proxy settings and change the type to SOCKS5, host to localhost and Port to 9050 (if you run Tor as daemon) or 9150 (if you run TorBrowser)."); ?>", "image": ["2.gif", "3.gif"]},{"@type": "HowToStep", "name": "<?php echo _("Alternatively download WinSCP"); ?>", "text": "<?php echo _("If you haven't installed WinSCP yet, you need to first download WinSCP."); ?>", "url": "https://winscp.net/eng/download.php"},{"@type": "HowToStep", "name": "<?php echo _("Enter connection details"); ?>", "text": "<?php echo _("When started, enter your connection details."); ?>", "image": "1.jpg"},{"@type": "HowToStep", "name": "<?php echo _("Change connection timeout"); ?>", "text": "<?php echo _("Click on the Advanced… button and under Connection, change timeout to 50 as Tor can be slow at times."); ?>", "image": "2.jpg"},{"@type": "HowToStep", "name": "<?php echo _("Configure proxy"); ?>", "text": "<?php echo str_replace('"', "'", _('Now switch to the Proxy tab and change the type to SOCKS5, host to 127.0.0.1 and Port to 9050 (if your run Tor as daemon) or 9150 (if you run TorBrowser) and set "Do DNS name lookup at proxy end" to yes.')); ?>", "image": "3.jpg"}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"HowTo","name":"<?php echo htmlspecialchars(_('Torify FTP clients')); ?>", "datePublished": "2017-10-21", "author":{"@type":"Person", "image": "/daniel.jpg", "name": "Daniel Winzen", "email": "daniel@danwin1210.de", "telephone": "+4917698819809", "url": "https://danwin1210.de"}, "tool": [{"@type":"HowToTool", "name":"Tor", "url": "https://www.torproject.org/"},{"@type":"HowToTool", "name":"FileZilla", "url": "https://filezilla-project.org/"},{"@type":"HowToTool", "name":"WinSCP", "url": "https://winscp.net/"}], "totalTime": "PT5M", "step": [{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Download FileZilla")); ?>", "text": "<?php echo htmlspecialchars(_("If you haven't installed FileZilla yet, you need to first download FileZilla.")); ?>", "url": "https://filezilla-project.org/download.php?type=client"},{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Configure proxy")); ?>", "text": "<?php echo htmlspecialchars(_("Go to Generic Proxy settings and change the type to SOCKS5, host to localhost and Port to 9050 (if you run Tor as daemon) or 9150 (if you run TorBrowser).")); ?>", "image": ["2.gif", "3.gif"]},{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Alternatively download WinSCP")); ?>", "text": "<?php echo htmlspecialchars(_("If you haven't installed WinSCP yet, you need to first download WinSCP.")); ?>", "url": "https://winscp.net/eng/download.php"},{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Enter connection details")); ?>", "text": "<?php echo htmlspecialchars(_("When started, enter your connection details.")); ?>", "image": "1.jpg"},{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Change connection timeout")); ?>", "text": "<?php echo htmlspecialchars(_("Click on the Advanced… button and under Connection, change timeout to 50 as Tor can be slow at times.")); ?>", "image": "2.jpg"},{"@type": "HowToStep", "name": "<?php echo htmlspecialchars(_("Configure proxy")); ?>", "text": "<?php echo htmlspecialchars(_('Now switch to the Proxy tab and change the type to SOCKS5, host to 127.0.0.1 and Port to 9050 (if your run Tor as daemon) or 9150 (if you run TorBrowser) and set "Do DNS name lookup at proxy end" to yes.')); ?>", "image": "3.jpg"}]}</script>
<style>img{max-width:100%}</style>
</head><body>
<?php menu(_('Tutorials - Torify FTP clients')); ?>