From 176b9674d29dc657a4b7000a9445fd7c3d74caee Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 18 May 2015 22:59:35 +0200 Subject: [PATCH] Add hint about additional PHP database modules * fixes #16391 --- core/css/styles.css | 3 +++ core/js/setup.js | 2 ++ core/templates/installation.php | 7 ++++++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/core/css/styles.css b/core/css/styles.css index c8704066cf..fe259e87d5 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 95237165b4..fd2547867f 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 911bc05069..b686a1ca68 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -85,7 +85,12 @@ script('core', [
$label): ?> -

t( 'Only %s is available.', array($label) )); ?>.

+

+ t( 'Only %s is available.', array($label) )); ?> + t( 'Install and activate additional PHP modules to choose other database types.' )); ?>
+ + t( 'For more details check out the documentation.' )); ?> ↗ +