summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-05-18 22:59:35 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-05-18 22:59:35 +0200
commit176b9674d29dc657a4b7000a9445fd7c3d74caee (patch)
tree3a9adae1c279fea5f1531811c544669a3cf67b06 /core
parenta1e60e78823d0f00681db0a6dc62a5a157b302f4 (diff)
downloadnextcloud-server-176b9674d29dc657a4b7000a9445fd7c3d74caee.tar.gz
nextcloud-server-176b9674d29dc657a4b7000a9445fd7c3d74caee.zip
Add hint about additional PHP database modules
* fixes #16391
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css3
-rw-r--r--core/js/setup.js2
-rw-r--r--core/templates/installation.php7
3 files changed, 11 insertions, 1 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index c8704066cf1..fe259e87d51 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -638,6 +638,9 @@ label.infield {
/* Database selector */
#body-login form #selectDbType { text-align:center; white-space: nowrap; }
+#body-login form #selectDbType .info {
+ white-space: normal;
+}
#body-login form #selectDbType label {
position:static; margin:0 -3px 5px; padding:.4em;
font-size:12px; background:#f8f8f8; color:#888; cursor:pointer;
diff --git a/core/js/setup.js b/core/js/setup.js
index 95237165b40..fd2547867ff 100644
--- a/core/js/setup.js
+++ b/core/js/setup.js
@@ -9,6 +9,8 @@ $(document).ready(function() {
};
$('#selectDbType').buttonset();
+ // change links inside an info box back to their default appearance
+ $('#selectDbType p.info a').button('destroy');
if($('#hasSQLite').val()){
$('#use_other_db').hide();
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 911bc05069f..b686a1ca68c 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -85,7 +85,12 @@ script('core', [
<div id="selectDbType">
<?php foreach($_['databases'] as $type => $label): ?>
<?php if(count($_['databases']) === 1): ?>
- <p class="info"><?php p($l->t( 'Only %s is available.', array($label) )); ?>.</p>
+ <p class="info">
+ <?php p($l->t( 'Only %s is available.', array($label) )); ?>
+ <?php p($l->t( 'Install and activate additional PHP modules to choose other database types.' )); ?><br>
+ <a href="<?php print_unescaped(link_to_docs('admin-source_install')); ?>" target="_blank">
+ <?php p($l->t( 'For more details check out the documentation.' )); ?> ↗</a>
+ </p>
<input type="hidden" id="dbtype" name="dbtype" value="<?php p($type) ?>">
<?php else: ?>
<input type="radio" name="dbtype" value="<?php p($type) ?>" id="<?php p($type) ?>"