|
1 <!-- INCLUDE ucp_header.html --> |
|
2 |
|
3 <!-- IF ERROR_MESSAGE or NOTIFICATION_MESSAGE --> |
|
4 <table border="0" cellspacing="0" cellpadding="0" width="100%"> |
|
5 <tr> |
|
6 <td class="row3" align="center"> |
|
7 <!-- IF ERROR_MESSAGE --><span class="genmed error">{ERROR_MESSAGE}</span><!-- ENDIF --> |
|
8 <!-- IF NOTIFICATION_MESSAGE --><span class="genmed error">{NOTIFICATION_MESSAGE}</span><!-- ENDIF --> |
|
9 </td> |
|
10 </tr> |
|
11 </table> |
|
12 <div style="padding: 2px;"></div> |
|
13 <!-- ENDIF --> |
|
14 |
|
15 <form name="ucp" method="post" action="{S_UCP_ACTION}"> |
|
16 |
|
17 <table class="tablebg" width="100%" cellspacing="1"> |
|
18 <tr> |
|
19 <th colspan="3">{L_ADD_NEW_RULE}</th> |
|
20 </tr> |
|
21 <!-- IF S_CHECK_DEFINED --> |
|
22 <tr> |
|
23 <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><b class="gen">{L_IF}:</b></td> |
|
24 <td class="row2" align="center" valign="top"><!-- IF S_CHECK_SELECT --><select name="check_option">{S_CHECK_OPTIONS}</select><!-- ELSE --><b class="gen">{CHECK_CURRENT}</b><input type="hidden" name="check_option" value="{CHECK_OPTION}" /><!-- ENDIF --></td> |
|
25 <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_CHECK_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
26 </tr> |
|
27 <!-- ENDIF --> |
|
28 <!-- IF S_RULE_DEFINED --> |
|
29 <tr> |
|
30 <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_RULE_SELECT --><input type="submit" name="back[rule]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
31 <td class="row2" align="center" valign="top"><!-- IF S_RULE_SELECT --><select name="rule_option">{S_RULE_OPTIONS}</select><!-- ELSE --><b class="gen">{RULE_CURRENT}</b><input type="hidden" name="rule_option" value="{RULE_OPTION}" /><!-- ENDIF --></td> |
|
32 <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_RULE_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
33 </tr> |
|
34 <!-- ENDIF --> |
|
35 |
|
36 <!-- IF S_COND_DEFINED --> |
|
37 <!-- IF S_COND_SELECT or COND_CURRENT --> |
|
38 <tr> |
|
39 <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_COND_SELECT --><input type="submit" name="back[cond]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
40 <td class="row2" align="center" valign="top"> |
|
41 <!-- IF S_COND_SELECT --> |
|
42 <!-- IF S_TEXT_CONDITION --> |
|
43 <input type="text" name="rule_string" value="{CURRENT_STRING}" size="30" maxlength="250" class="post" /> |
|
44 <!-- ELSEIF S_USER_CONDITION --> |
|
45 <input type="text" class="post" name="rule_string" value="{CURRENT_STRING}" size="20" /> <span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span> |
|
46 <!-- ELSEIF S_GROUP_CONDITION --> |
|
47 <input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><!-- IF S_GROUP_OPTIONS --><select name="rule_group_id">{S_GROUP_OPTIONS}</select><!-- ELSE -->{L_NO_GROUPS}<!-- ENDIF --> |
|
48 <!-- ENDIF --> |
|
49 <!-- ELSE --> |
|
50 <b class="gen">{COND_CURRENT}</b> |
|
51 <input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><input type="hidden" name="rule_user_id" value="{CURRENT_USER_ID}" /><input type="hidden" name="rule_group_id" value="{CURRENT_GROUP_ID}" /> |
|
52 <!-- ENDIF --> |
|
53 </td> |
|
54 <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_COND_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
55 </tr> |
|
56 <!-- ENDIF --> |
|
57 <input type="hidden" name="cond_option" value="{COND_OPTION}" /> |
|
58 <!-- ENDIF --> |
|
59 |
|
60 <!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF --> |
|
61 |
|
62 <!-- IF S_ACTION_DEFINED --> |
|
63 <tr> |
|
64 <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_ACTION_SELECT --><input type="submit" name="back[action]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
65 <td class="row2" align="center" valign="top"><!-- IF S_ACTION_SELECT --><select name="action_option">{S_ACTION_OPTIONS}</select><!-- ELSE --><b class="gen">{ACTION_CURRENT}</b><input type="hidden" name="action_option" value="{ACTION_OPTION}" /><!-- ENDIF --></td> |
|
66 <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_ACTION_SELECT --><input type="submit" name="add_rule" value="{L_ADD_RULE}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> |
|
67 </tr> |
|
68 <!-- ENDIF --> |
|
69 </table> |
|
70 |
|
71 <div style="padding: 2px;"></div> |
|
72 |
|
73 <table class="tablebg" width="100%" cellspacing="1"> |
|
74 <tr> |
|
75 <th colspan="6">{L_DEFINED_RULES}</th> |
|
76 </tr> |
|
77 <!-- BEGIN rule --> |
|
78 <tr> |
|
79 <td class="row1" width="25" align="center"><span class="gen">#{rule.COUNT}</span></td> |
|
80 <td class="row2" width="120"><span class="gen"><strong>{L_IF}</strong> {rule.CHECK}</span></td> |
|
81 <td class="row1" width="120"><span class="gen">{rule.RULE}</span></td> |
|
82 <td class="row2" width="120"><span class="gen"><!-- IF rule.STRING -->{rule.STRING}<!-- ENDIF --></span></td> |
|
83 <td class="row1"><span class="gen">{rule.ACTION}<!-- IF rule.FOLDER --> -> {rule.FOLDER}<!-- ENDIF --></span></td> |
|
84 <td class="row2" width="25"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="btnlite" /></td> |
|
85 </tr> |
|
86 <!-- BEGINELSE --> |
|
87 <tr> |
|
88 <td colspan="6" class="row3" align="center"><span class="gen">{L_NO_RULES_DEFINED}</span></td> |
|
89 </tr> |
|
90 <!-- END rule --> |
|
91 </table> |
|
92 |
|
93 <div style="padding: 2px;"></div> |
|
94 |
|
95 <!-- IF S_FOLDER_OPTIONS --> |
|
96 <table class="tablebg" width="100%" cellspacing="1"> |
|
97 <tr> |
|
98 <th colspan="2">{L_RENAME_FOLDER}</th> |
|
99 </tr> |
|
100 <tr> |
|
101 <td class="row1" width="200"><b class="gen">{L_RENAME_FOLDER}: </b></td> |
|
102 <td class="row1"><select name="rename_folder_id">{S_FOLDER_OPTIONS}</select></td> |
|
103 </tr> |
|
104 <tr> |
|
105 <td class="row1" width="200"><b class="gen">{L_NEW_FOLDER_NAME}: </b></td> |
|
106 <td class="row1"><input type="text" class="post" name="new_folder_name" size="30" maxlength="30" /></td> |
|
107 </tr> |
|
108 <tr> |
|
109 <td class="row1" align="{S_CONTENT_FLOW_END}" colspan="2"><input class="btnlite" style="width:150px" type="submit" name="rename_folder" value="{L_RENAME}" /></td> |
|
110 </tr> |
|
111 </table> |
|
112 |
|
113 <div style="padding: 2px;"></div> |
|
114 <!-- ENDIF --> |
|
115 |
|
116 <!-- IF not S_MAX_FOLDER_ZERO --> |
|
117 <table class="tablebg" width="100%" cellspacing="1"> |
|
118 <tr> |
|
119 <th colspan="2">{L_ADD_FOLDER}</th> |
|
120 </tr> |
|
121 <!-- IF S_MAX_FOLDER_REACHED --> |
|
122 <tr> |
|
123 <td colspan="2">{L_MAX_FOLDER_REACHED}</td> |
|
124 </tr> |
|
125 <!-- ELSE --> |
|
126 <tr> |
|
127 <td class="row1" width="200"><b class="gen">{L_ADD_FOLDER}: </b></td> |
|
128 <td class="row1"><input type="text" class="post" name="foldername" size="30" maxlength="30" /></td> |
|
129 </tr> |
|
130 <tr> |
|
131 <td class="row1" align="{S_CONTENT_FLOW_END}" colspan="2"><input class="btnlite" style="width:150px" type="submit" name="addfolder" value="{L_ADD}" /></td> |
|
132 </tr> |
|
133 <!-- ENDIF --> |
|
134 </table> |
|
135 <!-- ENDIF --> |
|
136 |
|
137 <div style="padding: 2px;"></div> |
|
138 |
|
139 <!-- IF S_FOLDER_OPTIONS --> |
|
140 <table class="tablebg" width="100%" cellspacing="1"> |
|
141 <tr> |
|
142 <th colspan="3">{L_REMOVE_FOLDER}</th> |
|
143 </tr> |
|
144 <tr> |
|
145 <td class="row1" width="200"><b class="gen">{L_REMOVE_FOLDER}: </b></td> |
|
146 <td class="row1"><select name="remove_folder_id">{S_FOLDER_OPTIONS}</select></td> |
|
147 <td class="row1"><b class="genmed">{L_AND}</b></td> |
|
148 </tr> |
|
149 <tr> |
|
150 <td class="row2" width="200"> </td> |
|
151 <td class="row2" colspan="2"><input type="radio" class="radio" name="remove_action" value="1" checked="checked" /> <span class="genmed">{L_MOVE_DELETED_MESSAGES_TO} </span> <select name="move_to">{S_TO_FOLDER_OPTIONS}</select></td> |
|
152 </tr> |
|
153 <tr> |
|
154 <td class="row2" width="200"> </td> |
|
155 <td class="row2" colspan="2"><input type="radio" class="radio" name="remove_action" value="2" /> <span class="genmed">{L_DELETE_MESSAGES_IN_FOLDER}</span></td> |
|
156 </tr> |
|
157 <tr> |
|
158 <td class="row2" width="200"> </td> |
|
159 <td class="row2" colspan="2" align="{S_CONTENT_FLOW_END}"><input class="btnlite" style="width:150px" type="submit" name="remove_folder" value="{L_REMOVE}" /></td> |
|
160 </tr> |
|
161 </table> |
|
162 |
|
163 <div style="padding: 2px;"></div> |
|
164 <!-- ENDIF --> |
|
165 |
|
166 <table class="tablebg" width="100%" cellspacing="1"> |
|
167 <tr> |
|
168 <th colspan="2">{L_FOLDER_OPTIONS}</th> |
|
169 </tr> |
|
170 <tr> |
|
171 <td class="row1" width="200"><span><b class="genmed">{L_IF_FOLDER_FULL}: </b></span></td> |
|
172 <td class="row1"><input type="radio" class="radio" name="full_action" value="1"{S_DELETE_CHECKED} /> <span class="genmed">{L_DELETE_OLDEST_MESSAGES}</span></td> |
|
173 </tr> |
|
174 <tr> |
|
175 <td class="row1" width="200"> </td> |
|
176 <td class="row1"><input type="radio" class="radio" name="full_action" value="2"{S_MOVE_CHECKED} /> <span class="genmed">{L_MOVE_TO_FOLDER}: </span><select name="full_move_to">{S_FULL_FOLDER_OPTIONS}</select></td> |
|
177 </tr> |
|
178 <tr> |
|
179 <td class="row1" width="200"> </td> |
|
180 <td class="row1"><input type="radio" class="radio" name="full_action" value="3"{S_HOLD_CHECKED} /> <span class="genmed">{L_HOLD_NEW_MESSAGES}</span></td> |
|
181 </tr> |
|
182 <tr> |
|
183 <td class="row2" width="200"><b class="genmed">{L_DEFAULT_ACTION}: </b><br /><span class="gensmall">{L_DEFAULT_ACTION_EXPLAIN}</span></td> |
|
184 <td class="row2"><span class="genmed">{DEFAULT_ACTION}</span></td> |
|
185 </tr> |
|
186 <tr> |
|
187 <td class="row1" colspan="2" align="{S_CONTENT_FLOW_END}"><input class="btnlite" style="width:150px" type="submit" name="fullfolder" value="{L_CHANGE}" /></td> |
|
188 </tr> |
|
189 </table> |
|
190 {S_FORM_TOKEN} |
|
191 </form> |
|
192 <!-- INCLUDE ucp_footer.html --> |