tiny-slitaz view step2.php @ rev 1
Auto-update files.list.lzma
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 21 11:16:18 2012 +0200 (2012-08-21) |
parents | |
children | 577e6e91216d |
line source
1 <?php
3 if (isset($_POST['kernel']) && $_POST['kernel'] == "kernel-modular" &&
4 !isset($_POST['modules'])) {
5 if (isset($_POST['selected'])) {
6 $_POST['modules'] = implode(" ",$_POST['selected']);
7 unset($_POST['selected']);
8 }
9 }
11 if (isset($_POST['kernel']) && $_POST['kernel'] == "kernel-modular" &&
12 !isset($_POST['modules'])) {
14 ?>
16 <a name="modules"></a>
17 <h2>Additionnal modules</h2>
19 <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="packages">
21 <?php
22 echo shell_exec("./helper --list-modules ".$_POST["tmp_dir"]);
23 post_hidden();
24 ?>
25 <p>
26 </p>
28 <div align="center">
29 <input name="continue" value="Continue" type="submit" />
30 </div>
32 </form>
34 <?php
35 }
36 ?>