Skip to content

Commit

Permalink
Merge pull request #830 from Patriboom/stable
Browse files Browse the repository at this point in the history
Install able to rebuilt the BDD
  • Loading branch information
Patriboom authored Sep 8, 2022
2 parents 4d8d9a9 + f6f1c46 commit 8bb039a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 63 deletions.
1 change: 0 additions & 1 deletion app/application/views/user/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function VisualisonsCanevas(Quel) {
<input style="display:none" type="text" name="fakeusernameremembered"/>
<input style="display:none" type="password" name="fakepasswordremembered"/>
<input type="password" name="password" value="" autocomplete="off" style="width: 300px;" />

<?php echo $errors->first('password', '<span class="error">:message</span>'); ?>
</td>
</tr>
Expand Down
124 changes: 62 additions & 62 deletions install/config-setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,34 +127,34 @@ function ChgLng(Lng = 'en') { document.location.href = 'index.php?Lng=' + Lng; }
</head>
<body>
<div class="InstallLogo"></div>
<div id="container">
<form method="post" action="index.php?Lng=<?php echo $_GET["Lng"]; ?>" autocomplete="off">
<table class="form">
<tr>
<td colspan="2">
<div id="container">
<form method="post" action="index.php?Lng=<?php echo $_GET["Lng"]; ?>" autocomplete="off">
<table class="form">
<tr>
<td colspan="2">
<?php
echo '<h2>'.$MyLng['Installation'].'</h2>';
echo '<h2>'.$MyLng['Installation'].'</h2>';
echo $MyLng['Installation_Thanks'];
?>

<br /><br />
</td>
</tr>

<tr>
<th><label for="first_name"><?php echo $MyLng['Name_first']; ?></label>
<input autocomplete="off" type="text" name="first_name" id="first_name" value="<?php echo $_POST['email_name']; ?>"/>
<br />
</th>
</tr>
<tr>
<th><label for="last_name"><?php echo $MyLng['Name_last']; ?></label>
<input autocomplete="off" type="text" name="last_name" id="last_name" value=""/>
<br />
</th>
</tr>
<tr>
<th><label for="language"><?php echo $MyLng['Name_lang']; ?></label>
?>

<br /><br />
</td>
</tr>

<tr>
<th><label for="first_name"><?php echo $MyLng['Name_first']; ?></label>
<input autocomplete="off" type="text" name="first_name" id="first_name" value="<?php echo $_POST['email_name']; ?>"/>
<br />
</th>
</tr>
<tr>
<th><label for="last_name"><?php echo $MyLng['Name_last']; ?></label>
<input autocomplete="off" type="text" name="last_name" id="last_name" value=""/>
<br />
</th>
</tr>
<tr>
<th><label for="language"><?php echo $MyLng['Name_lang']; ?></label>
<select name="language" id="language" style="background-color: #FFF;">
<?php
foreach ($Language as $ind => $lang) {
Expand All @@ -163,31 +163,31 @@ function ChgLng(Lng = 'en') { document.location.href = 'index.php?Lng=' + Lng; }
?>
</select>
<br /><br />
</th>
</tr>
<tr>
<th><label for="email"><?php echo $MyLng['Name_email']; ?></label>
<input autocomplete="off" type="text" name="email" id="email" value="<?php echo $_POST['email_address']; ?>"/>
<br />
</th>
</tr>
<tr>
<th><label for="password"><?php echo $MyLng['Name_pswd']; ?></label>
<input type="password" name="autocompletion_off" value="" style="display:none;">
<input autocomplete="off" type="password" name="password" id="password" />
<br />
</th>
</tr>
<tr>
</th>
</tr>
<tr>
<th><label for="email"><?php echo $MyLng['Name_email']; ?></label>
<input autocomplete="off" type="text" name="email" id="email" value="<?php echo $_POST['email_address']; ?>"/>
<br />
</th>
</tr>
<tr>
<th><label for="password"><?php echo $MyLng['Name_pswd']; ?></label>
<input type="password" name="autocompletion_off" value="" style="display:none;">
<input autocomplete="off" type="password" name="password" id="password" />
<br />
</th>
</tr>
<tr>
<td style="text-align: center;">
<br />
<input type="submit" value="<?php echo $MyLng['Name_finish']; ?>" class="button primary"/>
<br /><br />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
</div>

<?php
}
Expand Down Expand Up @@ -372,30 +372,30 @@ function ChgLng(Lng = 'en') { document.location.href = 'index.php?Lng=' + Lng; }
</table>
</form>
<br /><br />
<form method="post" action="restore.php?Lng=<?php echo $_GET["Lng"] ?? 'en'; ?>" enctype="multipart/form-data">
<table class="form">
<form method="post" action="restore.php?Lng=<?php echo $_GET["Lng"] ?? 'en'; ?>" enctype="multipart/form-data">
<table class="form">
<tr>
<td colspan="2"><h2><?php echo $MyLng['restore']; ?></h2></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_srvr']; ?> </label><input name="srvr" id="inputRestore_srvr" type="text" value="localhost" /></td>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_srvr']; ?> </label><input name="srvr" id="inputRestore_srvr" type="text" value="localhost" /></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_user']; ?> </label><input name="user" id="inputRestore_user" type="text" value="" /></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_user']; ?> </label><input name="user" id="inputRestore_user" type="text" value="" /></td>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_pswd']; ?> </label><input name="pswd" id="inputRestore_pswd" type="text" value="" /></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_pswd']; ?> </label><input name="pswd" id="inputRestore_pswd" type="text" value="" /></td>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_bdds']; ?> ( SQL )</label><input name="bdds" id="inputRestore_bdds" type="file" value="" /></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_bdds']; ?> ( SQL )</label><input name="bdds" id="inputRestore_bdds" type="file" value="" /></td>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_txte']; ?> ( zip )</label><input name="txte" id="inputRestore_txte" type="file" value="" /></td>
</tr>
<tr>
<td colspan="2"><label><?php echo $MyLng['restore_txte']; ?> ( zip )</label><input name="txte" id="inputRestore_txte" type="file" value="" /></td>
<tr>
<td style="text-align: center;"><input name="butRestore" type="submit" value="<?php echo $MyLng['restore_butt']; ?>" class="button primary"/></td>
</tr>
<tr>
<td style="text-align: center;"><input name="butRestore" type="submit" value="<?php echo $MyLng['restore_butt']; ?>" class="button primary"/></td>
</tr>
</table>
</table>
</form>
</div>
<?php exit(); } ?>

0 comments on commit 8bb039a

Please sign in to comment.