Use === instead of ==, add missing whitespace and CSS class

This commit is contained in:
Morris Jobke 2014-02-01 15:02:36 +01:00
parent f1c60c7f8b
commit 5844d682a7
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@
<legend><?php p($l->t( 'Configure the database' )); ?></legend>
<div id="selectDbType">
<?php foreach($_['databases'] as $type => $label): ?>
<?php if(count($_['databases']) == 1): ?>
<p><?php p($label . $l->t( 'will be used' )); ?>.</p>
<?php if(count($_['databases']) === 1): ?>
<p class="info"><?php p($label . ' ' . $l->t( 'will be used' )); ?>.</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) ?>"