Changeset 930
- Timestamp:
- 05/27/09 18:33:25 (15 years ago)
- Location:
- trunk/calendar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.uicalendar.inc.php
r928 r930 4683 4683 // Verifica o tipo da visualização da árvore LDAP, configurado no admin da Agenda 4684 4684 $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); 4686 4686 $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 } 4687 4697 4688 4698 if ($param['plain'] != "True"){ -
trunk/calendar/templates/celepar/config.tpl
r928 r930 1 1 <!-- BEGIN header --> 2 <form method="POST" action="{action_url}"> 2 <script type="text/javascript"> 3 function minValue() 4 { 5 if (document.forms["adminForm"]["minNum"].value==""){ 6 alert ("Inserir o numero minimo de caracteres"); 7 return false; 8 } 9 return true; 10 } 11 </script> 12 13 <form name="adminForm" method="POST" action="{action_url}" onSubmit="return minValue()"> 3 14 <table border="0" align="center"> 4 15 <tr bgcolor="{th_bg}"> … … 51 62 <td>{lang_Select_type_tree_view}</td> 52 63 <td> 53 <select name="newsettings[cal_type_tree_participants]"> 64 <select name="newsettings[cal_type_tree_participants]"> 65 <option value="3" {selected_cal_type_tree_participants_3}>{lang_all_levels}</option> 54 66 <option value="2" {selected_cal_type_tree_participants_2}>{lang_first_level_with_recursive_search}</option> 55 67 <option value="1" {selected_cal_type_tree_participants_1}>{lang_all_levels_with_not_recursive_search}</option> … … 61 73 <td>{lang_Min_number_characters}</td> 62 74 <td> 63 <input type="text" value="{value_min_num_characters}" name="newsettings[min_num_characters]" size=2 maxlength=1/>75 <input type="text" id="minNum" value="{value_min_num_characters}" name="newsettings[min_num_characters]" size=2 maxlength=1/> 64 76 </td> 65 77 </tr>
Note: See TracChangeset
for help on using the changeset viewer.