Merge pull request #16426 from owncloud/add-database-setup-hint
Add hint about additional PHP database modules
This commit is contained in:
commit
f0e7ae5da8
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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) ?>"
|
||||
|
|
Loading…
Reference in New Issue