Added 'go' as hidden input fields to all of the forms in the room editor
[citadel.git] / webcit / static / t / room / edit / tab_expire.html
1 <?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
2         <br />
3         <form method="post" action="set_room_policy">
4                 <input type="hidden" name="nonce" value="<?NONCE>" />
5                 <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
6                 <table border="0" cellspacing="5">
7                         <tr>
8                                 <td>
9                                         <?_("Message expire policy for this room")>
10                                         <br />
11                                         <?ROOMNAME("X")>
12                                 </td>
13                                 <td>
14                                         <input type="radio" name="roompolicy" value="0" <?%("COND:EXPIRE:MODE", 1, #"roompolicy", #"EXPIRE_NEXTLEVEL" , 'checked="checked"',"")>/>&nbsp;
15                                         <?_("Use the default policy for this floor")>&nbsp;
16                                         <br />
17                                         <input type="radio" name="roompolicy" value="1" <?%("COND:EXPIRE:MODE", 1, #"roompolicy", #"EXPIRE_MANUAL", 'checked="checked"',"")> />&nbsp;
18                                         <?_("Never automatically expire messages")>
19                                         <br />
20                                         <input type="radio" name="roompolicy" value="2" <?%("COND:EXPIRE:MODE", 2, #"roompolicy", #"EXPIRE_NUMMSGS", 'checked="checked"', "")> />&nbsp;
21                                         <?_("Expire by message count")>
22                                         <br />
23                                         <input type="radio" name="roompolicy" value="3" <?%("COND:EXPIRE:MODE", 1, #"roompolicy", #"EXPIRE_AGE", 'checked="checked"', "")> />&nbsp;
24                                         <?_("Expire by message age")>
25                                         <br />
26                                         <?_("Number of messages or days: ")>
27                                         <input type="text" name="roomvalue" MAXLENGTH="5" value="<?EXPIRE:VALUE(#"roompolicy", #"EXPIRE_NUMMSGS")>">
28                                 </td>
29                         </tr>
30         
31                         <??("COND:AIDE", 2)>
32                         <tr>
33                                 <td colspan="2"><hr /></td>
34                         </tr>
35                         <tr>
36                                 <td>
37                                         <?_("Message expire policy for this floor")>
38                                         <br />
39                                         <?THISROOM:FLOOR:NAME("X")>
40                                 </td>
41                                 <td>
42                                         <input type="radio" name="floorpolicy" value="0" <?%("COND:EXPIRE:MODE", 1, #"floorpolicy", #"EXPIRE_NEXTLEVEL" , 'checked="checked"',"")>>&nbsp;
43                                         <?_("Use the system default")>
44                                         <br />
45                                         <input type="radio" name="floorpolicy" value="1" <?%("COND:EXPIRE:MODE", 1, #"floorpolicy", #"EXPIRE_MANUAL", 'checked="checked"',"")> />&nbsp;
46                                         <?_("Never automatically expire messages")>
47                                         <br />
48                                         <input type="radio" name="floorpolicy" value="2" <?%("COND:EXPIRE:MODE", 2, #"floorpolicy", #"EXPIRE_NUMMSGS", 'checked="checked"', "")> />&nbsp;
49                                         <?_("Expire by message count")>
50                                         <br />
51                                         <input type="radio" name="floorpolicy" value="3" <?%("COND:EXPIRE:MODE", 1, #"floorpolicy", #"EXPIRE_AGE", 'checked="checked"', "")> />&nbsp;
52                                         <?_("Expire by message age")>
53                                         <br />
54                                         <?_("Number of messages or days: ")>
55                                         <input type="text" name="floorvalue" MAXLENGTH="5" value="<?EXPIRE:VALUE(#"floorpolicy", #"EXPIRE_NUMMSGS")>">
56                                         </td>
57                                 </tr>
58                         <??("X", 2)>    
59                         <tr>
60                                 <td colspan="2">
61                                         <hr />
62                                         <center>
63                                                 <input type="submit" name="ok_button" value="<?_("Save changes")>" />
64                                                 &nbsp;
65                                                 <input type="submit" name="cancel_button" value="<?_("Cancel")>" />
66                                         </center>
67                                 </td>
68                         </tr>
69                 </table>
70                 <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
71         </form>
72 </div>
73 <?!("X", 1)><??("COND:THISROOM:EDIT", 20)><div class="tabcontent"><?_("Higher access is required to access this function.")></div><??("X", 20)>