cookutils rev 929

Tiny edits
author Paul Issott <paul@slitaz.org>
date Thu Jun 15 19:02:13 2017 +0100 (2017-06-15)
parents 034176ce0e8a
children 5f0da70605b6
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Thu Jun 15 03:28:08 2017 +0300
     1.2 +++ b/lighttpd/index.cgi	Thu Jun 15 19:02:13 2017 +0100
     1.3 @@ -1094,7 +1094,7 @@
     1.4  
     1.5  			size=$(du -hs $dir | awk '{ sub(/\.0/, ""); print $1 }')
     1.6  
     1.7 -			echo "<section><h3 id='id-$p'>Content of package “$namever” (${size:-empty}):</h3>"
     1.8 +			echo "<section><h3 id='id-$p'>Contents of package “$namever” (${size:-empty}):</h3>"
     1.9  			echo '<pre class="files">'
    1.10  			if [ -s "$wok/$indir/taz/$p-$ver/files.list" ]; then
    1.11  				echo -n '<span class="underline">permissions·lnk·user    ·'
    1.12 @@ -1329,7 +1329,7 @@
    1.13  								wok/*) page="${arg#wok/}"; page="$base/$pkg/browse/${page#*/}";;
    1.14  								*)     page="$base/$pkg/browse/install/usr/share/$cmd/$arg";;
    1.15  							esac
    1.16 -							# make the iframe height so long to contain its content without scrollbar
    1.17 +							# make the iframe height so long to contain its contents without scrollbar
    1.18  							echo "<iframe id='idoc' src='$page' width='100%' onload='resizeIframe(this)'></iframe>"
    1.19  							;;
    1.20  						*.pdf)