blob: 8fcc1e9db219f1adf5699279b39919ba35f98d29 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
<?py include('templates/base_top.html') ?>
<?py include('templates/manage/menu.html') ?>
<center>
<div class="replymode">Mover hilo</div>
<?py if oldboardid and oldthread: ?>
<form action="#{cgi_url}manage/move/#{oldboardid}/#{oldthread}" method="post">
<?py else: ?>
<form action="#{cgi_url}manage/move" method="post">
<?py #endif ?>
<table>
<tr>
<td class="postblock">Board actual</td>
<td>
<?py if oldboardid and oldthread: ?>
<select name="oldboardid" style="width:100%;">
<?py for board in boards: ?>
<option value="#{board['dir']}"#{' selected="selected"' if oldboardid == board['dir'] else ''}>#{board['dir']} - #{board['name']}</option>
<?py #endfor ?>
</select>
<?py else: ?>
<select name="oldboardid" style="width:100%;">
<?py for board in boards: ?>
<option value="#{board['dir']}">#{board['dir']} - #{board['name']}</option>
<?py #endfor ?>
</select>
<?py #endif ?>
</td>
</tr>
<tr>
<td class="postblock">ID de hilo</td>
<td>
<?py if oldboardid and oldthread: ?>
<input type="text" name="oldthread" style="width:100%;" value="#{oldthread}" />
<?py else: ?>
<input type="text" name="oldthread" style="width:100%;" />
<?py #endif ?>
</td>
</tr>
<tr>
<td class="postblock">Mover a</td>
<td>
<select name="newboardid" style="width:100%;">
<?py for board in boards: ?>
<option value="#{board['dir']}">#{board['dir']} - #{board['name']}</option>
<?py #endfor ?>
</select>
</td>
</tr>
<tr>
<td class="postblock">Insertar mensaje</td>
<td>
<input type="checkbox" name="msg" value="1" />
</td>
</tr>
<tr><td colspan="2"><input type="submit" name="submit" style="width:100%;" value="Mover" /></td></tr>
</table>
</form>
</center>
<hr />
<?py include('templates/base_bottom.html') ?>
|