File tree Expand file tree Collapse file tree 4 files changed +37
-2
lines changed Expand file tree Collapse file tree 4 files changed +37
-2
lines changed Original file line number Diff line number Diff line change @@ -104,3 +104,7 @@ parameters:
104
104
mask :
105
105
cs_CZ : cookies
106
106
en_US : cookies
107
+ Security :
108
+ mask :
109
+ cs_CZ : bezpecnost
110
+ en_US : security
Original file line number Diff line number Diff line change
1
+ <?php
2
+ declare (strict_types = 1 );
3
+
4
+ namespace MichalSpacekCz \Www \Presenters ;
5
+
6
+ use Contributte \Translation \Translator ;
7
+
8
+ class SecurityPresenter extends BasePresenter
9
+ {
10
+
11
+ public function __construct (
12
+ private readonly Translator $ translator ,
13
+ ) {
14
+ parent ::__construct ();
15
+ }
16
+
17
+
18
+ public function renderDefault (): void
19
+ {
20
+ $ this ->template ->pageTitle = $ this ->translator ->translate ('messages.title.who ' );
21
+ $ this ->template ->pageHeader = $ this ->translator ->translate ('messages.header.who ' );
22
+ }
23
+
24
+ }
Original file line number Diff line number Diff line change 13
13
<title >{ if isset($pageTitle )} { $pageTitle } | { /if } Michal Špaček</title >
14
14
{ control criticalCss}
15
15
{ if $darkMode === null}
16
- { styleSheet screen-main + ' @media (prefers-color-scheme: dark) {' + screen-main-dark + ' }' }
16
+ { styleSheet screen-main + ' @media (prefers-color-scheme: dark) {' + screen-main-dark + ' }' + rating }
17
17
{ elseif $darkMode }
18
- { styleSheet screen-main + screen-main-dark}
18
+ { styleSheet screen-main + screen-main-dark + rating }
19
19
{ else }
20
20
{ styleSheet screen-main}
21
21
{ /if }
Original file line number Diff line number Diff line change
1
+ { define #menu}
2
+ » ; <a n:href =" Homepage:" >Michal Špaček</a >
3
+ { /define}
4
+
5
+ { define #content}
6
+ <div class =" rating" ><strong class =" left rating-a" >A<sup >+</sup ></strong > ayyyy</div >
7
+ { /define}
You can’t perform that action at this time.
0 commit comments