CRM-16189, more code clean-up.
[civicrm-core.git] / install / template.html
index b24a93a93d76d094166c168e8b400b66731f237c..7a5e04f1e01c2e570b682496d25cb88970392268 100644 (file)
@@ -113,6 +113,15 @@ if ($text_direction == 'rtl') {
 </p>
 <?php } ?>
 
+<?php if ($installType == 'backdrop') { ?>
+<h4><?php echo ts('Backdrop Database Settings'); ?></h4>
+<p style="margin-left: 2em" id="backdrop_credentials" > <!--style="display: none"-->
+  <label for="backdrop_server"> <span><?php echo ts('MySQL server:'); ?></span> <input id="backdrop_server" type="text" name="backdrop[server]" value="<?php echo $backdropConfig['server'] ?>" /></label> <br />
+  <label for="backdrop_username"> <span><?php echo ts('MySQL username:'); ?></span> <input id="backdrop_username" type="text" name="backdrop[username]" value="<?php echo $backdropConfig['username'] ?>"  /></label> <br />
+  <label for="backdrop_password"> <span><?php echo ts('MySQL password:'); ?></span> <input id="backdrop_password" type="password" name="backdrop[password]" value="<?php echo $backdropConfig['password'] ?>" /></label> <br />
+  <label for="backdrop_database"><span><?php echo ts('MySQL database:'); ?></span> <input id="backdrop_database" type="text" name="backdrop[database]" value="<?php echo $backdropConfig['database'] ?>" /></label> <br />
+</p>
+<?php } ?>
 
 <h4><?php echo ts('Other Settings'); ?></h4>
 
@@ -134,6 +143,11 @@ if ($text_direction == 'rtl') {
 echo "<h4>" . ts('Drupal Database Details') . "</h4>";
 $dbReq->showTable(ts("MySQL %1 Configuration", array(1 => 'Drupal')));
 }?>
+
+<?php if ($installType == 'backdrop') {
+echo "<h4>" . ts('Backdrop Database Details') . "</h4>";
+$dbReq->showTable(ts("MySQL %1 Configuration", array(1 => 'Backdrop')));
+}?>
 <br /><hr />
 
 <h2 id="requirements"><?php echo ts('Requirements'); ?></h2>