Changeset 1035 for trunk/expressoMail1_2/preferences.php
- Timestamp:
- 06/20/09 01:07:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/preferences.php
r689 r1035 77 77 else 78 78 $GLOBALS['phpgw']->template->set_var('checked_auto_save_draft',''); 79 80 81 if($GLOBALS['phpgw_info']['server']['use_assinar_criptografar']) 82 { 83 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_digital_cripto']) 84 { 85 $GLOBALS['phpgw']->template->set_var('checked_use_signature_digital_cripto','checked'); 86 $GLOBALS['phpgw']->template->set_var('display_digital',''); 87 $GLOBALS['phpgw']->template->set_var('display_cripto',''); 88 } 89 else 90 { 91 $GLOBALS['phpgw']->template->set_var('checked_use_signature_digital',''); 92 $GLOBALS['phpgw']->template->set_var('display_digital','style="display: none;"'); 93 $GLOBALS['phpgw']->template->set_var('display_cripto','style="display: none;"'); 94 } 95 96 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_digital']) 97 $GLOBALS['phpgw']->template->set_var('checked_use_signature_digital','checked'); 98 else 99 $GLOBALS['phpgw']->template->set_var('checked_use_signature_digital',''); 100 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_cripto']) 101 $GLOBALS['phpgw']->template->set_var('checked_use_signature_cripto','checked'); 102 else 103 $GLOBALS['phpgw']->template->set_var('checked_use_signature_cripto',''); 104 } 105 else 106 { 107 $GLOBALS['phpgw']->template->set_var('display_digital','style="display: none;"'); 108 $GLOBALS['phpgw']->template->set_var('display_cripto','style="display: none;"'); 109 $GLOBALS['phpgw']->template->set_var('display_digital_cripto','style="display: none;"'); 110 } 111 79 112 80 113 // Insert new expressoMail preference use_signature: defines if the signature will be automatically inserted … … 223 256 $GLOBALS['phpgw']->preferences->add('expressoMail','auto_save_draft',$_POST['auto_save_draft']); 224 257 258 if($GLOBALS['phpgw_info']['server']['use_assinar_criptografar']) 259 { 260 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_digital_cripto']) 261 $GLOBALS['phpgw']->preferences->change('expressoMail','use_signature_digital_cripto',$_POST['use_signature_digital_cripto']); 262 else 263 $GLOBALS['phpgw']->preferences->add('expressoMail','use_signature_digital_cripto',$_POST['use_signature_digital_cripto']); 264 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_digital']) 265 $GLOBALS['phpgw']->preferences->change('expressoMail','use_signature_digital',$_POST['use_signature_digital']); 266 else 267 $GLOBALS['phpgw']->preferences->add('expressoMail','use_signature_digital',$_POST['use_signature_digital']); 268 if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_signature_cripto']) 269 $GLOBALS['phpgw']->preferences->change('expressoMail','use_signature_cripto',$_POST['use_signature_cripto']); 270 else 271 $GLOBALS['phpgw']->preferences->add('expressoMail','use_signature_cripto',$_POST['use_signature_cripto']); 272 } 225 273 // Insert new expressoMail preference use_signature: defines if the signature will be automatically inserted 226 274 // at the e-mail body … … 312 360 $GLOBALS['phpgw']->template->set_var('lang_type_signature',lang('Signature type')); 313 361 $GLOBALS['phpgw']->template->set_var('big',lang('Big')); 362 //$GLOBALS['phpgw']->template->set_var('lang_use_signature_digital_cripto',lang('Possibilitar <b>assinar/criptografar</b> digitalmente a mensagem?')); 363 $GLOBALS['phpgw']->template->set_var('lang_use_signature_digital_cripto',lang('Enable digitally sign/cipher the message?')); 364 $GLOBALS['phpgw']->template->set_var('lang_use_signature_digital',lang('Always sign message digitally?')); 365 $GLOBALS['phpgw']->template->set_var('lang_use_signature_cripto',lang('Always cipher message digitally?')); 366 $GLOBALS['phpgw']->template->set_var('lang_use_signature',lang('Insert signature automatically in new messages?')); 367 $GLOBALS['phpgw']->template->set_var('lang_signature',lang('Signature')); 314 368 $GLOBALS['phpgw']->template->set_var('lang_Would_you_like_to_keep_archived_messages_?',lang('Would you like to keep archived messages?')); 315 369 $GLOBALS['phpgw']->template->set_var('lang_Yes',lang('Yes')); 316 370 $GLOBALS['phpgw']->template->set_var('lang_No',lang('No')); 317 371 $GLOBALS['phpgw']->template->set_var('lang_Would_you_like_to_use_local_messages_?',lang('Would you like to use local messages?')); 318 $GLOBALS['phpgw']->template->set_var('lang_use_signature',lang('Insert signature automatically in new messages?'));319 372 320 373 $boemailadmin = CreateObject('emailadmin.bo');
Note: See TracChangeset
for help on using the changeset viewer.