1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/styles/subsilver2/template/ucp_pm_options.html Wed Mar 07 16:41:10 2012 +0400
1.3 @@ -0,0 +1,192 @@
1.4 +<!-- INCLUDE ucp_header.html -->
1.5 +
1.6 +<!-- IF ERROR_MESSAGE or NOTIFICATION_MESSAGE -->
1.7 + <table border="0" cellspacing="0" cellpadding="0" width="100%">
1.8 + <tr>
1.9 + <td class="row3" align="center">
1.10 + <!-- IF ERROR_MESSAGE --><span class="genmed error">{ERROR_MESSAGE}</span><!-- ENDIF -->
1.11 + <!-- IF NOTIFICATION_MESSAGE --><span class="genmed error">{NOTIFICATION_MESSAGE}</span><!-- ENDIF -->
1.12 + </td>
1.13 + </tr>
1.14 + </table>
1.15 + <div style="padding: 2px;"></div>
1.16 +<!-- ENDIF -->
1.17 +
1.18 +<form name="ucp" method="post" action="{S_UCP_ACTION}">
1.19 +
1.20 +<table class="tablebg" width="100%" cellspacing="1">
1.21 +<tr>
1.22 + <th colspan="3">{L_ADD_NEW_RULE}</th>
1.23 +</tr>
1.24 +<!-- IF S_CHECK_DEFINED -->
1.25 + <tr>
1.26 + <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><b class="gen">{L_IF}:</b></td>
1.27 + <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>
1.28 + <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>
1.29 + </tr>
1.30 +<!-- ENDIF -->
1.31 +<!-- IF S_RULE_DEFINED -->
1.32 + <tr>
1.33 + <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>
1.34 + <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>
1.35 + <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>
1.36 + </tr>
1.37 +<!-- ENDIF -->
1.38 +
1.39 +<!-- IF S_COND_DEFINED -->
1.40 + <!-- IF S_COND_SELECT or COND_CURRENT -->
1.41 + <tr>
1.42 + <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>
1.43 + <td class="row2" align="center" valign="top">
1.44 + <!-- IF S_COND_SELECT -->
1.45 + <!-- IF S_TEXT_CONDITION -->
1.46 + <input type="text" name="rule_string" value="{CURRENT_STRING}" size="30" maxlength="250" class="post" />
1.47 + <!-- ELSEIF S_USER_CONDITION -->
1.48 + <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>
1.49 + <!-- ELSEIF S_GROUP_CONDITION -->
1.50 + <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 -->
1.51 + <!-- ENDIF -->
1.52 + <!-- ELSE -->
1.53 + <b class="gen">{COND_CURRENT}</b>
1.54 + <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}" />
1.55 + <!-- ENDIF -->
1.56 + </td>
1.57 + <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>
1.58 + </tr>
1.59 + <!-- ENDIF -->
1.60 + <input type="hidden" name="cond_option" value="{COND_OPTION}" />
1.61 +<!-- ENDIF -->
1.62 +
1.63 +<!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF -->
1.64 +
1.65 +<!-- IF S_ACTION_DEFINED -->
1.66 + <tr>
1.67 + <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>
1.68 + <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>
1.69 + <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>
1.70 + </tr>
1.71 +<!-- ENDIF -->
1.72 +</table>
1.73 +
1.74 +<div style="padding: 2px;"></div>
1.75 +
1.76 +<table class="tablebg" width="100%" cellspacing="1">
1.77 +<tr>
1.78 + <th colspan="6">{L_DEFINED_RULES}</th>
1.79 +</tr>
1.80 +<!-- BEGIN rule -->
1.81 + <tr>
1.82 + <td class="row1" width="25" align="center"><span class="gen">#{rule.COUNT}</span></td>
1.83 + <td class="row2" width="120"><span class="gen"><strong>{L_IF}</strong> {rule.CHECK}</span></td>
1.84 + <td class="row1" width="120"><span class="gen">{rule.RULE}</span></td>
1.85 + <td class="row2" width="120"><span class="gen"><!-- IF rule.STRING -->{rule.STRING}<!-- ENDIF --></span></td>
1.86 + <td class="row1"><span class="gen">{rule.ACTION}<!-- IF rule.FOLDER --> -> {rule.FOLDER}<!-- ENDIF --></span></td>
1.87 + <td class="row2" width="25"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="btnlite" /></td>
1.88 + </tr>
1.89 +<!-- BEGINELSE -->
1.90 + <tr>
1.91 + <td colspan="6" class="row3" align="center"><span class="gen">{L_NO_RULES_DEFINED}</span></td>
1.92 + </tr>
1.93 +<!-- END rule -->
1.94 +</table>
1.95 +
1.96 +<div style="padding: 2px;"></div>
1.97 +
1.98 +<!-- IF S_FOLDER_OPTIONS -->
1.99 + <table class="tablebg" width="100%" cellspacing="1">
1.100 + <tr>
1.101 + <th colspan="2">{L_RENAME_FOLDER}</th>
1.102 + </tr>
1.103 + <tr>
1.104 + <td class="row1" width="200"><b class="gen">{L_RENAME_FOLDER}: </b></td>
1.105 + <td class="row1"><select name="rename_folder_id">{S_FOLDER_OPTIONS}</select></td>
1.106 + </tr>
1.107 + <tr>
1.108 + <td class="row1" width="200"><b class="gen">{L_NEW_FOLDER_NAME}: </b></td>
1.109 + <td class="row1"><input type="text" class="post" name="new_folder_name" size="30" maxlength="30" /></td>
1.110 + </tr>
1.111 + <tr>
1.112 + <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>
1.113 + </tr>
1.114 + </table>
1.115 +
1.116 + <div style="padding: 2px;"></div>
1.117 +<!-- ENDIF -->
1.118 +
1.119 +<!-- IF not S_MAX_FOLDER_ZERO -->
1.120 +<table class="tablebg" width="100%" cellspacing="1">
1.121 +<tr>
1.122 + <th colspan="2">{L_ADD_FOLDER}</th>
1.123 +</tr>
1.124 +<!-- IF S_MAX_FOLDER_REACHED -->
1.125 + <tr>
1.126 + <td colspan="2">{L_MAX_FOLDER_REACHED}</td>
1.127 + </tr>
1.128 +<!-- ELSE -->
1.129 + <tr>
1.130 + <td class="row1" width="200"><b class="gen">{L_ADD_FOLDER}: </b></td>
1.131 + <td class="row1"><input type="text" class="post" name="foldername" size="30" maxlength="30" /></td>
1.132 + </tr>
1.133 + <tr>
1.134 + <td class="row1" align="{S_CONTENT_FLOW_END}" colspan="2"><input class="btnlite" style="width:150px" type="submit" name="addfolder" value="{L_ADD}" /></td>
1.135 + </tr>
1.136 +<!-- ENDIF -->
1.137 +</table>
1.138 +<!-- ENDIF -->
1.139 +
1.140 +<div style="padding: 2px;"></div>
1.141 +
1.142 +<!-- IF S_FOLDER_OPTIONS -->
1.143 + <table class="tablebg" width="100%" cellspacing="1">
1.144 + <tr>
1.145 + <th colspan="3">{L_REMOVE_FOLDER}</th>
1.146 + </tr>
1.147 + <tr>
1.148 + <td class="row1" width="200"><b class="gen">{L_REMOVE_FOLDER}: </b></td>
1.149 + <td class="row1"><select name="remove_folder_id">{S_FOLDER_OPTIONS}</select></td>
1.150 + <td class="row1"><b class="genmed">{L_AND}</b></td>
1.151 + </tr>
1.152 + <tr>
1.153 + <td class="row2" width="200"> </td>
1.154 + <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>
1.155 + </tr>
1.156 + <tr>
1.157 + <td class="row2" width="200"> </td>
1.158 + <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>
1.159 + </tr>
1.160 + <tr>
1.161 + <td class="row2" width="200"> </td>
1.162 + <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>
1.163 + </tr>
1.164 + </table>
1.165 +
1.166 + <div style="padding: 2px;"></div>
1.167 +<!-- ENDIF -->
1.168 +
1.169 +<table class="tablebg" width="100%" cellspacing="1">
1.170 +<tr>
1.171 + <th colspan="2">{L_FOLDER_OPTIONS}</th>
1.172 +</tr>
1.173 +<tr>
1.174 + <td class="row1" width="200"><span><b class="genmed">{L_IF_FOLDER_FULL}: </b></span></td>
1.175 + <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>
1.176 +</tr>
1.177 +<tr>
1.178 + <td class="row1" width="200"> </td>
1.179 + <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>
1.180 +</tr>
1.181 +<tr>
1.182 + <td class="row1" width="200"> </td>
1.183 + <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>
1.184 +</tr>
1.185 +<tr>
1.186 + <td class="row2" width="200"><b class="genmed">{L_DEFAULT_ACTION}: </b><br /><span class="gensmall">{L_DEFAULT_ACTION_EXPLAIN}</span></td>
1.187 + <td class="row2"><span class="genmed">{DEFAULT_ACTION}</span></td>
1.188 +</tr>
1.189 +<tr>
1.190 + <td class="row1" colspan="2" align="{S_CONTENT_FLOW_END}"><input class="btnlite" style="width:150px" type="submit" name="fullfolder" value="{L_CHANGE}" /></td>
1.191 +</tr>
1.192 +</table>
1.193 +{S_FORM_TOKEN}
1.194 +</form>
1.195 +<!-- INCLUDE ucp_footer.html -->