Ignore:
Timestamp:
05/27/09 18:33:25 (15 years ago)
Author:
rafaelraymundo
Message:

Ticket #531 - Verifica se o numero minimo de caracteres foi preenchido

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/calendar/inc/class.uicalendar.inc.php

    r928 r930  
    46834683                                                                // Verifica o tipo da visualização da árvore LDAP, configurado no admin da Agenda 
    46844684                                                                $recursive = $GLOBALS['phpgw_info']['server']['cal_type_tree_participants'] == '1' ? true : false; 
    4685                                                                 $combo_org = $this->get_organizations(trim(strtolower($context)),$user_context, $recursive); 
     4685                                                                //$combo_org = $this->get_organizations(trim(strtolower($context)),$user_context, $recursive); 
    46864686                                                                $footer_ext_participantes = lang("Tip: To search in the <b>Global Catalog</b>, type the <b>F9</b> key, like the ExpressoMail."); 
     4687                                                                //Caso o minimo de caracteres para a busca nao tenha sido preenchido ele sera por padrao = 3 
     4688                                                                if(!$GLOBALS['phpgw_info']['server']['min_num_characters']){ 
     4689                                                                        $GLOBALS['phpgw_info']['server']['min_num_characters'] = 3; 
     4690                                                                } 
     4691 
     4692                                                                if ($GLOBALS['phpgw_info']['server']['cal_type_tree_participants'] == '3'){ 
     4693                                                                        $combo_org = '<option value='.$context.'>'.strtoupper($context).'</option>'; 
     4694                                                                }else{ 
     4695                                                                        $combo_org = $this->get_organizations(trim(strtolower($context)),$user_context, $recursive); 
     4696                                                                } 
    46874697 
    46884698                                                                if ($param['plain'] != "True"){ 
Note: See TracChangeset for help on using the changeset viewer.