wok-next diff xarchiver/stuff/xarchiver.cgi @ rev 18541

Add slitaz-icons-faenza-dark; plus various small fixes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 05 21:30:50 2015 +0200 (2015-11-05)
parents 7893304f1666
children
line diff
     1.1 --- a/xarchiver/stuff/xarchiver.cgi	Sat Jun 21 02:56:20 2014 +0300
     1.2 +++ b/xarchiver/stuff/xarchiver.cgi	Thu Nov 05 21:30:50 2015 +0200
     1.3 @@ -33,7 +33,7 @@
     1.4  	</style>
     1.5  	<script type="text/javascript">
     1.6  	function inst(actpkg) {
     1.7 -		document.getElementById("installer").src = "http://localhost:82/pkgs.cgi?do=" + actpkg
     1.8 +		document.getElementById("installer").src = "http://127.0.0.1:82/user/pkgs.cgi?do=" + actpkg
     1.9  	}
    1.10  	function on_load(iframe) {
    1.11  		if (iframe.src !== "http://localhost/cgi-bin/xarchiver.cgi") {location.reload(false)}
    1.12 @@ -63,7 +63,7 @@
    1.13  			else
    1.14  				img=not; act=Install; desc="$(_ Install)"
    1.15  			fi
    1.16 -			echo "<tr><td><img src=\"?img=$img\" /> $pkg</td></td><td><button type=\"submit\" onclick='inst(\"${act}&${pkg2}\")'>$desc</button></td></tr>"
    1.17 +			echo "<tr><td><img src=\"?img=$img\" /> $pkg</td></td><td><button type=\"submit\" onclick='inst(\"${act}&pkg=${pkg2}\")'>$desc</button></td></tr>"
    1.18  		done
    1.19  		cat << EOT
    1.20  	</tbody>