tiny-slitaz view step2.php @ rev 32

Do not suggest packages twice
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 13:55:40 2019 +0200 (2019-09-26)
parents 577e6e91216d
children
line source
1 <?php
3 if (isset($_POST['kernel']) && !isset($_POST['modules'])) {
4 if (isset($_POST['selected'])) {
5 $_POST['modules'] = implode(" ",$_POST['selected']);
6 unset($_POST['selected']);
7 }
8 }
10 if (isset($_POST['kernel']) && !isset($_POST['modules'])) {
12 ?>
14 <div class="box">
15 <h3>[Step 2/5] Additional modules</h3>
17 <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="packages">
18 <?php
19 echo shell_exec("./helper --list-modules ".$_POST["tmp_dir"]);
20 post_hidden();
21 ?>
23 <div align="center">
24 <input name="continue" value="Continue" type="submit" />
25 </div>
27 </form>
28 </div>
30 <?php
31 }
32 ?>