tiny-slitaz rev 31
More verbose titles
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 19:08:26 2019 +0200 (2019-09-25) |
parents | 11629aa4d9a4 |
children | 974cf6a79cc4 |
files | helper step5.php |
line diff
1.1 --- a/helper Tue Sep 24 12:34:48 2019 +0300 1.2 +++ b/helper Wed Sep 25 19:08:26 2019 +0200 1.3 @@ -235,6 +235,7 @@ 1.4 <p> 1.5 You may want to install the following package(s) too: 1.6 </p> 1.7 + <input type="hidden" name="EXTRA_SUGGESTED" value="$SUGG" /> 1.8 <div class="large"> 1.9 <table> 1.10 <thead> 1.11 @@ -432,7 +433,7 @@ 1.12 [ -s $1/fs/boot/bootmenu ] && while read bin button text; do 1.13 cat <<EOT 1.14 <input name="download" value="${button%%,*} ($(du -h \ 1.15 -$1/fs/boot/$bin | awk '{ printf "%s",$1 }'))" type="submit" /> 1.16 +$1/fs/boot/$bin | awk '{ printf "%s",$1 }'))" type="submit" title="$text" /> 1.17 EOT 1.18 done < $1/fs/boot/bootmenu 1.19 } 1.20 @@ -551,7 +552,7 @@ 1.21 echo -n "sh fs/boot/bundle out ' SliTaz boot menu'" 1.22 echo -n " slitaz.img 'Tiny SliTaz'" 1.23 while read bin button text; do 1.24 - echo -n " fs/boot/$bin '$text'" 1.25 + echo -n " fs/boot/$bin '${text% (*}'" 1.26 done < fs/boot/bootmenu 1.27 fi | sh 1.28 [ -s out ] || mv slitaz.img out
2.1 --- a/step5.php Tue Sep 24 12:34:48 2019 +0300 2.2 +++ b/step5.php Wed Sep 25 19:08:26 2019 +0200 2.3 @@ -21,7 +21,8 @@ 2.4 <table> 2.5 <tr><td class="first">Bootable images:</td><td> 2.6 <div id="floppyset"> 2.7 - <select name="fdsize" id="fdsize" onchange="floppy_form()"> 2.8 + <select name="fdsize" id="fdsize" onchange="floppy_form()" 2.9 + title="Select the size of the floppies"> 2.10 <?php 2.11 $title="Neither Windows nor emm386 supported. Needs a real mode DOS"; 2.12 if (!file_exists($_POST['tmp_dir']."out")) 2.13 @@ -52,9 +53,10 @@ 2.14 <tr><td class="first">Files for bootloaders:</td><td> 2.15 2.16 <input name="download" value="Kernel (<?php echo show_size("fs/boot/bzImage"); 2.17 - ?>)" type="submit" /> 2.18 + ?>)" title="A bzImage with a basic embbeded initramfs. 2.19 +Can boot from floppy or DOS in real mode." type="submit" /> 2.20 <input name="download" value="Rootfs (<?php echo show_size("rootfs.gz"); 2.21 - ?>)" title="For the initrd= parameter" type="submit" /> 2.22 + ?>)" title="Extra initramfs for the initrd= parameter" type="submit" /> 2.23 <?php echo shell_exec("sudo ./helper --boot-files ".$_POST['tmp_dir']); ?> 2.24 </td></tr> 2.25