|
@@ -27,8 +27,8 @@ discard block |
|
|
block discarded – undo |
|
27
|
27
|
?> |
|
28
|
28
|
|
|
29
|
29
|
<div id="security-warning" class="section"> |
|
30
|
|
- <h2><?php p($l->t('Security & setup warnings'));?></h2> |
|
31
|
|
- <p class="settings-hint"><?php p($l->t('It\'s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Tricks section and the documentation for more information.'));?></p> |
|
|
30
|
+ <h2><?php p($l->t('Security & setup warnings')); ?></h2> |
|
|
31
|
+ <p class="settings-hint"><?php p($l->t('It\'s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the Tips & Tricks section and the documentation for more information.')); ?></p> |
|
32
|
32
|
<ul> |
|
33
|
33
|
<?php |
|
34
|
34
|
// is php setup properly to query system environment variables like getenv('PATH') |
|
@@ -130,7 +130,7 @@ discard block |
|
|
block discarded – undo |
|
130
|
130
|
<?php p($l->t('It was not possible to execute the cron job via CLI. The following technical errors have appeared:')); ?> |
|
131
|
131
|
<br> |
|
132
|
132
|
<ol> |
|
133
|
|
- <?php foreach(json_decode($_['cronErrors']) as $error) { if(isset($error->error)) {?> |
|
|
133
|
+ <?php foreach (json_decode($_['cronErrors']) as $error) { if (isset($error->error)) {?> |
|
134
|
134
|
<li><?php p($error->error) ?> <?php p($error->hint) ?></li> |
|
135
|
135
|
<?php }} ?> |
|
136
|
136
|
</ol> |
|
@@ -143,8 +143,8 @@ discard block |
|
|
block discarded – undo |
|
143
|
143
|
$formatter = \OC::$server->getDateTimeFormatter(); |
|
144
|
144
|
$absolute_time = $formatter->formatDateTime($_['lastcron'], 'long', 'long'); |
|
145
|
145
|
if (time() - $_['lastcron'] > 3600): ?> |
|
146
|
|
- <li class="crondate" title="<?php p($absolute_time);?>"> |
|
147
|
|
- <?php p($l->t("Last background job execution ran %s. Something seems wrong.", [$relative_time]));?> |
|
|
146
|
+ <li class="crondate" title="<?php p($absolute_time); ?>"> |
|
|
147
|
+ <?php p($l->t("Last background job execution ran %s. Something seems wrong.", [$relative_time])); ?> |
|
148
|
148
|
<a href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'server'])); ?>#backgroundjobs"><?php p($l->t('Check the background job settings')); ?></a> |
|
149
|
149
|
</li> |
|
150
|
150
|
<?php endif; ?> |
|
@@ -152,31 +152,31 @@ discard block |
|
|
block discarded – undo |
|
152
|
152
|
</ul> |
|
153
|
153
|
|
|
154
|
154
|
<div id="security-warning-state-ok" class="hidden"> |
|
155
|
|
- <span class="icon icon-checkmark-white"></span><span class="message"><?php p($l->t('All checks passed.'));?></span> |
|
|
155
|
+ <span class="icon icon-checkmark-white"></span><span class="message"><?php p($l->t('All checks passed.')); ?></span> |
|
156
|
156
|
</div> |
|
157
|
157
|
<div id="security-warning-state-failure" class="hidden"> |
|
158
|
|
- <span class="icon icon-close-white"></span><span class="message"><?php p($l->t('There are some errors regarding your setup.'));?></span> |
|
|
158
|
+ <span class="icon icon-close-white"></span><span class="message"><?php p($l->t('There are some errors regarding your setup.')); ?></span> |
|
159
|
159
|
</div> |
|
160
|
160
|
<div id="security-warning-state-warning" class="hidden"> |
|
161
|
|
- <span class="icon icon-error-white"></span><span class="message"><?php p($l->t('There are some warnings regarding your setup.'));?></span> |
|
|
161
|
+ <span class="icon icon-error-white"></span><span class="message"><?php p($l->t('There are some warnings regarding your setup.')); ?></span> |
|
162
|
162
|
</div> |
|
163
|
163
|
<div id="security-warning-state-loading"> |
|
164
|
|
- <span class="icon loading"></span><span class="message"><?php p($l->t('Checking for system and security issues.'));?></span> |
|
|
164
|
+ <span class="icon loading"></span><span class="message"><?php p($l->t('Checking for system and security issues.')); ?></span> |
|
165
|
165
|
</div> |
|
166
|
166
|
|
|
167
|
|
- <div id="postsetupchecks" data-check-wellknown="<?php if($_['checkForWorkingWellKnownSetup']) { p('true'); } else { p('false'); } ?>"> |
|
|
167
|
+ <div id="postsetupchecks" data-check-wellknown="<?php if ($_['checkForWorkingWellKnownSetup']) { p('true'); } else { p('false'); } ?>"> |
|
168
|
168
|
<ul class="errors hidden"></ul> |
|
169
|
169
|
<ul class="warnings hidden"></ul> |
|
170
|
170
|
<ul class="info hidden"></ul> |
|
171
|
171
|
</div> |
|
172
|
172
|
<p id="postsetupchecks-hint" class="hidden"> |
|
173
|
|
- <?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])] )); ?> |
|
|
173
|
+ <?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])])); ?> |
|
174
|
174
|
</p> |
|
175
|
175
|
|
|
176
|
176
|
</div> |
|
177
|
177
|
|
|
178
|
178
|
<div class="section"> |
|
179
|
179
|
<!-- should be the last part, so Updater can follow if enabled (it has no heading therefore). --> |
|
180
|
|
- <h2><?php p($l->t('Version'));?></h2> |
|
|
180
|
+ <h2><?php p($l->t('Version')); ?></h2> |
|
181
|
181
|
<p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer noopener" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p> |
|
182
|
182
|
</div> |