@@ -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="referrer" content="never"> |
@@ -44,11 +44,11 @@ discard block |
||
44 | 44 | </div> |
45 | 45 | |
46 | 46 | <?php |
47 | - /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
48 | - if(isset($template) && $template->getActionCount() !== 0) { |
|
49 | - $primary = $template->getPrimaryAction(); |
|
50 | - $others = $template->getOtherActions(); |
|
51 | - ?> |
|
47 | + /** @var \OCP\AppFramework\Http\Template\PublicTemplateResponse $template */ |
|
48 | + if(isset($template) && $template->getActionCount() !== 0) { |
|
49 | + $primary = $template->getPrimaryAction(); |
|
50 | + $others = $template->getOtherActions(); |
|
51 | + ?> |
|
52 | 52 | <div class="header-right"> |
53 | 53 | <span id="header-primary-action" class="<?php if($template->getActionCount() === 1) { p($primary->getIcon()); } ?>"> |
54 | 54 | <a href="<?php p($primary->getLink()); ?>"> |
@@ -61,11 +61,11 @@ discard block |
||
61 | 61 | <div id="header-actions-menu" class="popovermenu menu"> |
62 | 62 | <ul> |
63 | 63 | <?php |
64 | - /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
65 | - foreach($template->getOtherActions() as $action) { |
|
66 | - print_unescaped($action->render()); |
|
67 | - } |
|
68 | - ?> |
|
64 | + /** @var \OCP\AppFramework\Http\Template\IMenuAction $action */ |
|
65 | + foreach($template->getOtherActions() as $action) { |
|
66 | + print_unescaped($action->render()); |
|
67 | + } |
|
68 | + ?> |
|
69 | 69 | </ul> |
70 | 70 | </div> |
71 | 71 | </div> |