Create imprint page

This commit is contained in:
2023-02-25 15:41:40 +01:00
parent 0b15412b3a
commit f1e7b6257e
4 changed files with 105 additions and 61 deletions

View File

@ -127,8 +127,9 @@ function menu(string $title = ''): void
echo "<a href=\"$host/github-ipv6-proxy.php\">"._('GitHub IPv6 proxy').'</a>'; echo "<a href=\"$host/github-ipv6-proxy.php\">"._('GitHub IPv6 proxy').'</a>';
echo "<a href=\"$host/faq.php\">"._('FAQ').'</a>'; echo "<a href=\"$host/faq.php\">"._('FAQ').'</a>';
echo "<a href=\"$host/about.php\">"._('About').'</a>'; echo "<a href=\"$host/about.php\">"._('About').'</a>';
echo "<a href=\"$host/privacy.php\">"._('Privacy').'</a>';
echo "<a href=\"$host/contact.php\">"._('Contact').'</a>'; echo "<a href=\"$host/contact.php\">"._('Contact').'</a>';
echo "<a href=\"$host/privacy.php\">"._('Privacy').'</a>';
echo "<a href=\"$host/imprint.php\">"._('Imprint').'</a>';
echo '</nav>'; echo '</nav>';
echo '</details>'; echo '</details>';
echo '<details id="language">'; echo '<details id="language">';

View File

@ -75,16 +75,5 @@ if($_SERVER['REQUEST_METHOD']==='POST'){
?> ?>
<p><?php echo _('If you want to encrypt your message, you can use <a href="/pgp.txt" target="_blank">my public PGP key</a>.'); ?></p> <p><?php echo _('If you want to encrypt your message, you can use <a href="/pgp.txt" target="_blank">my public PGP key</a>.'); ?></p>
<p><?php echo _('If you prefer to directly get in contact with me, email me at <a href="mailto:daniel@danwin1210.de">daniel@danwin1210.de</a>.'); ?></p> <p><?php echo _('If you prefer to directly get in contact with me, email me at <a href="mailto:daniel@danwin1210.de">daniel@danwin1210.de</a>.'); ?></p>
<p>
<b><?php echo CONTACT_NAME; ?></b><br>
<?php echo CONTACT_STREET; ?><br>
<?php echo CONTACT_ZIP . ' ' . CONTACT_CITY; ?><br>
<?php echo CONTACT_COUNTRY; ?><br>
<?php printf(_('Email: %s'), CONTACT_EMAIL); ?><br>
<?php printf(_('Phone: %s'), CONTACT_PHONE); ?><br>
<?php printf(_('VAT ID number: %s'), CONTACT_VAT_ID_NUMBER); ?>
</p>
<b><?php echo _('Disclaimer - External links'); ?></b>
<p><?php echo _('This website contains links to third party websites ("external links"). These websites are subject to the liability of the respective operator. When linking first time third-party content, the provider checked whether there are any legal violations. At the time there were none legal violations evident. The provider has no influence on the current and future design and the content of the linked pages. Setting external links does not mean that the provider claims ownership of the content behind the reference or link. Constant control of the external links are not reasonable for the provider without concrete evidence of legal violations. At knowledge of legal violations, however, such external links will be deleted immediately.'); ?></p>
</main> </main>
</body></html> </body></html>

40
imprint.php Normal file
View File

@ -0,0 +1,40 @@
<?php
require_once('common.php');
global $language, $dir, $locale;
?>
<!DOCTYPE html><html lang="<?php echo $language; ?>" dir="<?php echo $dir; ?>"><head>
<title><?php echo _('Daniel - Imprint'); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" content="Daniel Winzen">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<?php echo _('Imprint of Daniel Winzen'); ?>">
<link rel="canonical" href="https://danwin1210.de/imprint.php">
<link rel="alternate" href="https://danwin1210.de/imprint.php" hreflang="x-default">
<?php alt_links(); ?>
<meta property="og:type" content="website">
<meta property="og:title" content="<?php echo _('Daniel - Imprint'); ?>">
<meta property="og:description" content="<?php echo _('Imprint of Daniel Winzen'); ?>">
<meta property="og:image" content="https://danwin1210.de/daniel.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:height" content="1000">
<meta property="og:image:width" content="1000">
<meta property="og:image:alt" content="<?php echo _('An avatar representing Daniel Winzen'); ?>">
<meta property="og:url" content="https://danwin1210.de/contact.php">
<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":"WebPage","mainEntity":{"@type":"Person", "image": "/daniel.jpg", "name": "Daniel Winzen", "email": "daniel@danwin1210.de", "telephone": "+4917698819809", "url": "https://danwin1210.de"}}</script>
</head><body>
<?php menu(_('Imprint')); ?>
<p>
<b><?php echo CONTACT_NAME; ?></b><br>
<?php echo CONTACT_STREET; ?><br>
<?php echo CONTACT_ZIP . ' ' . CONTACT_CITY; ?><br>
<?php echo CONTACT_COUNTRY; ?><br>
<?php printf(_('Email: %s'), CONTACT_EMAIL); ?><br>
<?php printf(_('Phone: %s'), CONTACT_PHONE); ?><br>
<?php printf(_('VAT ID number: %s'), CONTACT_VAT_ID_NUMBER); ?>
</p>
<b><?php echo _('Disclaimer - External links'); ?></b>
<p><?php echo _('This website contains links to third party websites ("external links"). These websites are subject to the liability of the respective operator. When linking first time third-party content, the provider checked whether there are any legal violations. At the time there were none legal violations evident. The provider has no influence on the current and future design and the content of the linked pages. Setting external links does not mean that the provider claims ownership of the content behind the reference or link. Constant control of the external links are not reasonable for the provider without concrete evidence of legal violations. At knowledge of legal violations, however, such external links will be deleted immediately.'); ?></p>
</main>
</body></html>

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-02-22 17:56+0100\n" "POT-Creation-Date: 2023-02-25 15:41+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,6 +17,65 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: imprint.php:6 imprint.php:15
msgid "Daniel - Imprint"
msgstr ""
#: imprint.php:10 imprint.php:16
msgid "Imprint of Daniel Winzen"
msgstr ""
#: imprint.php:21 index.php:21 about.php:23 github-ipv6-proxy.php:26
#: contact.php:21 faq.php:20 new-domain.php:23 hosting/index.php:21
#: privacy.php:21 chat/index.php:21 tutorials/index.php:21
#: tutorials/torify-ftp/index.php:29
msgid "An avatar representing Daniel Winzen"
msgstr ""
#: imprint.php:24 index.php:24 about.php:26 github-ipv6-proxy.php:29
#: contact.php:24 faq.php:23 new-domain.php:26 hosting/index.php:24
#: privacy.php:24 chat/index.php:24 tutorials/index.php:24
#: tutorials/torify-ftp/index.php:32
msgid "Daniel"
msgstr ""
#: imprint.php:27 common.php:132
msgid "Imprint"
msgstr ""
#: imprint.php:33 privacy.php:35
#, php-format
msgid "Email: %s"
msgstr ""
#: imprint.php:34 privacy.php:34
#, php-format
msgid "Phone: %s"
msgstr ""
#: imprint.php:35 privacy.php:37
#, php-format
msgid "VAT ID number: %s"
msgstr ""
#: imprint.php:37
msgid "Disclaimer - External links"
msgstr ""
#: imprint.php:38
msgid ""
"This website contains links to third party websites (\"external links\"). "
"These websites are subject to the liability of the respective operator. When "
"linking first time third-party content, the provider checked whether there "
"are any legal violations. At the time there were none legal violations "
"evident. The provider has no influence on the current and future design and "
"the content of the linked pages. Setting external links does not mean that "
"the provider claims ownership of the content behind the reference or link. "
"Constant control of the external links are not reasonable for the provider "
"without concrete evidence of legal violations. At knowledge of legal "
"violations, however, such external links will be deleted immediately."
msgstr ""
#: index.php:6 index.php:15 #: index.php:6 index.php:15
msgid "Daniel - Home" msgid "Daniel - Home"
msgstr "" msgstr ""
@ -27,18 +86,6 @@ msgid ""
"enthusiast" "enthusiast"
msgstr "" msgstr ""
#: index.php:21 about.php:23 github-ipv6-proxy.php:26 contact.php:21 faq.php:20
#: new-domain.php:23 hosting/index.php:21 privacy.php:21 chat/index.php:21
#: tutorials/index.php:21 tutorials/torify-ftp/index.php:29
msgid "An avatar representing Daniel Winzen"
msgstr ""
#: index.php:24 about.php:26 github-ipv6-proxy.php:29 contact.php:24 faq.php:23
#: new-domain.php:26 hosting/index.php:24 privacy.php:24 chat/index.php:24
#: tutorials/index.php:24 tutorials/torify-ftp/index.php:32
msgid "Daniel"
msgstr ""
#: index.php:27 common.php:121 #: index.php:27 common.php:121
msgid "Home" msgid "Home"
msgstr "" msgstr ""
@ -319,7 +366,7 @@ msgstr ""
msgid "Contact Daniel Winzen" msgid "Contact Daniel Winzen"
msgstr "" msgstr ""
#: contact.php:27 common.php:131 #: contact.php:27 common.php:130
msgid "Contact" msgid "Contact"
msgstr "" msgstr ""
@ -379,39 +426,6 @@ msgid ""
"href=\"mailto:daniel@danwin1210.de\">daniel@danwin1210.de</a>." "href=\"mailto:daniel@danwin1210.de\">daniel@danwin1210.de</a>."
msgstr "" msgstr ""
#: contact.php:83 privacy.php:35
#, php-format
msgid "Email: %s"
msgstr ""
#: contact.php:84 privacy.php:34
#, php-format
msgid "Phone: %s"
msgstr ""
#: contact.php:85 privacy.php:37
#, php-format
msgid "VAT ID number: %s"
msgstr ""
#: contact.php:87
msgid "Disclaimer - External links"
msgstr ""
#: contact.php:88
msgid ""
"This website contains links to third party websites (\"external links\"). "
"These websites are subject to the liability of the respective operator. When "
"linking first time third-party content, the provider checked whether there "
"are any legal violations. At the time there were none legal violations "
"evident. The provider has no influence on the current and future design and "
"the content of the linked pages. Setting external links does not mean that "
"the provider claims ownership of the content behind the reference or link. "
"Constant control of the external links are not reasonable for the provider "
"without concrete evidence of legal violations. At knowledge of legal "
"violations, however, such external links will be deleted immediately."
msgstr ""
#: faq.php:6 faq.php:14 faq.php:24 #: faq.php:6 faq.php:14 faq.php:24
msgid "Daniel - FAQ - Frequently Asked Questions" msgid "Daniel - FAQ - Frequently Asked Questions"
msgstr "" msgstr ""
@ -666,11 +680,11 @@ msgstr ""
msgid "FAQ" msgid "FAQ"
msgstr "" msgstr ""
#: common.php:130 #: common.php:131
msgid "Privacy" msgid "Privacy"
msgstr "" msgstr ""
#: common.php:142 #: common.php:143
msgid "Add translation" msgid "Add translation"
msgstr "" msgstr ""