|
18 | 18 | <?= $this->asset->css('assets/css/print.min.css', true, 'print') ?> |
19 | 19 | <?= $this->asset->customCss() ?> |
20 | 20 |
|
21 | | - <?php if (! isset($not_editable)): ?> |
| 21 | + <?php if (!isset($not_editable)): ?> |
22 | 22 | <?= $this->asset->js('assets/js/vendor.min.js') ?> |
23 | 23 | <?= $this->asset->js('assets/js/app.min.js') ?> |
24 | 24 | <?php endif ?> |
25 | 25 |
|
26 | 26 | <?= $this->hook->asset('css', 'template:layout:css') ?> |
27 | 27 | <?= $this->hook->asset('js', 'template:layout:js') ?> |
28 | 28 |
|
29 | | - <?php if (null !== $this->task->customizerFileModel->getByType(2)) : ?> |
| 29 | + <?php if (null !== $this->task->customizerFileModel->getByType(2)): ?> |
30 | 30 | <link rel="icon" type="image/png" href="<?= $this->url->href('CustomizerFileController', 'image', array('plugin' => 'customizer', 'file_id' => $this->task->customizerFileModel->getIdByType(2))) ?>"> |
31 | 31 | <link rel="apple-touch-icon" sizes="57x57" href="<?= $this->url->href('CustomizerFileController', 'image', array('plugin' => 'customizer', 'file_id' => $this->task->customizerFileModel->getIdByType(2))) ?>"> |
32 | 32 | <link rel="apple-touch-icon" sizes="60x60" href="<?= $this->url->href('CustomizerFileController', 'image', array('plugin' => 'customizer', 'file_id' => $this->task->customizerFileModel->getIdByType(2))) ?>"> |
|
82 | 82 | <link rel="mask-icon" href="<?= $this->url->dir() ?>plugins/ApplicationBranding/Assets/img/favicon/safari-pinned-tab.svg" color="#5BBAD5"> |
83 | 83 | <?php endif ?> |
84 | 84 | <?php |
85 | | - if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') |
86 | | - $url = "https://"; |
87 | | - else |
88 | | - $url = "http://"; |
| 85 | + if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') |
| 86 | + $url = "https://"; |
| 87 | + else |
| 88 | + $url = "http://"; |
89 | 89 | // Append the host(domain name, ip) to the URL. |
90 | | - $url.= $_SERVER['HTTP_HOST']; |
| 90 | + $url. = $_SERVER['HTTP_HOST']; |
91 | 91 | // Append the requested resource location to the URL |
92 | | - $url.= $_SERVER['REQUEST_URI']; |
| 92 | + $url. = $_SERVER['REQUEST_URI']; |
93 | 93 | ?> |
94 | 94 | <meta property="og:url" content="<?php echo $url ?>"> |
95 | | - <?php if (null !== $this->task->customizerFileModel->getByType(2)) : ?> |
| 95 | + <?php if (null !== $this->task->customizerFileModel->getByType(2)): ?> |
96 | 96 | <?php // og:image must be min 300x300px with 'https' and absolute url to png file ?> |
97 | 97 | <meta property="og:image" content="<?= $this->url->href('CustomizerFileController', 'image', array('plugin' => 'customizer', 'file_id' => $this->task->customizerFileModel->getIdByType(2))) ?>"> |
98 | 98 | <?php else: ?> |
|
109 | 109 | $outgoingAction = $this->app->getRouterAction(); |
110 | 110 | ?> |
111 | 111 |
|
112 | | - <?php if (($incomingController == 'PasswordResetController') && ($outgoingAction =='create')): ?> |
| 112 | + <?php if (($incomingController == 'PasswordResetController') && ($outgoingAction == 'create')): ?> |
113 | 113 | <meta name="description" content="<?= t('Change your password for this kanban platform.') ?>"> |
114 | 114 | <meta property="og:description" content="<?= t('Change your password for this kanban platform.') ?>"> |
115 | 115 | <?php else: ?> |
|
129 | 129 | <?php else: ?> |
130 | 130 | <meta property="og:title" content="<?= $this->text->e($title) ?> | <?= t('My Workspace') ?>"> |
131 | 131 | <?php endif ?> |
132 | | - <?php elseif (($incomingController == 'PasswordResetController') && ($outgoingAction =='create')): ?> |
| 132 | + <?php elseif (($incomingController == 'PasswordResetController') && ($outgoingAction == 'create')): ?> |
133 | 133 | <?php if (!empty($this->task->configModel->get('app_rename'))): ?> |
134 | 134 | <meta property="og:title" content="<?= t('Reset Password') ?> | <?= $this->task->configModel->get('app_rename') ?>"> |
135 | 135 | <?php else: ?> |
|
160 | 160 | | <?= t('My Workspace') ?> |
161 | 161 | <?php endif ?> |
162 | 162 |
|
163 | | - <?php elseif (($incomingController == 'PasswordResetController') && ($outgoingAction =='create')): ?> |
| 163 | + <?php elseif (($incomingController == 'PasswordResetController') && ($outgoingAction == 'create')): ?> |
164 | 164 | <?php if (!empty($this->task->configModel->get('app_rename'))): ?> |
165 | 165 | <?= t('Reset Password') ?> | <?= $this->task->configModel->get('app_rename') ?> |
166 | 166 | <?php else: ?> |
|
0 commit comments