Changeset 1189 for branches/2.0/calendar/templates/default
- Timestamp:
- 07/27/09 11:13:12 (15 years ago)
- Location:
- branches/2.0/calendar/templates/default
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/calendar/templates/default/config.tpl
r855 r1189 1 1 <!-- BEGIN header --> 2 <form method="POST" action="{action_url}"> 2 <script type="text/javascript"> 3 4 function disableMinNum(valor){ 5 if( valor == "True" ){ 6 document.getElementById("minNum").disabled = true; 7 document.getElementById("minNum").value = 0; 8 } 9 else if (valor == "False"){ 10 document.getElementById("minNum").disabled = false; 11 } 12 } 13 </script> 14 <form name="adminForm" method="POST" action="{action_url}" onSubmit="return minValue()"> 3 15 <table border="0" align="center"> 4 16 <tr bgcolor="{th_bg}"> … … 51 63 <td>{lang_Select_type_tree_view}</td> 52 64 <td> 53 <select name="newsettings[cal_type_tree_participants]"> 65 <select name="newsettings[cal_type_tree_participants]"> 66 <option value="3" {selected_cal_type_tree_participants_3}>{lang_all_levels}</option> 54 67 <option value="2" {selected_cal_type_tree_participants_2}>{lang_first_level_with_recursive_search}</option> 55 68 <option value="1" {selected_cal_type_tree_participants_1}>{lang_all_levels_with_not_recursive_search}</option> … … 57 70 </td> 58 71 </tr> 72 73 <tr bgcolor="{row_on}"> 74 <td>{lang_Do_you_wish_enable_autosearch?}</td> 75 <td> 76 <select id="autoSearch" name="newsettings[auto_search]" onchange="disableMinNum(this.value)"> 77 <option value="False"{selected_auto_search_False}>{lang_No}</option> 78 <option value="True"{selected_auto_search_True}>{lang_Yes}</option> 79 </select> 80 </td> 81 </tr> 82 83 <tr bgcolor="{row_off}"> 84 <td>{lang_Minimum_number_of_characters_to_start_the_search_for_participants}</td> 85 <td> 86 <input type="text" id="minNum" value="{value_min_num_characters}" name="newsettings[min_num_characters] " size=2 maxlength=2 /> 87 </td> 88 </tr> 89 90 <script> disableMinNum(document.getElementById("autoSearch").value); </script> 59 91 <!-- END body --> 60 92 … … 69 101 <input type="submit" name="submit" value="{lang_submit}"> 70 102 <input type="submit" name="cancel" value="{lang_cancel}"> 71 </td>103 </td> 72 104 </tr> 73 105 </table> -
branches/2.0/calendar/templates/default/edit.tpl
r855 r1189 21 21 <form action="{action_url}" method="post" name="app_form"> 22 22 {common_hidden} 23 <table id="editFormTable" border="0" width="90%" >23 <table id="editFormTable" border="0" width="90%" class="prefTable"> 24 24 <tr> 25 25 <td colspan="2"> -
branches/2.0/calendar/templates/default/footer.tpl
r855 r1189 17 17 {row} 18 18 </select> 19 20 19 <input type="hidden" name="user" value="{user}"> 20 <input type="hidden" name="dia_ini" value="{dia_ini}"> 21 21 <noscript><input type="submit" value="{go}"></noscript> 22 22 </form> … … 32 32 </td> 33 33 <!-- END blank_row --> 34 34 35 <!-- BEGIN num_dias --> 35 36 37 38 39 <label> 40 <b>{num_dias_label}:</b>41 </label>42 <select name="{num_dias_name}" onchange="{formonchange}"/>43 {row_qtd}44 </select>45 <br />46 <span style="font-size: 9px;">47 {tip}48 </span>49 <br />50 51 52 53 54 55 56 57 58 59 60 61 </form></font>62 36 <td valign="top" width="30%"> 37 <font size="-1"> 38 <form action="{acao}" method="post" name="{formname}"> 39 <span style="display: {display}" > 40 41 <label> 42 <b>{num_dias_label}:</b> 43 </label> 44 <select name="{num_dias_name}" onchange="{formonchange}"/> 45 {row_qtd} 46 </select> 47 <br /> 48 <span style="font-size: 9px;"> 49 {tip} 50 </span> 51 <br /> <br /> 52 </span> 53 <span style="display: {display}"> 54 <b>{day_ini_label}:</b> 55 <select name="{day_ini_name}" onchange="{formonchange}"> 56 {row_ini} 57 </select> 58 </span> 59 <input type="hidden" name="user" value="{user}"> 60 <noscript><input type="submit" value="{go}"></noscript> 61 </form> 62 </font> 63 </td> 63 64 <!-- END num_dias -->
Note: See TracChangeset
for help on using the changeset viewer.