]>
Commit | Line | Data |
---|---|---|
db087717 MM |
1 | # vi: encoding=utf-8 ts=8 sts=4 sw=4 et |
2 | ||
08b49edd | 3 | import wwwiface, ftpio |
db087717 MM |
4 | |
5 | ||
6 | def 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> </td><td><input type="submit" value="Move"></td></tr>') | |
15 | wwwiface.addcontent('</table></form>') | |
db087717 MM |
16 | |
17 | ||
18 | actions={} | |
19 |