[projects/pld-ftp-admin] web: give the Mv and Rm checkboxes distinct names

arekm arekm at pld-linux.org
Sat Oct 24 11:46:44 CEST 2026


commit 8b6678b9032419ef056f9ef69f71d605e2780f14
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Oct 20 18:22:50 2026 +0200

    web: give the Mv and Rm checkboxes distinct names

 modules/wwwcmds.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/wwwcmds.py b/modules/wwwcmds.py
index e3108c4..d15b136 100644
--- a/modules/wwwcmds.py
+++ b/modules/wwwcmds.py
@@ -17,7 +17,7 @@ def handlecmds(options, page):
         page.addcontent('<form action="index.py" method="post"><table border="1">')
         page.addcontent('<tr><td>Mv</td><td>Rm</td><td>Package</td></tr>')
         for pkg in ftpio.gettree():
-            page.addcontent('<tr><td>%s</td><td>%s</td><td>%s</td></tr>' % (chkbox(pkg[0], pkg[1]), chkbox(pkg[0], pkg[2]), pkg[0]))
+            page.addcontent('<tr><td>%s</td><td>%s</td><td>%s</td></tr>' % (chkbox('mv:' + pkg[0], pkg[1]), chkbox('rm:' + pkg[0], pkg[2]), pkg[0]))
         page.addcontent('<tr><td> </td><td> </td><td><input type="submit" value="Commit"></td></tr>')
         page.addcontent('</table></form>')
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-ftp-admin.git/commitdiff/e14cb7d4d74f8bdd9368d9645ecaf49593cf6335



More information about the pld-cvs-commit mailing list