diff --git a/bin/css/style.css b/bin/css/style.css index 163dd2b362fd1fbf98664660f2fdc8f401d4fb8e..a7071b35c09f8e11963d1c5e96e94d4ffb76346f 100644 --- a/bin/css/style.css +++ b/bin/css/style.css @@ -631,7 +631,7 @@ h1.page-header-text-title { .start-page-header { padding: 0 !important; - height: 100vh; + height: auto; overflow: hidden; } diff --git a/index.php b/index.php index c119c313068f43cf74c9694e40ab44ce64c11b13..42163e1bb9ff3398e59bce0de5208c7a7213d8a1 100644 --- a/index.php +++ b/index.php @@ -129,7 +129,7 @@ class="header-bar-search-link searchMobile"> // check which socials should be displayed if ($Project->getConfig('templatePresentation.settings.social.facebook')) { - $socialHTML .= '<a href="http://' . + $socialHTML .= '<a href="' . $Project->getConfig('templatePresentation.settings.social.facebook') . '" target="_blank"><span class="fa fa-facebook"></span></a>'; } diff --git a/locale.xml b/locale.xml index 5c38523c063cc02193c55e64f388bf94e72b621a..cf101ac29d4944847dcd4d2deb92e876a022527f 100644 --- a/locale.xml +++ b/locale.xml @@ -619,6 +619,11 @@ <en><![CDATA[Show in footer]]></en> <pl><![CDATA[Wlacz w stopce]]></pl> </locale> + <locale name="social.linksNote" html="true"> + <de><![CDATA[Bitte Links mit <strong>http:///</strong> oder <strong>https:///</strong> verwenden, z.B. https:///www.facebook.com]]></de> + <en><![CDATA[Please use only hyperlinks with <strong>http:///</strong> or <strong>https:///</strong>, e.g. https:///www.facebook.com]]></en> + <pl><![CDATA[Proszę używać linków z <strong>http:///</strong> albo <strong>https:///</strong>, na przyklad: https:///www.facebook.com]]></pl> + </locale> <locale name="social.facebook"> <de><![CDATA[Facebook]]></de> <en><![CDATA[Facebook]]></en> diff --git a/settings.xml b/settings.xml index 12f030b1987d3f041cccd98d5260fffb8fb55f6c..f481cc6c77311e9016237a5f918b64b477b3ba28 100644 --- a/settings.xml +++ b/settings.xml @@ -605,8 +605,15 @@ </text> </input> + <text> + <locale group="quiqqer/template-presentation" + var="social.linksNote" + /> + </text> + <!-- facebook --> <input conf="templatePresentation.settings.social.facebook" + placeholder="https://www.facebook.com" type="text"> <text> <locale group="quiqqer/template-presentation" @@ -616,6 +623,7 @@ </input> <!-- twitter --> <input conf="templatePresentation.settings.social.twitter" + placeholder="https://www.twitter.com" type="text"> <text> <locale group="quiqqer/template-presentation" @@ -625,6 +633,7 @@ </input> <!-- google --> <input conf="templatePresentation.settings.social.google" + placeholder="https://www.google.com" type="text"> <text> <locale group="quiqqer/template-presentation" @@ -634,6 +643,7 @@ </input> <!-- youtube --> <input conf="templatePresentation.settings.social.youtube" + placeholder="https://www.youtube.com" type="text"> <text> <locale group="quiqqer/template-presentation" @@ -643,6 +653,7 @@ </input> <!-- github --> <input conf="templatePresentation.settings.social.github" + placeholder="https://www.github.com" type="text"> <text> <locale group="quiqqer/template-presentation" @@ -652,6 +663,7 @@ </input> <!-- gitlab --> <input conf="templatePresentation.settings.social.gitlab" + placeholder="https://www.gitlab.com" type="text"> <text> <locale group="quiqqer/template-presentation"