tiny-slitaz annotate step2.php @ rev 6

Refresh style (thanks Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 01 16:56:16 2015 +0100 (2015-11-01)
parents 577e6e91216d
children
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@6 14 <div class="box">
pascal@6 15 <h3>[Step 2/5] Additional modules</h3>
pascal@0 16
pascal@0 17 <form enctype="multipart/form-data" action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="post" name="packages">
pascal@6 18 <?php
pascal@0 19 echo shell_exec("./helper --list-modules ".$_POST["tmp_dir"]);
pascal@0 20 post_hidden();
pascal@0 21 ?>
pascal@0 22
pascal@6 23 <div align="center">
pascal@6 24 <input name="continue" value="Continue" type="submit" />
pascal@6 25 </div>
pascal@0 26
pascal@0 27 </form>
pascal@6 28 </div>
pascal@0 29
pascal@0 30 <?php
pascal@0 31 }
pascal@0 32 ?>