File tree Expand file tree Collapse file tree 4 files changed +17
-0
lines changed
Expand file tree Collapse file tree 4 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public function handleRequest(ServerRequestInterface $request): ResponseInterfac
5858 'typo3Info ' => $ this ->typo3Information ,
5959 'typo3Version ' => $ this ->version ,
6060 'donationUrl ' => $ this ->typo3Information ::URL_DONATE ,
61+ 'trademarkUrl ' => $ this ->typo3Information ::URL_TRADEMARK ,
6162 'loadedExtensions ' => $ this ->getLoadedExtensions (),
6263 'messages ' => $ event ->getMessages (),
6364 'modules ' => $ this ->moduleProvider ->getModules ($ this ->getBackendUser ()),
Original file line number Diff line number Diff line change 6969 <trans-unit id =" extension.copyright" resname =" extension.copyright" >
7070 <source >Extensions are copyright of their respective owners.</source >
7171 </trans-unit >
72+ <trans-unit id =" extension.trademark" >
73+ <source >TYPO3 is a registered %strademark%s.</source >
74+ </trans-unit >
7275 <trans-unit id =" details.link" resname =" details.link" >
7376 <source >Go to %s for details.</source >
7477 </trans-unit >
Original file line number Diff line number Diff line change 66 2: "Kasper Skårhøj"
77 }') -> f:format.raw()}
88</ p >
9+ < p >
10+ {f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.trademark',
11+ arguments: '{
12+ 0: "< a href =\ "{trademarkUrl}\" target=\"_blank\" rel=\"noreferrer\"> ",
13+ 1: "</ a > "
14+ }') -> f:format.raw()}
15+ </ p >
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ class Typo3Information
3131 public const URL_EXCEPTION = 'https://typo3.org/go/exception/CMS/ ' ;
3232 public const URL_DONATE = 'https://typo3.org/community/contribute/donate/ ' ;
3333 public const URL_OPCACHE = 'https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Troubleshooting/PHP.html#opcode-cache-messages ' ;
34+ public const URL_TRADEMARK = 'https://typo3.org/trademark ' ;
3435
3536 protected LanguageService $ languageService ;
3637
@@ -105,6 +106,11 @@ public function getCopyrightNotice(): string
105106 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:copyright ' ) . ' © '
106107 . htmlspecialchars ($ this ->getCopyrightYear ()) . ' Kasper Skårhøj. ' .
107108 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.copyright ' ) . ' ' .
109+ sprintf (
110+ $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.trademark ' ),
111+ '<a href=" ' . htmlspecialchars (static ::URL_TRADEMARK ) . '" target="_blank" rel="noreferrer"> ' ,
112+ '</a> '
113+ ) . ' ' .
108114 sprintf (
109115 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:details.link ' ),
110116 '<a href=" ' . htmlspecialchars (static ::URL_COMMUNITY ) . '" target="_blank" rel="noreferrer"> ' . htmlspecialchars (static ::URL_COMMUNITY ) . '</a> '
You can’t perform that action at this time.
0 commit comments