tiny-slitaz annotate 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 |
rev | line source |
---|---|
pascal@0 | 1 <?php |
pascal@0 | 2 |
pascal@5 | 3 if (isset($_POST['kernel']) && !isset($_POST['modules'])) { |
pascal@0 | 4 if (isset($_POST['selected'])) { |
pascal@0 | 5 $_POST['modules'] = implode(" ",$_POST['selected']); |
pascal@0 | 6 unset($_POST['selected']); |
pascal@0 | 7 } |
pascal@0 | 8 } |
pascal@0 | 9 |
pascal@5 | 10 if (isset($_POST['kernel']) && !isset($_POST['modules'])) { |
pascal@0 | 11 |
pascal@0 | 12 ?> |
pascal@0 | 13 |
pascal@0 | 14 <a name="modules"></a> |
pascal@0 | 15 <h2>Additionnal modules</h2> |
pascal@0 | 16 |
pascal@0 | 17 <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="packages"> |
pascal@0 | 18 |
pascal@0 | 19 <?php |
pascal@0 | 20 echo shell_exec("./helper --list-modules ".$_POST["tmp_dir"]); |
pascal@0 | 21 post_hidden(); |
pascal@0 | 22 ?> |
pascal@0 | 23 <p> |
pascal@0 | 24 </p> |
pascal@0 | 25 |
pascal@0 | 26 <div align="center"> |
pascal@0 | 27 <input name="continue" value="Continue" type="submit" /> |
pascal@0 | 28 </div> |
pascal@0 | 29 |
pascal@0 | 30 </form> |
pascal@0 | 31 |
pascal@0 | 32 <?php |
pascal@0 | 33 } |
pascal@0 | 34 ?> |