Skip to content

Commit

Permalink
feat(seo): improved title and meta descriptions, closes #3098, #3095, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
thorsten committed Jul 8, 2024
1 parent 1a38ef4 commit a9edab8
Show file tree
Hide file tree
Showing 61 changed files with 44 additions and 88 deletions.
2 changes: 1 addition & 1 deletion phpmyfaq/add.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
// Twig template variables
$templateVars = [
... $templateVars,
'baseHref' => $faqSystem->getSystemUri($faqConfig),
'title' => sprintf('%s - %s', Translation::get('msgNewContentHeader'), $faqConfig->getTitle()),
'msgNewContentHeader' => Translation::get('msgNewContentHeader'),
'msgNewContentAddon' => Translation::get('msgNewContentAddon'),
'lang' => $Language->getLanguage(),
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/ask.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

$templateVars = [
... $templateVars,
'baseHref' => $faqSystem->getSystemUri($faqConfig),
'title' => sprintf('%s - %s', Translation::get('msgNewContentHeader'), $faqConfig->getTitle()),
'msgMatchingQuestions' => Translation::get('msgMatchingQuestions'),
'msgFinishSubmission' => Translation::get('msgFinishSubmission'),
'lang' => $Language->getLanguage(),
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/assets/templates/default/faq.twig
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{% if permissionEditFaq == true %}
<li class="list-group-item bg-transparent">
<i aria-hidden="true" class="bi bi-pencil"></i>
<a class="text-decoration-none" href="./admin/index.php?action=editentry&id={{ id }}d&lang={{ lang }}">
<a class="text-decoration-none" href="./admin/index.php?action=editentry&id={{ id }}&lang={{ lang }}">
{{ ad_entry_edit_1 }} {{ ad_entry_edit_2 }}
</a>
</li>
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/assets/templates/default/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<base href="{{ baseHref }}">

<meta content="{{ metaDescription }}" name="description">
<meta content="{{ metaKeywords }}" name="keywords">
<meta content="{{ metaPublisher }}" name="author">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="phpMyFAQ {{ phpmyfaqVersion }}" name="application-name">
Expand Down
2 changes: 2 additions & 0 deletions phpmyfaq/bookmarks.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use phpMyFAQ\Configuration;
use phpMyFAQ\Template\TwigWrapper;
use phpMyFAQ\Bookmark;
use phpMyFAQ\Translation;
use phpMyFAQ\User\CurrentUser;
use phpMyFAQ\Session\Token;

Expand All @@ -38,6 +39,7 @@
// Twig template variables
$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('msgBookmarks'), $faqConfig->getTitle()),
'bookmarksList' => $bookmark->getBookmarkList(),
'csrfTokenDeleteBookmark' => Token::getInstance()->getTokenString('delete-bookmark')
];
Expand Down
2 changes: 1 addition & 1 deletion phpmyfaq/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
// Twig template variables
$templateVars = [
... $templateVars,
'title' => Translation::get('msgContact'),
'title' => sprintf('%s - %s', Translation::get('msgContact'), $faqConfig->getTitle()),
'pageHeader' => Translation::get('msgContact'),
'msgContactOwnText' => $contactText,
'msgContactEMail' => Translation::get('msgContactEMail'),
Expand Down
15 changes: 14 additions & 1 deletion phpmyfaq/faq.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
use phpMyFAQ\Configuration;
use phpMyFAQ\Date;
use phpMyFAQ\Entity\CommentType;
use phpMyFAQ\Entity\SeoEntity;
use phpMyFAQ\Enums\PermissionType;
use phpMyFAQ\Enums\SeoType;
use phpMyFAQ\Faq\Permission;
use phpMyFAQ\Filter;
use phpMyFAQ\Glossary;
Expand All @@ -38,6 +40,7 @@
use phpMyFAQ\Rating;
use phpMyFAQ\Relation;
use phpMyFAQ\Search\SearchResultSet;
use phpMyFAQ\Seo;
use phpMyFAQ\Services;
use phpMyFAQ\Session\Token;
use phpMyFAQ\Strings;
Expand All @@ -64,6 +67,7 @@
$comment = new Comments($faqConfig);
$faqHelper = new HelperFaq($faqConfig);
$faqPermission = new Permission($faqConfig);
$seo = new Seo($faqConfig);
$attachmentHelper = new AttachmentHelper();
$converter = new CommonMarkConverter([
'html_input' => 'strip',
Expand Down Expand Up @@ -293,12 +297,21 @@
// Check if the author name should be visible, according to the GDPR option
$author = $user->getUserVisibilityByEmail($faq->faqRecord['email']) ? $faq->faqRecord['author'] : 'n/a';

// SEO
$seoEntity = new SeoEntity();
$seoEntity
->setType(SeoType::FAQ)
->setReferenceId($faq->faqRecord['id'])
->setReferenceLanguage($faq->faqRecord['lang']);
$seoData = $seo->get($seoEntity);

$twig = new TwigWrapper(PMF_ROOT_DIR . '/assets/templates/' . TwigWrapper::getTemplateSetName());
$twigTemplate = $twig->loadTemplate('./faq.twig');

$templateVars = [
...$templateVars,
'baseHref' => $faqSystem->getSystemUri($faqConfig),
'title' => sprintf('%s - %s', $seoData->getTitle() ?? $question, $faqConfig->getTitle()),
'metaDescription' => $seoData->getDescription(),
'solutionId' => $faq->faqRecord['solution_id'],
'solutionIdLink' => Link::getSystemRelativeUri() . '?solution_id=' . $faq->faqRecord['solution_id'],
'question' => $question,
Expand Down
4 changes: 2 additions & 2 deletions phpmyfaq/glossary.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
// Twig template variables
$templateVars = [
... $templateVars,
'title' => $faqConfig->get('seo.glossary.title'),
'metaDescription' => $faqConfig->get('seo.glossary.description'),
'title' => sprintf('%s - %s', Translation::get('ad_menu_glossary'), $faqConfig->getTitle()),
'metaDescription' => sprintf(Translation::get('msgGlossaryMetaDesc'), $faqConfig->getTitle()),
'pageHeader' => Translation::get('ad_menu_glossary'),
'glossaryItems' => array_slice($glossaryItems, ($page - 1) * $itemsPerPage, $itemsPerPage),
'pagination' => $pagination->render(),
Expand Down
25 changes: 1 addition & 24 deletions phpmyfaq/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@
//
$faqSystem = new System();
$faqLink = new Link($faqSystem->getSystemUri($faqConfig), $faqConfig);
$currentPageUrl = Strings::htmlspecialchars($faqLink->getCurrentUrl());

//
// Found a record ID?
Expand All @@ -348,7 +347,6 @@
$seoData = $seo->get($seoEntity);

$title = $seoData->getTitle();
$keywords = ',' . $faq->faqRecord['keywords'];
$metaDescription = str_replace('"', '', $seoData->getDescription() ?? '');
$url = sprintf(
'%sindex.php?%saction=faq&cat=%d&id=%d&artlang=%s',
Expand All @@ -360,10 +358,8 @@
);
$faqLink = new Link($url, $faqConfig);
$faqLink->itemTitle = $faq->faqRecord['title'];
$currentPageUrl = $faqLink->toString(true);
} else {
$title = '';
$keywords = '';
$metaDescription = str_replace('"', '', $faqConfig->get('seo.description'));
}

Expand All @@ -372,7 +368,6 @@
//
$solutionId = Filter::filterVar($request->query->get('solution_id'), FILTER_VALIDATE_INT);
if ($solutionId) {
$keywords = '';
$faqData = $faq->getIdFromSolutionId($solutionId);
$id = $faqData['id'];
$lang = $faqData['lang'];
Expand All @@ -384,7 +379,6 @@
$seoData = $seo->get($seoEntity);

$title = $seoData->getTitle();
$keywords = ',' . $faq->getKeywords($id);
$metaDescription = str_replace('"', '', $seoData->getDescription());
$url = sprintf(
'%sindex.php?%saction=faq&cat=%d&id=%d&artlang=%s',
Expand All @@ -396,7 +390,6 @@
);
$faqLink = new Link($url, $faqConfig);
$faqLink->itemTitle = Strings::htmlentities($faqData['question']);
$currentPageUrl = $faqLink->toString(true);
}

//
Expand All @@ -405,16 +398,6 @@
$taggingId = Filter::filterVar($request->query->get('tagging_id'), FILTER_VALIDATE_INT);
if (!is_null($taggingId)) {
$title = ' - ' . $oTag->getTagNameById($taggingId);
$keywords = '';
}

//
// Handle the SiteMap
//
$letter = Filter::filterVar($request->query->get('letter'), FILTER_SANITIZE_SPECIAL_CHARS);
if (!is_null($letter) && (1 == Strings::strlen($letter))) {
$title = ' - ' . $letter . '...';
$keywords = $letter;
}

//
Expand Down Expand Up @@ -503,11 +486,6 @@
$categoryHelper->setConfiguration($faqConfig);
$categoryHelper->setCategoryRelation($categoryRelation);

$keywordsArray = array_merge(explode(',', $keywords), explode(',', $faqConfig->get('main.metaKeywords')));
$keywordsArray = array_filter($keywordsArray, 'strlen');
shuffle($keywordsArray);
$keywords = implode(',', $keywordsArray);

$loginMessage = is_null($error) ? '' : '<p class="alert alert-danger">' . $error . '</p>';

//
Expand All @@ -525,13 +503,12 @@
'version' => $faqConfig->getVersion(),
'header' => str_replace('"', '', $faqConfig->getTitle()),
'metaDescription' => $metaDescription ?? $faqConfig->get('seo.description'),
'metaKeywords' => $keywords,
'metaPublisher' => $faqConfig->get('main.metaPublisher'),
'metaLanguage' => Translation::get('metaLanguage'),
'metaRobots' => $seo->getMetaRobots($action),
'phpmyfaqVersion' => $faqConfig->getVersion(),
'stylesheet' => Translation::get('dir') == 'rtl' ? 'style.rtl' : 'style',
'currentPageUrl' => $currentPageUrl,
'currentPageUrl' => $request->getSchemeAndHttpHost() . $request->getRequestUri(),
'action' => $action,
'dir' => Translation::get('dir'),
'formActionUrl' => '?' . $sids . 'action=search',
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('msgLoginUser'), $faqConfig->getTitle()),
'loginHeader' => Translation::get('msgLoginUser'),
'sendPassword' => Translation::get('lostPassword'),
'loginMessage' => $loginMessage,
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/open-questions.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('msgOpenQuestions'), $faqConfig->getTitle()),
'pageHeader' => Translation::get('msgOpenQuestions'),
'msgQuestionText' => Translation::get('msgQuestionText'),
'msgDate_User' => Translation::get('msgDate_User'),
Expand Down
2 changes: 2 additions & 0 deletions phpmyfaq/overview.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@

$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('faqOverview'), $faqConfig->getTitle()),
'metaDescription' => sprintf(Translation::get('msgOverviewMetaDesc'), $faqConfig->getTitle()),
'pageHeader' => Translation::get('faqOverview'),
'faqOverview' => $faqHelper->createOverview($category, $faq, $faqLangCode),
'msgAuthor' => Translation::get('msgAuthor'),
Expand Down
1 change: 1 addition & 0 deletions phpmyfaq/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
// Twig template variables
$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('msgRegistration'), $faqConfig->getTitle()),
'pageHeader' => Translation::get('msgRegistration'),
'msgRegistration' => Translation::get('msgRegistration'),
'msgRegistrationCredentials' => Translation::get('msgRegistrationCredentials'),
Expand Down
5 changes: 4 additions & 1 deletion phpmyfaq/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,12 @@
$twig->addExtension(new TagNameTwigExtension());
$twigTemplate = $twig->loadTemplate('./search.twig');

$pageHeader = ($tagSearch ? Translation::get('msgTagSearch') : Translation::get('msgAdvancedSearch'));

$templateVars = [
... $templateVars,
'pageHeader' => ($tagSearch ? Translation::get('msgTagSearch') : Translation::get('msgAdvancedSearch')),
'title' => sprintf('%s - %s', $pageHeader, $faqConfig->getTitle()),
'pageHeader' => $pageHeader,
'isTagSearch' => $tagSearch,
'renderCategoryOptions' => $categoryHelper->renderOptions($inputCategory),
'msgSearch' => Translation::get('msgSearch'),
Expand Down
2 changes: 2 additions & 0 deletions phpmyfaq/sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
// Twig template variables
$templateVars = [
... $templateVars,
'title' => sprintf('%s - %s', Translation::get('msgSitemap'), $faqConfig->getTitle()),
'metaDescription' => sprintf(Translation::get('msgSitemapMetaDesc'), $faqConfig->getTitle()),
'pageHeader' => $currLetter === '' || $currLetter === '0' ? Translation::get('msgSitemap') : $currLetter,
'letters' => $siteMap->getAllFirstLetters(),
'faqs' => $siteMap->getFaqsFromLetter($currLetter),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ public function save(Request $request): JsonResponse
'main.customPdfHeader',
'main.customPdfFooter',
'main.titleFAQ',
'main.metaKeywords'
];

// Special checks
Expand Down
5 changes: 1 addition & 4 deletions phpmyfaq/src/phpMyFAQ/Setup/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ class Installer extends Setup
'main.enableAdminLog' => 'true',
'main.enableUserTracking' => 'true',
'main.metaDescription' => 'phpMyFAQ should be the answer for all questions in life',
'main.metaKeywords' => '',
'main.metaPublisher' => '__PHPMYFAQ_PUBLISHER__',
'main.send2friendText' => '',
'main.titleFAQ' => 'phpMyFAQ Codename Pallas',
Expand Down Expand Up @@ -384,14 +383,12 @@ class Installer extends Setup

'seo.title' => 'phpMyFAQ Codename Pallas',
'seo.description' => 'phpMyFAQ should be the answer for all questions in life',
'seo.enableXMLSitemap' => 'true',
'seo.metaTagsHome' => 'index, follow',
'seo.metaTagsFaqs' => 'index, follow',
'seo.metaTagsCategories' => 'index, follow',
'seo.metaTagsPages' => 'index, follow',
'seo.metaTagsAdmin' => 'noindex, nofollow',
'seo.enableXMLSitemap' => 'true',
'seo.glossary.title' => '',
'seo.glossary.description' => '',

'mail.noReplySenderAddress' => '',
'mail.remoteSMTP' => 'false',
Expand Down
4 changes: 1 addition & 3 deletions phpmyfaq/src/phpMyFAQ/Setup/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
use phpMyFAQ\Setup;
use phpMyFAQ\System;
use phpMyFAQ\User;
use phpMyFAQ\User\CurrentUser;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use ZipArchive;
Expand Down Expand Up @@ -782,11 +781,10 @@ private function applyUpdates400Alpha3(): void
$this->configuration->add('seo.title', $this->configuration->get('main.titleFAQ'));
$this->configuration->add('seo.description', $this->configuration->get('main.metaDescription'));
$this->configuration->add('layout.enablePrivacyLink', 'true');
$this->configuration->add('seo.glossary.title', '');
$this->configuration->add('seo.glossary.description', '');
$this->configuration->add('layout.customCss', '');
$this->configuration->delete('main.urlValidateInterval');
$this->configuration->delete('main.enableGzipCompression');
$this->configuration->delete('main.metaKeywords');
$this->configuration->rename('main.templateSet', 'layout.templateSet');
$this->configuration->rename('main.enableCookieConsent', 'layout.enableCookieConsent');
$this->configuration->rename('main.contactInformationHTML', 'layout.contactInformationHTML');
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_ar.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@
$LANG_CONF['main.titleFAQ'] = array("input", "عنوان البرنامج ");
$LANG_CONF['main.currentVersion'] = array("print", "نسخة البرنامج");
$LANG_CONF['main.metaDescription'] = array("input", "وصف الصفحة");
$LANG_CONF['main.metaKeywords'] = array("input", "كلمات البحث لمحركات البحث");
$LANG_CONF['main.metaPublisher'] = array("input", "إسم الناشر");
$LANG_CONF['main.administrationMail'] = array("input", "البريد الإلكتروني للمشرف");
$LANG_CONF['main.contactInformation'] = array("area", "معلومات الإتصال");
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_bn.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@
$LANG_CONF['main.titleFAQ'] = array("input", "Title of the FAQ");
$LANG_CONF['main.currentVersion'] = array("print", "FAQ Version");
$LANG_CONF["main.metaDescription"] = array("input", "Describtion of the Page");
$LANG_CONF["main.metaKeywords"] = array("input", "Keywords for Spiders");
$LANG_CONF["main.metaPublisher"] = array("input", "Name of the Publisher");
$LANG_CONF['main.administrationMail'] = array("input", "Email address of the Admin");
$LANG_CONF["main.contactInformation"] = array("area", "Contact information");
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_bs.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@
$LANG_CONF['main.titleFAQ'] = array("input", "Naslov FAQ");
$LANG_CONF['main.currentVersion'] = array("print", "FAQ Verzija");
$LANG_CONF["main.metaDescription"] = array("input", "Opis Stranice");
$LANG_CONF["main.metaKeywords"] = array("input", "Klju&#269;ne re&#269;i za netpauke");
$LANG_CONF["main.metaPublisher"] = array("input", "Ime izdava&#269;a");
$LANG_CONF['main.administrationMail'] = array("input", "Admin email adresa");
$LANG_CONF["main.contactInformation"] = array("area", "Kontakt info");
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
$LANG_CONF['main.titleFAQ'] = array('input', 'Nadpis aplikace');
$LANG_CONF['main.currentVersion'] = array('print', 'Verze aplikace');
$LANG_CONF['main.metaDescription'] = array('input', 'Popis stránky');
$LANG_CONF['main.metaKeywords'] = array('input', 'Klíčová slova');
$LANG_CONF['main.metaPublisher'] = array('input', 'Jméno autora');
$LANG_CONF['main.administrationMail'] = array('input', 'E-mail administrátora');
$LANG_CONF['main.contactInformation'] = array('area', 'Kontaktní informace');
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_cy.php
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@
$LANG_CONF['main.titleFAQ'] = array("input", " Teitl y CC");
$LANG_CONF['main.currentVersion'] = array("print", " Fersiwn y CC");
$LANG_CONF["main.metaDescription"] = array("input", " Disgrifiad o’r Dudalen");
$LANG_CONF["main.metaKeywords"] = array("input", " Geiriau allweddol ar gyfer Corynod");
$LANG_CONF["main.metaPublisher"] = array("input", " Enw’r Cyhoeddwr");
$LANG_CONF['main.administrationMail'] = array("input", " Cyfeiriad e-bost Gweinyddol");
$LANG_CONF["main.contactInformation"] = array("area", " Gwybodaeth gyswllt");
Expand Down
1 change: 0 additions & 1 deletion phpmyfaq/translations/language_da.php
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
$LANG_CONF['main.titleFAQ'] = array("input", "FAQ-titel");
$LANG_CONF['main.currentVersion'] = array("print", "phpMyFAQ-version");
$LANG_CONF['main.metaDescription'] = array("input", "Beskrivelse af siden");
$LANG_CONF['main.metaKeywords'] = array("input", "Nøgleord til Spiders");
$LANG_CONF['main.metaPublisher'] = array("input", "Navn på udgiver");
$LANG_CONF['main.administrationMail'] = array("input", "E-mail-adresse til administrator");
$LANG_CONF['main.contactInformation'] = array("area", "Kontaktinformation");
Expand Down
7 changes: 4 additions & 3 deletions phpmyfaq/translations/language_de.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,6 @@
$LANG_CONF['main.titleFAQ'] = ['input', 'Titel der FAQ', 'Pflichtfeld'];
$LANG_CONF['main.currentVersion'] = ['print', 'phpMyFAQ Version'];
$LANG_CONF['main.metaDescription'] = ["input", "Beschreibung der Seite"];
$LANG_CONF['main.metaKeywords'] = ["input", "Keywords für Suchmaschinen"];
$LANG_CONF['main.metaPublisher'] = ["input", "Name des Veröffentlichers", 'Pflichtfeld'];
$LANG_CONF['main.administrationMail'] = ['input', 'E-Mailadresse des Administrators', 'Pflichtfeld'];
$LANG_CONF['main.contactInformation'] = ["area", "Kontaktdaten / Impressum"];
Expand Down Expand Up @@ -1454,11 +1453,13 @@

// added v4.0.0-alpha.3 - 2024-06-30 by Thorsten
$LANG_CONF['layout.enablePrivacyLink'] = ['checkbox', 'Aktiviere Link zur Datenschutzerklärung'];
$LANG_CONF['seo.glossary.title'] = ['input', 'SERP Titel für Glossar'];
$LANG_CONF['seo.glossary.description'] = ['area', 'SERP Beschreibung für Glossar'];
$PMF_LANG['msgAdminWarningDebugMode'] = 'phpMyFAQ läuft derzeit im Debug-Modus. Der Debug-Modus kann sensible Informationen preisgeben und ist nur für Entwicklungszwecke gedacht. Wir empfehlen dringend, den Debug-Modus aus Sicherheitsgründen zu deaktivieren. Sie können den Debug-Modus in der Datei <code>src/Bootstrap.php</code> deaktivieren.';
$PMF_LANG['msgAdminWarningDevelopmentVersion'] = 'phpMyFAQ befindet sich derzeit in der Entwicklung (%s) und ist daher noch nicht für den Produktionseinsatz bereit. Bitte <a target="_blank" href="%s" class="alert-link">melden Sie alle Probleme auf GitHub</a>. Vielen Dank!';
$PMF_LANG['layoutControlCenter'] = 'Layout';
$LANG_CONF['layout.customCss'] = ['area', 'Benutzerdefiniertes CSS', 'Bitte nur CSS verwenden.'];
$PMF_LANG['msgSitemap'] = 'Sitemap';
$PMF_LANG['msgSitemapMetaDesc'] = 'Finde die gesuchten FAQs in der Übersicht aller Einträge | Sitemap - %s';
$PMF_LANG['msgGlossaryMetaDesc'] = 'Im Glossar von %s findest Du Erklärungen aller wichtigen Fachbegriffe zum Thema';
$PMF_LANG['msgOverviewMetaDesc'] = 'Die detaillierte Übersicht aller wichtigen Themen | FAQ-Übersicht von %s';

return $PMF_LANG;
Loading

0 comments on commit a9edab8

Please sign in to comment.