wok diff xarchiver/stuff/xarchiver.cgi @ rev 23606
updated ranger (1.9.2 -> 1.9.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 11 17:55:48 2020 +0100 (2020-04-11) |
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 Sat Apr 11 17:55:48 2020 +0100 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>