diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-05-19 08:30:35 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-05-19 08:30:35 +0200 |
commit | f0e7ae5da803b4fc77f362b70e86b27e9b77f001 (patch) | |
tree | 90c0685da32520f8171c229ceb68630e88fd6f8d | |
parent | 313994a33d0c8e502f16049448cdce1ed9b14b0d (diff) | |
parent | 176b9674d29dc657a4b7000a9445fd7c3d74caee (diff) | |
download | nextcloud-server-f0e7ae5da803b4fc77f362b70e86b27e9b77f001.tar.gz nextcloud-server-f0e7ae5da803b4fc77f362b70e86b27e9b77f001.zip |
Merge pull request #16426 from owncloud/add-database-setup-hint
Add hint about additional PHP database modules
-rw-r--r-- | core/css/styles.css | 3 | ||||
-rw-r--r-- | core/js/setup.js | 2 | ||||
-rw-r--r-- | core/templates/installation.php | 7 |
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) ?>" |