X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/mediawiki_extensions/wrreport.git/blobdiff_plain/433793d273d9e7402aa0a87aca8c909637ec9f76..8d463a17807b20ce8445f2f8a85fc8de135d0640:/wrreport.body.php diff --git a/wrreport.body.php b/wrreport.body.php index 6e1c25e..70db62d 100644 --- a/wrreport.body.php +++ b/wrreport.body.php @@ -382,7 +382,7 @@ function bahnbewertungParserHook($input, $args, &$parser) { if ($userMayReport) $wikiText = "''[[" . $titleText . '#' . $wrNewReportSection . "|Bitte eintragen]]''"; else $wikiText = '--'; } - return wrCommonReplaceByMarker(wrCommonSandboxParse($wikiText), 'wrreports'); + return wrCommonReplaceByMarker(wrCommonSandboxParse($wikiText), 'wrreports', FALSE); } @@ -423,7 +423,7 @@ function bahnentabelleParserHook($input, $args, &$parser) { // Title $html = "\n"; - $html .= utf8_encode('') . + $html .= utf8_encode('') . ($wgWrReportMode == 'summer' ? '' : '') . utf8_encode("\n"); @@ -722,7 +722,7 @@ class WrReport extends SpecialPage { // $wgOut->redirect($title->getFullURL() . '#Eintr.C3.A4ge'); } if ($action == 'preview') { - $wgOut->addWikiText(utf8_encode("== Vorschau (noch nicht gespeichert) ==\n")); + $wgOut->addWikiText(wfMsg('wrreportnewreportpreviewtop')); $format = WRREPORT_COMPACT_PAGE; $row = array_fill_keys(wrReportGetColumnNames(), NULL); $row['page_title'] = $page_title; @@ -731,8 +731,9 @@ class WrReport extends SpecialPage { $row['description'] = $description; $row['author_name'] = $author_name; $wgOut->addHTML(wrReportTableRender2(array($row), $format, FALSE)); - $wgOut->addWikiText(utf8_encode("== Speichern oder Ändern ==\n")); + $wgOut->addWikiText(wfMsg('wrreportnewreportpreviewmiddle')); $wgOut->addHTML(wrReportFormRender(FALSE, $page_title, $date_report, $condition, $description, $author_name)); + $wgOut->addWikiText(wfMsg('wrreportnewreportpreviewbottom')); } }
VBLAÖRodelbahn
VBLAÖRodelbahnSchneelageAuskunftGehzeitHöhe untenHöhe obenLänge