Changeset 4885 for trunk/expressoMail1_2
- Timestamp:
- 08/02/11 09:41:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/hook_settings.inc.php
r4828 r4885 20 20 \**************************************************************************/ 21 21 22 $type = isset($_GET['type']) ? $_GET['type']:$GLOBALS['type']; // FIX ME 22 $type = isset($_GET['type']) ? $_GET['type']:$GLOBALS['type']; // FIX ME 23 23 24 24 //if ($type == 'user' || $type == ''){ … … 380 380 create_check_box('Hide menu folders?','hide_folders','You can use it if your screen does not have good resolution'); 381 381 382 $default = array( 383 '1' => lang('unlimited'), 384 '2' => '2', 385 '3' => '3', 386 '4' => '4', 387 '5' => '5' 388 ); 389 390 create_select_box('What is the minimum number of characters in searching contacts?','search_characters_number',$default,'what is the minimum number of characters in searching contacts'); 391 382 392 $default = array( 383 393 '20' => lang('normal'), … … 390 400 create_check_box('Use shortcuts?','use_shortcuts',''); 391 401 create_check_box('Auto save draft','auto_save_draft','When you are away from computer it saves automatically the message you are writing'); 392 $default = array(402 $default = array( 393 403 '65536' => lang('unlimited'), 394 404 '640' => '640', … … 445 455 </div> 446 456 447 <script language='javascript'>448 457 <script language='javascript'> 458 449 459 $(document).ready(function(){ 450 460 451 461 loadSignature(); 452 462 453 463 }); 454 464 455 465 function changeType(value, target){ 456 466 457 467 tinyMCE.execCommand( 'mceToggleEditor', false, 'user_signature' + target ); 458 468 } 459 469 460 470 // var counter = 0; … … 464 474 var sig = document.getElementById('_signature').cloneNode( true ); 465 475 var counter = document.getElementById( 'counter' ).value; 466 476 467 477 sig.innerHTML = sig.innerHTML.replace( /_signature/g, '_signature' + counter ); 468 478 … … 486 496 487 497 document.getElementById( 'counter' ).value = ++counter; 488 }498 } 489 499 490 500 function removeSignature( el ) … … 496 506 497 507 return( false ); 498 }508 } 499 509 </script> 500 510 <input id='add_signature' type='button' onclick='addSignature();' value='Adicionar Assinatura'> 501 511 "); 502 }else{512 }else{ 503 513 create_select_box('Signature Type','type_signature',$default,'','','',''); 504 514
Note: See TracChangeset
for help on using the changeset viewer.