1 | <!-- INCLUDE ucp_header.html -->
|
---|
2 |
|
---|
3 | <h2>{L_TITLE}</h2>
|
---|
4 |
|
---|
5 | <form id="ucp" method="post" action="{S_UCP_ACTION}">
|
---|
6 |
|
---|
7 | <div class="panel">
|
---|
8 | <div class="inner"><span class="corners-top"><span></span></span>
|
---|
9 |
|
---|
10 | <!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF -->
|
---|
11 | <!-- IF NOTIFICATION_MESSAGE --><p class="error">{NOTIFICATION_MESSAGE}</p><!-- ENDIF -->
|
---|
12 |
|
---|
13 | <h3>{L_DEFINED_RULES}</h3>
|
---|
14 |
|
---|
15 | <ol class="def-rules">
|
---|
16 | <!-- BEGIN rule -->
|
---|
17 | <li><div class="right-box"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="button2" /></div><strong>{L_IF}</strong> {rule.CHECK} <em>{rule.RULE}</em> <!-- IF rule.STRING --><strong>{rule.STRING}</strong> | <!-- ENDIF -->{rule.ACTION}<!-- IF rule.FOLDER -->: {rule.FOLDER}<!-- ENDIF --><div style="clear: both;"></div></li>
|
---|
18 | <!-- BEGINELSE -->
|
---|
19 | <li><strong>{L_NO_RULES_DEFINED}</strong></li>
|
---|
20 | <!-- END rule -->
|
---|
21 | </ol>
|
---|
22 |
|
---|
23 | <h3>{L_ADD_NEW_RULE}</h3>
|
---|
24 |
|
---|
25 | <fieldset class="fields2">
|
---|
26 |
|
---|
27 | <!-- IF S_CHECK_DEFINED -->
|
---|
28 | <dl>
|
---|
29 | <dt><label<!-- IF S_CHECK_SELECT --> for="check_option"<!-- ENDIF -->>{L_IF}:</label></dt>
|
---|
30 | <dd>
|
---|
31 | <!-- IF S_CHECK_SELECT --><select name="check_option" id="check_option">{S_CHECK_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE -->{CHECK_CURRENT}<input type="hidden" name="check_option" value="{CHECK_OPTION}" /><!-- ENDIF -->
|
---|
32 | </dd>
|
---|
33 | </dl>
|
---|
34 | <!-- ENDIF -->
|
---|
35 |
|
---|
36 | <!-- IF S_RULE_DEFINED -->
|
---|
37 | <dl>
|
---|
38 | <dt><!-- IF S_RULE_SELECT --><input type="submit" name="back[rule]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
---|
39 | <dd><!-- IF S_RULE_SELECT --><select name="rule_option" id="rule_option">{S_RULE_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE --><em>{RULE_CURRENT}</em><input type="hidden" name="rule_option" value="{RULE_OPTION}" /><!-- ENDIF --></dd>
|
---|
40 | </dl>
|
---|
41 | <!-- ENDIF -->
|
---|
42 |
|
---|
43 | <!-- IF S_COND_DEFINED -->
|
---|
44 | <!-- IF S_COND_SELECT or COND_CURRENT -->
|
---|
45 | <dl>
|
---|
46 | <dt><!-- IF S_COND_SELECT --><input type="submit" name="back[cond]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
---|
47 | <dd>
|
---|
48 | <!-- IF S_COND_SELECT -->
|
---|
49 | <!-- IF S_TEXT_CONDITION -->
|
---|
50 | <input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox medium" maxlength="250" />
|
---|
51 | <!-- ELSEIF S_USER_CONDITION -->
|
---|
52 | <input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox tiny" /> <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span>
|
---|
53 | <!-- ELSEIF S_GROUP_CONDITION -->
|
---|
54 | <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 -->
|
---|
55 | <!-- ENDIF -->
|
---|
56 | <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" />
|
---|
57 | <!-- ELSE -->
|
---|
58 | <strong>{COND_CURRENT}</strong><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}" />
|
---|
59 | <!-- ENDIF -->
|
---|
60 | </dd>
|
---|
61 | </dl>
|
---|
62 | <!-- ENDIF -->
|
---|
63 | <input type="hidden" name="cond_option" value="{COND_OPTION}" />
|
---|
64 | <!-- ENDIF -->
|
---|
65 |
|
---|
66 |
|
---|
67 | <!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF -->
|
---|
68 |
|
---|
69 | <!-- IF S_ACTION_DEFINED -->
|
---|
70 | <dl>
|
---|
71 | <dt><!-- IF S_ACTION_SELECT --><input type="submit" name="back[action]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
---|
72 | <dd><!-- IF S_ACTION_SELECT --> <select name="action_option">{S_ACTION_OPTIONS}</select> <input type="submit" name="add_rule" value="{L_ADD_RULE}" class="button1" /><!-- ELSE -->{ACTION_CURRENT}<input type="hidden" name="action_option" value="{ACTION_OPTION}" /><!-- ENDIF --></dd>
|
---|
73 | </dl>
|
---|
74 | <!-- ENDIF -->
|
---|
75 |
|
---|
76 | </fieldset>
|
---|
77 |
|
---|
78 | <h3>{L_FOLDER_OPTIONS}</h3>
|
---|
79 |
|
---|
80 | <fieldset class="fields2">
|
---|
81 |
|
---|
82 | <!-- IF not S_MAX_FOLDER_ZERO -->
|
---|
83 | <dl>
|
---|
84 | <dt><label for="foldername">{L_ADD_FOLDER}:</label></dt>
|
---|
85 | <dd><!-- IF S_MAX_FOLDER_REACHED -->{L_MAX_FOLDER_REACHED}<!-- ELSE --><input type="text" class="inputbox medium" name="foldername" id="foldername" size="30" maxlength="30" /> <input class="button2" type="submit" name="addfolder" value="{L_ADD}" /><!-- ENDIF --></dd>
|
---|
86 | </dl>
|
---|
87 | <!-- IF S_FOLDER_OPTIONS --><hr class="dashed" /><!-- ENDIF -->
|
---|
88 | <!-- ENDIF -->
|
---|
89 |
|
---|
90 |
|
---|
91 |
|
---|
92 | <!-- IF S_FOLDER_OPTIONS -->
|
---|
93 | <dl>
|
---|
94 | <dt><label for="rename_folder_id">{L_RENAME_FOLDER}:</label></dt>
|
---|
95 | <dd><select name="rename_folder_id" id="rename_folder_id">{S_FOLDER_OPTIONS}</select></dd>
|
---|
96 | <dt><label for="new_folder_name">{L_NEW_FOLDER_NAME}:</label></dt>
|
---|
97 | <dd><input type="text" class="inputbox tiny" name="new_folder_name" id="new_folder_name" maxlength="30" /> <input class="button2" type="submit" name="rename_folder" value="{L_RENAME}" /></dd>
|
---|
98 | </dl>
|
---|
99 | <hr class="dashed" />
|
---|
100 | <dl>
|
---|
101 | <dt><label for="remove_folder_id">{L_REMOVE_FOLDER}:</label></dt>
|
---|
102 | <dd><select name="remove_folder_id" id="remove_folder_id">{S_FOLDER_OPTIONS}</select></dd>
|
---|
103 | <dd style="margin-top: 3px;"><label for="remove_action1"><input type="radio" name="remove_action" id="remove_action1" value="1" checked="checked" /> {L_MOVE_DELETED_MESSAGES_TO}:</label> <select name="move_to">{S_TO_FOLDER_OPTIONS}</select></dd>
|
---|
104 | <dd style="margin-top: 3px;"><label for="remove_action2"><input type="radio" name="remove_action" id="remove_action2" value="2" /> {L_DELETE_MESSAGES_IN_FOLDER}</label></dd>
|
---|
105 | <dd style="margin-top: 3px;"><input class="button2" type="submit" name="remove_folder" value="{L_REMOVE}" /></dd>
|
---|
106 | </dl>
|
---|
107 | <!-- ENDIF -->
|
---|
108 |
|
---|
109 | <hr class="dashed" />
|
---|
110 |
|
---|
111 | <dl>
|
---|
112 | <dt><label for="full_action1">{L_IF_FOLDER_FULL}:</label></dt>
|
---|
113 | <dd style="margin-top: 3px;"><label for="full_action1"><input type="radio" name="full_action" id="full_action1" value="1"{S_DELETE_CHECKED} /> {L_DELETE_OLDEST_MESSAGES}</label></dd>
|
---|
114 | <dd style="margin-top: 3px;"><label for="full_action2"><input type="radio" name="full_action" id="full_action2" value="2"{S_MOVE_CHECKED} /> {L_MOVE_TO_FOLDER}:</label> <select name="full_move_to">{S_FULL_FOLDER_OPTIONS}</select></dd>
|
---|
115 | <dd style="margin-top: 3px;"><label for="full_action3" style="white-space:normal;"><input type="radio" name="full_action" id="full_action3" value="3"{S_HOLD_CHECKED} /> {L_HOLD_NEW_MESSAGES}</label></dd>
|
---|
116 | </dl>
|
---|
117 |
|
---|
118 |
|
---|
119 | <dl>
|
---|
120 | <dt><label>{L_DEFAULT_ACTION}:</label><br /><span>{L_DEFAULT_ACTION_EXPLAIN}</span></dt>
|
---|
121 | <dd>{DEFAULT_ACTION}</dd>
|
---|
122 | <dd><input class="button2" type="submit" name="fullfolder" value="{L_CHANGE}" /></dd>
|
---|
123 | </dl>
|
---|
124 | </fieldset>
|
---|
125 |
|
---|
126 | <span class="corners-bottom"><span></span></span></div>
|
---|
127 | {S_FORM_TOKEN}
|
---|
128 | </div>
|
---|
129 | </form>
|
---|
130 |
|
---|
131 | <!-- INCLUDE ucp_footer.html -->
|
---|