Implementation of the translation system for installation process
This commit is contained in:
@@ -32,25 +32,25 @@ $_SESSION['install']['step'] = 3;
|
||||
|
||||
<form action="bdd.php" method="POST" >
|
||||
<?php if(isset($_GET['err']) && $_GET['err'] == 1){ ?>
|
||||
<div class="alert alert-danger">Wrong connection information</div>
|
||||
<div class="alert alert-danger"><?php echo $trans->trans('Wrong connection information'); ?></div>
|
||||
<?php } ?>
|
||||
<div class="well">
|
||||
<div class="form-group">
|
||||
<label for="host">Host :</label>
|
||||
<label for="host"><?php echo $trans->trans('Host :'); ?></label>
|
||||
<input id="host" class="form-control" type="text" name="host" placeholder="localhost" value="<?php if(isset($_SESSION['install']['host'])){ echo $_SESSION['install']['host']; } ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="user">Username :</label>
|
||||
<label for="user"><?php echo $trans->trans('Username :'); ?></label>
|
||||
<input id="user" type="text" class="form-control" name="username" placeholder="john" value="<?php if(isset($_SESSION['install']['username'])){ echo $_SESSION['install']['username']; } ?>">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password">Password :</label>
|
||||
<label for="password"><?php echo $trans->trans('Password :'); ?></label>
|
||||
<input id="password" type="password" class="form-control" name="password" placeholder="l33t 5p34k" >
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="port">Port :</label>
|
||||
<label for="port"><?php echo $trans->trans('Port :'); ?></label>
|
||||
<input id="port" type="text" class="form-control" name="port" value="<?php if(isset($_SESSION['install']['port'])){ echo $_SESSION['install']['port']; } else { echo '3306'; } ?>">
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ $_SESSION['install']['step'] = 3;
|
||||
|
||||
<div class="clearfix">
|
||||
<div class="control-btn">
|
||||
<button type="submit" class="pull-right btn btn-default btn-primary">Continue</button>
|
||||
<button type="submit" class="pull-right btn btn-default btn-primary"><?php echo $trans->trans('Continue'); ?></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user