1 | <!-- BEGIN header --> |
---|
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()"> |
---|
14 | <table border="0" align="center"> |
---|
15 | <tr bgcolor="{th_bg}"> |
---|
16 | <td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td> |
---|
17 | </tr> |
---|
18 | <!-- END header --> |
---|
19 | |
---|
20 | <!-- BEGIN body --> |
---|
21 | <tr bgcolor="{row_on}"> |
---|
22 | <td colspan="2"> </td> |
---|
23 | </tr> |
---|
24 | <tr bgcolor="{row_off}"> |
---|
25 | <td colspan="2"><b>{lang_Calendar_settings}</b></td> |
---|
26 | </tr> |
---|
27 | <tr bgcolor="{row_on}"> |
---|
28 | <td>{lang_Do_you_wish_to_autoload_calendar_holidays_files_dynamically?}</td> |
---|
29 | <td> |
---|
30 | <select name="newsettings[auto_load_holidays]"> |
---|
31 | <option value=""{selected_auto_load_holidays_False}>{lang_No}</option> |
---|
32 | <option value="True"{selected_auto_load_holidays_True}>{lang_Yes}</option> |
---|
33 | </select> |
---|
34 | </td> |
---|
35 | </tr> |
---|
36 | <tr bgcolor="{row_off}"> |
---|
37 | <td>{lang_Location_to_autoload_from}:</td> |
---|
38 | <td> |
---|
39 | <select name="newsettings[holidays_url_path]"> |
---|
40 | <option value="localhost"{selected_holidays_url_path_localhost}>localhost</option> |
---|
41 | <option value="http://www.phpgroupware.org/cal"{selected_holidays_url_path_http://www.phpgroupware.org/cal}>www.phpgroupware.org</option> |
---|
42 | </select> |
---|
43 | </td> |
---|
44 | <tr bgcolor="{row_on}"> |
---|
45 | <td colspan="2"> </td> |
---|
46 | </tr> |
---|
47 | </tr> |
---|
48 | <tr bgcolor="{row_off}"> |
---|
49 | <td colspan="2"><b>{lang_ExpressoMail_Plugin_Calendar}</b></td> |
---|
50 | </tr> |
---|
51 | <tr bgcolor="{row_on}"> |
---|
52 | <td>{lang_Select_module_version_expressoMail_(if_available)}</td> |
---|
53 | <td> |
---|
54 | <select name="newsettings[cal_expressoMail]"> |
---|
55 | <option value="False"{selected_cal_expressoMail_False}>{lang_dont_use_any_plugin}</option> |
---|
56 | <option value="1.0"{selected_cal_expressoMail_1.0}>Expresso 1.0</option> |
---|
57 | <option value="1.2"{selected_cal_expressoMail_1.2}>Expresso 1.2</option> |
---|
58 | </select> |
---|
59 | </td> |
---|
60 | </tr> |
---|
61 | <tr bgcolor="{row_off}"> |
---|
62 | <td>{lang_Select_type_tree_view}</td> |
---|
63 | <td> |
---|
64 | <select name="newsettings[cal_type_tree_participants]"> |
---|
65 | <option value="3" {selected_cal_type_tree_participants_3}>{lang_all_levels}</option> |
---|
66 | <option value="2" {selected_cal_type_tree_participants_2}>{lang_first_level_with_recursive_search}</option> |
---|
67 | <option value="1" {selected_cal_type_tree_participants_1}>{lang_all_levels_with_not_recursive_search}</option> |
---|
68 | </select> |
---|
69 | </td> |
---|
70 | </tr> |
---|
71 | |
---|
72 | <tr bgcolor="{row_on}"> |
---|
73 | <td>{lang_Minimum_number_of_characters_to_start_the_search_for_participants}</td> |
---|
74 | <td> |
---|
75 | <input type="text" id="minNum" value="{value_min_num_characters}" name="newsettings[min_num_characters]" size=2 maxlength=1/> |
---|
76 | </td> |
---|
77 | </tr> |
---|
78 | <!-- END body --> |
---|
79 | |
---|
80 | <!-- BEGIN footer --> |
---|
81 | <tr bgcolor="{th_bg}"> |
---|
82 | <td colspan="2"> |
---|
83 | |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | <tr> |
---|
87 | <td colspan="2" align="center"> |
---|
88 | <input type="submit" name="submit" value="{lang_submit}"> |
---|
89 | <input type="submit" name="cancel" value="{lang_cancel}"> |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | </table> |
---|
93 | </form> |
---|
94 | <!-- END footer --> |
---|