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