diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-26 09:45:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 09:45:01 +0200 |
commit | bec9f18a0f88a60b687d97b279e371984663febc (patch) | |
tree | b52cbfc8a2bdc4842980c268c2cc16133c6ca6ca /settings | |
parent | 7386bea23fc7bb95ec4073a33abc9069b587581e (diff) | |
parent | 3bb41f414448ae116e8c36a72f8724b374119f53 (diff) | |
download | nextcloud-server-bec9f18a0f88a60b687d97b279e371984663febc.tar.gz nextcloud-server-bec9f18a0f88a60b687d97b279e371984663febc.zip |
Merge pull request #4478 from nextcloud/improve_settings_help
adding some documentation hints and some smaller cleanup
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 6 | ||||
-rw-r--r-- | settings/templates/admin/additional-mail.php | 5 | ||||
-rw-r--r-- | settings/templates/admin/encryption.php | 2 | ||||
-rw-r--r-- | settings/templates/admin/server.php | 4 | ||||
-rw-r--r-- | settings/templates/admin/sharing.php | 1 | ||||
-rw-r--r-- | settings/templates/admin/tipstricks.php | 1 |
6 files changed, 14 insertions, 5 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index a046148dcc4..7e91877773e 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -979,3 +979,9 @@ doesnotexist:-o-prefocus, .strengthify-wrapper { #warning { color: red; } + +.settings-hint { + margin-top: -12px; + margin-bottom: 12px; + opacity: .7; +} diff --git a/settings/templates/admin/additional-mail.php b/settings/templates/admin/additional-mail.php index 7f8706274f9..249252dc694 100644 --- a/settings/templates/admin/additional-mail.php +++ b/settings/templates/admin/additional-mail.php @@ -56,8 +56,8 @@ if ($_['mail_smtpmode'] === 'qmail') { <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-email')); ?>"></a> - - <p><?php p($l->t('This is used for sending out notifications.')); ?> <span id="mail_settings_msg" class="msg"></span></p> + <p class="settings-hint"><?php p($l->t('It is important to set up this server to be able to send emails, like for password reset and notifications.')); ?></p> + <p><span id="mail_settings_msg" class="msg"></span></p> <p> <label for="mail_smtpmode"><?php p($l->t('Send mode')); ?></label> @@ -137,4 +137,3 @@ if ($_['mail_smtpmode'] === 'qmail') { <input type="submit" name="sendtestemail" id="sendtestemail" value="<?php p($l->t('Send email')); ?>"/> <span id="sendtestmail_msg" class="msg"></span> </div> - diff --git a/settings/templates/admin/encryption.php b/settings/templates/admin/encryption.php index 4b6d9045689..1d956a8f7c1 100644 --- a/settings/templates/admin/encryption.php +++ b/settings/templates/admin/encryption.php @@ -31,7 +31,7 @@ <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-encryption')); ?>"></a> - + <p class="settings-hint"><?php p($l->t('Server-side encryption makes it possible to encrypt files which are uploaded to this server. This comes with limitations like a performance penalty, so enable this only if needed.')); ?></p> <p id="enable"> <input type="checkbox" id="enableEncryption" class="checkbox" diff --git a/settings/templates/admin/server.php b/settings/templates/admin/server.php index d0fc6378e9a..391d100dcf7 100644 --- a/settings/templates/admin/server.php +++ b/settings/templates/admin/server.php @@ -28,6 +28,7 @@ <div id="security-warning" class="section"> <h2><?php p($l->t('Security & setup warnings'));?></h2> + <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 & Ticks section and the documentation for more information.'));?></p> <ul> <?php // is php setup properly to query system environment variables like getenv('PATH') @@ -181,6 +182,7 @@ title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-background-jobs')); ?>"></a> + <p class="settings-hint"><?php p($l->t('For optimal performance it\'s important to configure background jobs correctly. For bigger instances \'Cron\' is the recommended setting. Please see the documentation for more information.'));?></p> <p> <input type="radio" name="mode" value="ajax" class="radio" id="backgroundjobs_ajax" <?php if ($_['backgroundjobs_mode'] === "ajax") { @@ -223,5 +225,5 @@ <div class="section"> <!-- should be the last part, so Updater can follow if enabled (it has no heading therefore). --> <h2><?php p($l->t('Version'));?></h2> - <p><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></p> + <p><strong><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" rel="noreferrer" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></strong></p> </div> diff --git a/settings/templates/admin/sharing.php b/settings/templates/admin/sharing.php index 9de71c58990..38071a4bee9 100644 --- a/settings/templates/admin/sharing.php +++ b/settings/templates/admin/sharing.php @@ -31,6 +31,7 @@ <a target="_blank" rel="noreferrer" class="icon-info" title="<?php p($l->t('Open documentation'));?>" href="<?php p(link_to_docs('admin-sharing')); ?>"></a> + <p class="settings-hint"><?php p($l->t('As admin you can fine-tune the sharing behavior. Please see the documentation for more information.'));?></p> <p id="enable"> <input type="checkbox" name="shareapi_enabled" id="shareAPIEnabled" class="checkbox" value="1" <?php if ($_['shareAPIEnabled'] === 'yes') print_unescaped('checked="checked"'); ?> /> diff --git a/settings/templates/admin/tipstricks.php b/settings/templates/admin/tipstricks.php index cee5cd8032d..c18c7f25f39 100644 --- a/settings/templates/admin/tipstricks.php +++ b/settings/templates/admin/tipstricks.php @@ -28,6 +28,7 @@ <div class="section" id="admin-tips"> <h2><?php p($l->t('Tips & tricks'));?></h2> + <p class="settings-hint"><?php p($l->t('There are a lot of features and config switches available to optimally customize and use this instance. Here are some pointers for more information.')); ?></p> <ul> <?php // SQLite database performance issue |