tiny-slitaz view step2.php @ rev 5
refresh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 07 23:37:02 2015 +0200 (2015-10-07) |
parents | 55f97ee147e8 |
children | ac214416e736 |
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 <a name="modules"></a>
15 <h2>Additionnal modules</h2>
17 <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="packages">
19 <?php
20 echo shell_exec("./helper --list-modules ".$_POST["tmp_dir"]);
21 post_hidden();
22 ?>
23 <p>
24 </p>
26 <div align="center">
27 <input name="continue" value="Continue" type="submit" />
28 </div>
30 </form>
32 <?php
33 }
34 ?>