Changeset 4885


Ignore:
Timestamp:
08/02/11 09:41:23 (10 years ago)
Author:
roberto.santosjunior
Message:

Ticket #1820 - Retirando preferência de limite de resultados nas pesquisas.r4866

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/hook_settings.inc.php

    r4828 r4885  
    2020        \**************************************************************************/ 
    2121 
    22 $type = isset($_GET['type']) ? $_GET['type']:$GLOBALS['type']; // FIX ME  
     22$type = isset($_GET['type']) ? $_GET['type']:$GLOBALS['type']; // FIX ME 
    2323 
    2424//if ($type == 'user' || $type == ''){ 
     
    380380create_check_box('Hide menu folders?','hide_folders','You can use it if your screen does not have good resolution'); 
    381381 
     382$default =  array( 
     383    '1' => lang('unlimited'), 
     384    '2'     => '2', 
     385    '3'     => '3', 
     386    '4'     => '4', 
     387    '5'     => '5' 
     388); 
     389 
     390create_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 
    382392$default = array( 
    383393        '20' => lang('normal'), 
     
    390400create_check_box('Use shortcuts?','use_shortcuts',''); 
    391401create_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( 
    393403        '65536' => lang('unlimited'), 
    394404        '640' => '640', 
     
    445455        </div> 
    446456 
    447         <script language='javascript'> 
    448  
     457                <script language='javascript'> 
     458  
    449459        $(document).ready(function(){ 
    450  
     460  
    451461            loadSignature(); 
    452  
     462  
    453463        }); 
    454  
     464   
    455465        function changeType(value, target){ 
    456466 
    457467            tinyMCE.execCommand( 'mceToggleEditor', false, 'user_signature' + target ); 
    458         } 
     468    } 
    459469 
    460470// var counter = 0; 
     
    464474        var sig = document.getElementById('_signature').cloneNode( true ); 
    465475        var counter = document.getElementById( 'counter' ).value; 
    466  
     476    
    467477        sig.innerHTML = sig.innerHTML.replace( /_signature/g, '_signature' + counter ); 
    468478 
     
    486496 
    487497        document.getElementById( 'counter' ).value = ++counter; 
    488 } 
     498        } 
    489499 
    490500function removeSignature( el ) 
     
    496506 
    497507    return( false ); 
    498 } 
     508            } 
    499509</script> 
    500510<input id='add_signature' type='button' onclick='addSignature();' value='Adicionar Assinatura'> 
    501511"); 
    502 }else{ 
     512        }else{ 
    503513        create_select_box('Signature Type','type_signature',$default,'','','',''); 
    504514 
Note: See TracChangeset for help on using the changeset viewer.