[673] | 1 | |
---|
[689] | 2 | <script src="js/main.js"></script> |
---|
[2] | 3 | <center> |
---|
| 4 | |
---|
[389] | 5 | <table width="65%" border="0" cellspacing="2" cellpadding="2"> |
---|
[2] | 6 | |
---|
[389] | 7 | <form method="POST" action="{save_action}" onSubmit="selectValues()"> |
---|
[2] | 8 | <input type="hidden" name="try_saved" value="false"> |
---|
| 9 | <tr bgcolor="{th_bg}"> |
---|
| 10 | <td colspan="2" align="center">{lang_config_expressoMail}</td> |
---|
| 11 | </tr> |
---|
| 12 | <tr bgcolor="{tr_color1}"> |
---|
[197] | 13 | <td>{lang_max_emails_per_page}</td> |
---|
[2] | 14 | <td align="center"> |
---|
| 15 | <select name="max_emails_per_page"> |
---|
| 16 | <option {option_25_selected} value="25">25</option> |
---|
| 17 | <option {option_50_selected} value="50">50</option> |
---|
| 18 | <option {option_75_selected} value="75">75</option> |
---|
| 19 | <option {option_100_selected} value="100">100</option> |
---|
| 20 | </select> |
---|
| 21 | </td> |
---|
| 22 | </tr> |
---|
| 23 | <tr bgcolor="{tr_color2}"> |
---|
| 24 | <td>{lang_save_deleted_msg}</td> |
---|
| 25 | <td align="center"> |
---|
| 26 | <input type="checkbox" name="save_deleted_msg" value=1 {checked_save_deleted_msg}> |
---|
| 27 | </td> |
---|
| 28 | </tr> |
---|
| 29 | <tr bgcolor="{tr_color1}"> |
---|
| 30 | <td>{lang_delete_trash_messages_after_n_days}</td> |
---|
| 31 | <td align="center"> |
---|
| 32 | <select name="delete_trash_messages_after_n_days"> |
---|
[197] | 33 | <option {delete_trash_messages_option_0_selected} value="0">{lang_none}</option> |
---|
[83] | 34 | <option {delete_trash_messages_option_1_selected} value="1">{one_day}</option> |
---|
| 35 | <option {delete_trash_messages_option_2_selected} value="2">{two_days}</option> |
---|
| 36 | <option {delete_trash_messages_option_3_selected} value="3">{three_days}</option> |
---|
| 37 | <option {delete_trash_messages_option_4_selected} value="4">{four_days}</option> |
---|
| 38 | <option {delete_trash_messages_option_5_selected} value="5">{five_days}</option> |
---|
[2] | 39 | </select> |
---|
| 40 | </td> |
---|
| 41 | </tr> |
---|
[689] | 42 | {open_comment_local_messages_config} |
---|
| 43 | <tr bgcolor="{tr_color2}"> |
---|
| 44 | <td>{lang_Would_you_like_to_use_local_messages_?}</td> |
---|
| 45 | <td align="center"> |
---|
| 46 | <select name="use_local_messages" id="use_local_messages" onchange="disable_field(document.getElementById('keep_archived_messages'),'document.getElementById(\'use_local_messages\').value==\'0\'')"> |
---|
| 47 | <option {use_local_messages_option_No_selected} value="0">{lang_No}</option> |
---|
| 48 | <option {use_local_messages_option_Yes_selected} value="1">{lang_Yes}</option> |
---|
| 49 | </select> |
---|
| 50 | </td> |
---|
| 51 | </tr> |
---|
| 52 | <tr bgcolor="{tr_color1}"> |
---|
| 53 | <td>{lang_Would_you_like_to_keep_archived_messages_?}</td> |
---|
| 54 | <td align="center"> |
---|
| 55 | <select name="keep_archived_messages" id="keep_archived_messages"> |
---|
| 56 | <option {keep_archived_messages_option_No_selected} value="0">{lang_No}</option> |
---|
| 57 | <option {keep_archived_messages_option_Yes_selected} value="1">{lang_Yes}</option> |
---|
| 58 | </select> |
---|
| 59 | </td> |
---|
| 60 | </tr> |
---|
| 61 | {close_comment_local_messages_config} |
---|
[2] | 62 | <tr bgcolor="{tr_color2}"> |
---|
| 63 | <td>{lang_delete_and_show_previous_message}</td> |
---|
| 64 | <td align="center"> |
---|
| 65 | <input type="checkbox" name="delete_and_show_previous_message" value=1 {checked_delete_and_show_previous_message}> |
---|
| 66 | </td> |
---|
| 67 | </tr> |
---|
| 68 | <tr bgcolor="{tr_color1}"> |
---|
| 69 | <td>{lang_alert_new_msg}</td> |
---|
| 70 | <td align="center"> |
---|
| 71 | <input type="checkbox" name="alert_new_msg" value=1 {checked_alert_new_msg}> |
---|
| 72 | </td> |
---|
| 73 | </tr> |
---|
| 74 | <tr bgcolor="{tr_color2}"> |
---|
[197] | 75 | <td>{lang_hook_home}</td> |
---|
[2] | 76 | <td align="center"> |
---|
| 77 | <input type="checkbox" name="mainscreen_showmail" value=1 {checked_mainscreen_showmail}> |
---|
| 78 | </td> |
---|
| 79 | </tr> |
---|
| 80 | <tr bgcolor="{tr_color1}"> |
---|
| 81 | <td>{lang_save_in_folder}</td> |
---|
[325] | 82 | <td align="center"> |
---|
[2] | 83 | <select name="save_in_folder">{value_save_in_folder}</select> |
---|
| 84 | </td> |
---|
| 85 | </tr> |
---|
| 86 | <tr bgcolor="{tr_color2}"> |
---|
[197] | 87 | <td>{lang_hide_menu}</td> |
---|
[325] | 88 | <td align="center"> |
---|
[2] | 89 | <input type="checkbox" name="check_menu" value=1 {checked_menu}> |
---|
| 90 | </td> |
---|
| 91 | </tr> |
---|
| 92 | <tr bgcolor="{tr_color1}"> |
---|
| 93 | <td>{lang_line_height}</td> |
---|
| 94 | <td align="center"> |
---|
[325] | 95 | <select name="line_height"> |
---|
[83] | 96 | <option {line_height_option_20_selected} value="20">{normal}</option> |
---|
| 97 | <option {line_height_option_30_selected} value="30">{medium}</option> |
---|
[325] | 98 | <option {line_height_option_40_selected} value="40">{big}</option> |
---|
[2] | 99 | </select> |
---|
| 100 | </td> |
---|
| 101 | </tr> |
---|
| 102 | <tr bgcolor="{tr_color2}"> |
---|
| 103 | <td>{lang_font_size}</td> |
---|
| 104 | <td align="center"> |
---|
| 105 | <select name="font_size"> |
---|
[83] | 106 | <option {font_size_option_10_selected} value="10">{small}</option> |
---|
| 107 | <option {font_size_option_11_selected} value="11">{normal}</option> |
---|
[325] | 108 | <option {font_size_option_15_selected} value="15">{big}</option> |
---|
[2] | 109 | </select> |
---|
| 110 | </td> |
---|
| 111 | </tr> |
---|
| 112 | <tr bgcolor="{tr_color1}"> |
---|
[413] | 113 | <td>{lang_use_dynamic_contacts}</td> |
---|
| 114 | <td align="center"> |
---|
| 115 | <input type="checkbox" name="use_dynamic_contacts" value=1 {checked_dynamic_contacts}> |
---|
| 116 | </td> |
---|
| 117 | </tr> |
---|
| 118 | <tr bgcolor="{tr_color2}"> |
---|
[127] | 119 | <td> |
---|
[197] | 120 | {lang_use_shortcuts} |
---|
[127] | 121 | </td> |
---|
| 122 | <td align="center"> |
---|
| 123 | <input type="checkbox" name="use_shortcuts" value=1 {checked_shortcuts}> |
---|
| 124 | </td> |
---|
| 125 | </tr> |
---|
[325] | 126 | |
---|
[413] | 127 | <tr bgcolor="{tr_color1}"> |
---|
[271] | 128 | <td> |
---|
| 129 | {lang_auto_save_draft} |
---|
| 130 | </td> |
---|
| 131 | <td align="center"> |
---|
| 132 | <input type="checkbox" name="auto_save_draft" value=1 {checked_auto_save_draft}> |
---|
| 133 | </td> |
---|
| 134 | </tr> |
---|
[389] | 135 | <tr bgcolor="{th_bg}"> |
---|
| 136 | <td colspan="2" align="center">{lang_config_signature}</td> |
---|
| 137 | </tr> |
---|
[325] | 138 | <tr bgcolor="{tr_color1}"> |
---|
[320] | 139 | <td> |
---|
[325] | 140 | {lang_use_signature} |
---|
[320] | 141 | </td> |
---|
| 142 | <td align="center"> |
---|
[325] | 143 | <input type="checkbox" name="use_signature" value=1 {checked_use_signature}> |
---|
[320] | 144 | </td> |
---|
| 145 | </tr> |
---|
[127] | 146 | <tr bgcolor="{tr_color2}"> |
---|
[389] | 147 | <td valign="center"> |
---|
| 148 | {lang_type_signature} |
---|
[2] | 149 | </td> |
---|
[389] | 150 | <td align="center"> |
---|
| 151 | <select id="type_signature" name="type_signature" onChange="javascript:changeTypeSignature(this.value)"> |
---|
| 152 | <option {type_signature_option_text_selected} value="text">{simple_text}</option> |
---|
| 153 | <option {type_signature_option_html_selected} value="html">{html_text}</option> |
---|
| 154 | </select> |
---|
| 155 | </td> |
---|
[2] | 156 | </tr> |
---|
[389] | 157 | <tr bgcolor="{tr_color2}"> |
---|
| 158 | <td colspan='2' valign="center" id="td_html_signature" style="{type_signature_td_html}"> |
---|
| 159 | {rtf_signature} |
---|
| 160 | </td> |
---|
| 161 | </tr> |
---|
| 162 | <tr bgcolor="{tr_color2}"> |
---|
| 163 | <td colspan='2' align="center" id="td_text_signature" style="{type_signature_td_text}"> |
---|
| 164 | <textarea name='text_signature' rows='4' cols='70'>{text_signature}</textarea> |
---|
| 165 | </td> |
---|
| 166 | </tr> |
---|
[2] | 167 | <tr bgcolor="{th_bg}"> |
---|
| 168 | <td colspan="2" > |
---|
| 169 | <table width="100%" border="0" cellspacing="2" cellpadding="2"> |
---|
| 170 | <tr> |
---|
| 171 | <td align="left"> |
---|
[39] | 172 | <input type="button" name="cancel" value="{lang_cancel}" onClick="javascript:document.location.href = '../expressoMail1_2/index.php'"> |
---|
[2] | 173 | </td> |
---|
| 174 | <td align="right"> |
---|
| 175 | <input type="submit" name="submit" value="{lang_save}" onClick="try_saved.value='true';"> |
---|
[325] | 176 | </td> |
---|
[2] | 177 | </tr> |
---|
[325] | 178 | </td> |
---|
[2] | 179 | </tr> |
---|
| 180 | |
---|
| 181 | </table> |
---|
[389] | 182 | </center> |
---|
| 183 | <script language="JavaScript" type="text/javascript"> |
---|
[689] | 184 | disable_field(document.getElementById('keep_archived_messages'),'document.getElementById(\'use_local_messages\').value==\'0\'') |
---|
[389] | 185 | var form = document.forms[0]; |
---|
| 186 | |
---|
| 187 | function selectValues(){ |
---|
| 188 | var signature = eval("form."+form.type_signature.value+"_signature"); |
---|
| 189 | signature.name = "signature"; |
---|
| 190 | return true; |
---|
| 191 | } |
---|
| 192 | |
---|
| 193 | function changeTypeSignature(value){ |
---|
| 194 | var html_signature = FCKeditorAPI.GetInstance("html_signature"); |
---|
| 195 | |
---|
| 196 | if(value == 'text'){ |
---|
| 197 | form.text_signature.value = html_signature.GetHTML(); |
---|
| 198 | document.getElementById("td_text_signature").style.display = ''; |
---|
| 199 | document.getElementById("td_html_signature").style.display = 'none'; |
---|
| 200 | } |
---|
| 201 | else if(value == 'html'){ |
---|
| 202 | html_signature.SetHTML(form.text_signature.value); |
---|
| 203 | document.getElementById("td_text_signature").style.display = 'none'; |
---|
| 204 | document.getElementById("td_html_signature").style.display = ''; |
---|
| 205 | } |
---|
| 206 | |
---|
| 207 | } |
---|
[689] | 208 | </script> |
---|