Changeset 4615


Ignore:
Timestamp:
06/15/11 17:16:38 (8 years ago)
Author:
alexandrecorreia
Message:

Ticket #1808 - Corrigido para que o tipo da busca seja configurada na administracao do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/index.php

    r4614 r4615  
    143143     
    144144    // Begin Search Users characteres shared folders. 
    145     echo '<script> var sharedFolders_min_num_characters = "'.$current_config['expressoMail_min_num_characters'].'"</script>'; 
    146     echo '<script> var sharedFolders_users_auto_search  = "'.$current_config['expressoMail_users_auto_search'].'"</script>'; 
     145     
     146    if( isset($current_config['expressoMail_min_num_characters'] ) ) 
     147        echo '<script> var sharedFolders_min_num_characters = "'.$current_config['expressoMail_min_num_characters'].'"</script>'; 
     148    else 
     149        echo '<script> var sharedFolders_min_num_characters = "" </script>'; 
     150     
     151    if( isset($current_config['expressoMail_users_auto_search']) ) 
     152        echo '<script> var sharedFolders_users_auto_search  = "'.$current_config['expressoMail_users_auto_search'].'" </script>'; 
     153    else 
     154        echo '<script> var sharedFolders_users_auto_search  = "true" </script>'; 
     155     
    147156    // End Search Users characteres shared folders. 
    148157     
Note: See TracChangeset for help on using the changeset viewer.