]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blame - modules/wwwcmds.py
- all scripts use ftpiod for locking and logging
[projects/pld-ftp-admin.git] / modules / wwwcmds.py
CommitLineData
db087717
MM
1# vi: encoding=utf-8 ts=8 sts=4 sw=4 et
2
08b49edd 3import wwwiface, ftpio
db087717
MM
4
5
6def handlecmds(options):
7 if 'action' in options and options['action'] in actions:
8 pass
9 else:
08b49edd
MM
10 wwwiface.addcontent('<form action="index.py" method="post"><table border="1">')
11 wwwiface.addcontent('<tr><td>Mv</td><td>Package</td></tr>\n')
12 for pkg in ftpio.gettree():
13 wwwiface.addcontent('<tr><td><input type="checkbox"></td><td>'+pkg+'</td></tr>\n')
14 wwwiface.addcontent('<tr><td>&nbsp;</td><td><input type="submit" value="Move"></td></tr>')
15 wwwiface.addcontent('</table></form>')
db087717
MM
16
17
18actions={}
19
This page took 0.022503 seconds and 4 git commands to generate.