summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-07-30 17:34:09 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-07-30 17:34:13 +0200
commit2d130826da806cbb7bde0cfcf08a4a1f89e1339b (patch)
tree22091fa7f3ee25a6af6db20321100f8d220a54c9
parent3ef680d96623eb6350015843f56b55b593a053bd (diff)
downloadnextcloud-server-2d130826da806cbb7bde0cfcf08a4a1f89e1339b.tar.gz
nextcloud-server-2d130826da806cbb7bde0cfcf08a4a1f89e1339b.zip
correct order and capitalization of 'Server status' admin settings entry, fix #17395
-rw-r--r--settings/admin.php2
-rw-r--r--settings/templates/admin.php25
2 files changed, 14 insertions, 13 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 551608b5d25..260e462db58 100644
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -220,7 +220,7 @@ $formsAndMore = array_merge($formsAndMore, $formsMap);
$formsAndMore[] = ['anchor' => 'backgroundjobs', 'section-name' => $l->t('Cron')];
$formsAndMore[] = ['anchor' => 'mail_general_settings', 'section-name' => $l->t('Email server')];
$formsAndMore[] = ['anchor' => 'log-section', 'section-name' => $l->t('Log')];
-$formsAndMore[] = ['anchor' => 'server-status', 'section-name' => $l->t('Server Status')];
+$formsAndMore[] = ['anchor' => 'server-status', 'section-name' => $l->t('Server status')];
$formsAndMore[] = ['anchor' => 'admin-tips', 'section-name' => $l->t('Tips & tricks')];
if ($updaterAppPanel) {
$formsAndMore[] = ['anchor' => 'updater', 'section-name' => $l->t('Updates')];
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index a55071bdf84..4203ee2cad7 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -507,6 +507,19 @@ if ($_['cronErrors']) {
<?php endif; ?>
</div>
+<div class="section" id="server-status">
+ <h2><?php p($l->t('Server status'));?></h2>
+ <ul>
+ <li>
+ <?php if ($_['fileLockingEnabled']) {
+ p($l->t('Transactional File Locking is enabled.'));
+ } else {
+ p($l->t('Transactional File Locking is disabled.'));
+ } ?>
+ </li>
+ </ul>
+</div>
+
<div class="section" id="admin-tips">
<h2><?php p($l->t('Tips & tricks'));?></h2>
<ul>
@@ -528,18 +541,6 @@ if ($_['cronErrors']) {
<li><a target="_blank" href="<?php p(link_to_docs('admin-security')); ?>"><?php p($l->t('Hardening and security guidance'));?> ↗</a></li>
</ul>
</div>
-<div class="section" id="server-status">
- <h2><?php p($l->t('Server Status'));?></h2>
- <ul>
- <li>
- <?php if ($_['fileLockingEnabled']) {
- p($l->t('Transactional File Locking is enabled.'));
- } else {
- p($l->t('Transactional File Locking is disabled.'));
- } ?>
- </li>
- </ul>
-</div>
<div class="section">
<h2><?php p($l->t('Version'));?></h2>