[Pkg-owncloud-commits] [owncloud] 52/457: Add hint about additional PHP database modules

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:05:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 176b9674d29dc657a4b7000a9445fd7c3d74caee
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Mon May 18 22:59:35 2015 +0200

    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 c870406..fe259e8 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 9523716..fd25478 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 911bc05..b686a1c 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) ?>"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list