@@ -4,9 +4,9 @@ |
||
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"> |
@@ -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"> |
@@ -46,11 +46,11 @@ discard block |
||
46 | 46 | </div> |
47 | 47 | |
48 | 48 | <?php |
49 | - /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
50 | - if(isset($template) && $template->getActionCount() !== 0) { |
|
51 | - $primary = $template->getPrimaryAction(); |
|
52 | - $others = $template->getOtherActions(); |
|
53 | - ?> |
|
49 | + /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
50 | + if(isset($template) && $template->getActionCount() !== 0) { |
|
51 | + $primary = $template->getPrimaryAction(); |
|
52 | + $others = $template->getOtherActions(); |
|
53 | + ?> |
|
54 | 54 | <div class="header-right"> |
55 | 55 | <span id="header-primary-action" class="<?php if($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> |
56 | 56 | <a href="<?php p($primary->getLink()); ?>" class="primary button"> |
@@ -63,11 +63,11 @@ discard block |
||
63 | 63 | <div id="header-actions-menu" class="popovermenu menu"> |
64 | 64 | <ul> |
65 | 65 | <?php |
66 | - /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
67 | - foreach($others as $action) { |
|
68 | - print_unescaped($action->render()); |
|
69 | - } |
|
70 | - ?> |
|
66 | + /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
67 | + foreach($others as $action) { |
|
68 | + print_unescaped($action->render()); |
|
69 | + } |
|
70 | + ?> |
|
71 | 71 | </ul> |
72 | 72 | </div> |
73 | 73 | </div> |
@@ -82,16 +82,16 @@ discard block |
||
82 | 82 | <footer> |
83 | 83 | <p><?php print_unescaped($theme->getLongFooter()); ?></p> |
84 | 84 | <?php |
85 | - if ($_['showSimpleSignUpLink']) { |
|
86 | - ?> |
|
85 | + if ($_['showSimpleSignUpLink']) { |
|
86 | + ?> |
|
87 | 87 | <p> |
88 | 88 | <a href="https://nextcloud.com/signup/" target="_blank" rel="noreferrer noopener"> |
89 | 89 | <?php p($l->t('Get your own free account')); ?> |
90 | 90 | </a> |
91 | 91 | </p> |
92 | 92 | <?php |
93 | - } |
|
94 | - ?> |
|
93 | + } |
|
94 | + ?> |
|
95 | 95 | </footer> |
96 | 96 | <?php } ?> |
97 | 97 |