@@ -4,9 +4,9 @@ discard block |
||
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <title> |
6 | 6 | <?php |
7 | - p(!empty($_['application'])?$_['application'].' - ':''); |
|
8 | - p($theme->getTitle()); |
|
9 | - ?> |
|
7 | + p(!empty($_['application'])?$_['application'].' - ':''); |
|
8 | + p($theme->getTitle()); |
|
9 | + ?> |
|
10 | 10 | </title> |
11 | 11 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
12 | 12 | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> |
@@ -40,10 +40,10 @@ discard block |
||
40 | 40 | <div class="logo logo-icon svg"></div> |
41 | 41 | <h1 class="header-appname"> |
42 | 42 | <?php if (isset($template) && $template->getHeaderTitle() !== '') { |
43 | - p($template->getHeaderTitle()); |
|
44 | - } else { |
|
45 | - p($theme->getName()); |
|
46 | - } ?> |
|
43 | + p($template->getHeaderTitle()); |
|
44 | + } else { |
|
45 | + p($theme->getName()); |
|
46 | + } ?> |
|
47 | 47 | </h1> |
48 | 48 | <?php if (isset($template) && $template->getHeaderDetails() !== '') { ?> |
49 | 49 | <div class="header-shared-by"> |
@@ -54,14 +54,14 @@ discard block |
||
54 | 54 | </div> |
55 | 55 | |
56 | 56 | <?php |
57 | - /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
58 | - if (isset($template) && $template->getActionCount() !== 0) { |
|
59 | - $primary = $template->getPrimaryAction(); |
|
60 | - $others = $template->getOtherActions(); ?> |
|
57 | + /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
58 | + if (isset($template) && $template->getActionCount() !== 0) { |
|
59 | + $primary = $template->getPrimaryAction(); |
|
60 | + $others = $template->getOtherActions(); ?> |
|
61 | 61 | <div class="header-right"> |
62 | 62 | <span id="header-primary-action" class="<?php if ($template->getActionCount() === 1) { |
63 | - p($primary->getIcon()); |
|
64 | - } ?>"> |
|
63 | + p($primary->getIcon()); |
|
64 | + } ?>"> |
|
65 | 65 | <a href="<?php p($primary->getLink()); ?>" class="primary button"> |
66 | 66 | <span><?php p($primary->getLabel()) ?></span> |
67 | 67 | </a> |
@@ -72,18 +72,18 @@ discard block |
||
72 | 72 | <div id="header-actions-menu" class="popovermenu menu"> |
73 | 73 | <ul> |
74 | 74 | <?php |
75 | - /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
76 | - foreach ($others as $action) { |
|
77 | - print_unescaped($action->render()); |
|
78 | - } |
|
79 | - ?> |
|
75 | + /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
76 | + foreach ($others as $action) { |
|
77 | + print_unescaped($action->render()); |
|
78 | + } |
|
79 | + ?> |
|
80 | 80 | </ul> |
81 | 81 | </div> |
82 | 82 | </div> |
83 | 83 | <?php } ?> |
84 | 84 | </div> |
85 | 85 | <?php |
86 | - } ?> |
|
86 | + } ?> |
|
87 | 87 | </header> |
88 | 88 | <div id="content" class="app-<?php p($_['appid']) ?>" role="main"> |
89 | 89 | <?php print_unescaped($_['content']); ?> |
@@ -92,16 +92,16 @@ discard block |
||
92 | 92 | <footer> |
93 | 93 | <p><?php print_unescaped($theme->getLongFooter()); ?></p> |
94 | 94 | <?php |
95 | - if ($_['showSimpleSignUpLink']) { |
|
96 | - ?> |
|
95 | + if ($_['showSimpleSignUpLink']) { |
|
96 | + ?> |
|
97 | 97 | <p> |
98 | 98 | <a href="https://nextcloud.com/signup/" target="_blank" rel="noreferrer noopener"> |
99 | 99 | <?php p($l->t('Get your own free account')); ?> |
100 | 100 | </a> |
101 | 101 | </p> |
102 | 102 | <?php |
103 | - } |
|
104 | - ?> |
|
103 | + } |
|
104 | + ?> |
|
105 | 105 | </footer> |
106 | 106 | <?php } ?> |
107 | 107 |