[1158] | 1 | <!-- BEGIN header --> |
---|
[4500] | 2 | <script type="text/javascript" src="{cc_config_js}"></script> |
---|
| 3 | <!-- Foi incluído essa parte no evento do form (onsubmit....) e foi incluído a linha de cima para usar o arquivo .js --> |
---|
| 4 | <form onsubmit="javascript:cc_attribute_clear(this);" method="POST" action="{action_url}"> |
---|
[1158] | 5 | <table border="0" align="center"> |
---|
| 6 | <tr class="th"> |
---|
| 7 | <td colspan="2"><font color="{th_text}"> <b>{title}</b></font></td> |
---|
| 8 | </tr> |
---|
| 9 | <tr> |
---|
| 10 | <td></td> |
---|
| 11 | </tr> |
---|
| 12 | <tr> |
---|
| 13 | <td colspan="2"><b>{error}</b></td> |
---|
| 14 | </tr> |
---|
| 15 | <tr> |
---|
| 16 | <td></td> |
---|
| 17 | </tr> |
---|
| 18 | <!-- END header --> |
---|
| 19 | <!-- BEGIN body --> |
---|
| 20 | <tr class="th"> |
---|
| 21 | <td colspan="2" align="center"><b>{lang_ContactCenter_Global_Catalogue_Setup}</b></td> |
---|
| 22 | </tr> |
---|
| 23 | <tr> |
---|
| 24 | <td></td> |
---|
| 25 | </tr> |
---|
| 26 | <tr class="row_off"> |
---|
| 27 | <td>{lang_Select_where_your_Global_Catalogue_is}:</td> |
---|
| 28 | <td> |
---|
| 29 | <select name="newsettings[cc_global_source0]"> |
---|
| 30 | <option value="sql" {selected_cc_global_source0_sql}>SQL</option> |
---|
| 31 | <option value="ldap" {selected_cc_global_source0_ldap}>LDAP</option> |
---|
| 32 | </select> |
---|
| 33 | </td> |
---|
| 34 | </tr> |
---|
| 35 | <tr class="row_on"> |
---|
| 36 | <td>{lang_Catalog_Name}:</td> |
---|
| 37 | <td><input name="newsettings[cc_catalog_name]" value="{value_cc_catalog_name}" size="40" /></td> |
---|
| 38 | </tr> |
---|
| 39 | <tr class="row_off"> |
---|
| 40 | <td>{lang_LDAP_Host}:</td> |
---|
| 41 | <td><input name="newsettings[cc_ldap_host0]" value="{value_cc_ldap_host0}" size="40" /></td> |
---|
| 42 | </tr> |
---|
| 43 | <tr class="row_on"> |
---|
| 44 | <td>{lang_LDAP_Context}:</td> |
---|
| 45 | <td><input name="newsettings[cc_ldap_context0]" value="{value_cc_ldap_context0}" size="40" /></td> |
---|
| 46 | </tr> |
---|
| 47 | <tr class="row_off"> |
---|
| 48 | <td>{lang_Account_DN_to_be_used_when_browsing_LDAP}:</td> |
---|
| 49 | <td><input name="newsettings[cc_ldap_browse_dn0]" value="{value_cc_ldap_browse_dn0}" size="40" /></td> |
---|
| 50 | </tr> |
---|
| 51 | <tr class="row_on"> |
---|
| 52 | <td>{lang_Password_for_the_account_above_(if_any)}:</td> |
---|
| 53 | <td><input name="newsettings[cc_ldap_pw0]" type="password" value="" size="40" /></td> |
---|
| 54 | </tr> |
---|
[4538] | 55 | <tr class="row_on"> |
---|
| 56 | <td>{lang_LDAP_max_results}:</td> |
---|
| 57 | <td><input name="newsettings[cc_ldap_max_results]" value="{value_cc_ldap_max_results}" size="40" /></td> |
---|
| 58 | </tr> |
---|
[1158] | 59 | <tr class="row_off"> |
---|
[1598] | 60 | <td>{lang_Open_automatic_contact} :</td> |
---|
[1158] | 61 | <td> |
---|
| 62 | <select name="newsettings[cc_ldap_query_automatic]"> |
---|
| 63 | <option value="true" {selected_cc_ldap_query_automatic_true}>Sim</option> |
---|
| 64 | <option value="false" {selected_cc_ldap_query_automatic_false}>Não</option> |
---|
| 65 | </select> |
---|
| 66 | </td> |
---|
| 67 | </tr> |
---|
[4538] | 68 | <tr class="row_off"> |
---|
[1598] | 69 | <td>{lang_Minimal_character_to_name_search}:</td> |
---|
| 70 | <td> |
---|
| 71 | <select name="newsettings[cc_ldap_min]"> |
---|
| 72 | <option value="2" {selected_cc_ldap_min_2}>2</option> |
---|
| 73 | <option value="3" {selected_cc_ldap_min_3}>3</option> |
---|
| 74 | <option value="4" {selected_cc_ldap_min_4}>4</option> |
---|
| 75 | </select> |
---|
| 76 | </td> |
---|
| 77 | </tr> |
---|
[4538] | 78 | <tr class="row_on"> |
---|
[3262] | 79 | <td>Montar DN do contatos dinamicamente?</td> |
---|
| 80 | <td> |
---|
| 81 | <select name="newsettings[cc_ldap_subLevels]"> |
---|
| 82 | <option value="true" {selected_cc_ldap_subLevels_true}>Sim</option> |
---|
| 83 | <option value="false" {selected_cc_ldap_subLevels_false}>Não</option> |
---|
| 84 | </select> |
---|
| 85 | </td> |
---|
| 86 | </tr> |
---|
[4500] | 87 | <tr class="th"> |
---|
| 88 | <td colspan="2"> <b>{lang_cc_Set_details_attributes}</b></td> |
---|
| 89 | </tr> |
---|
| 90 | <tr> |
---|
| 91 | <td colspan="2" id="cc_attribute_fields"> |
---|
| 92 | <div> |
---|
| 93 | <input id="config_cc_allow_details" type="checkbox" name="newsettings[cc_allow_details]" {cc_allow_view_details_value} value="details"/> |
---|
| 94 | <label for="config_cc_allow_details" >{lang_cc_Allow_view_details_label}</label> |
---|
| 95 | |
---|
| 96 | </div> |
---|
| 97 | |
---|
| 98 | <div align="right" id="cc_attribute_box_adder"> |
---|
| 99 | <input type="button" onclick="javascript:cc_attribute_add();" name="addattribute" value="{lang_add_button}" /> |
---|
| 100 | </div> |
---|
| 101 | |
---|
| 102 | <br /> |
---|
| 103 | {attribute_fields} |
---|
| 104 | </td> |
---|
| 105 | </tr> |
---|
[1158] | 106 | <!-- <tr class="row_on"> |
---|
| 107 | <td>{lang_objectClass_to_be_used_as_a_Contact}:</td> |
---|
| 108 | <td> |
---|
| 109 | <select name="newsettings[cc_ldap_objectclass0]"> |
---|
| 110 | <option value="op_iop" {selected_cc_ldap_objectclass0}>organizationalPerson+inetOrgPerson</option> |
---|
| 111 | <option value="custom" {selected_cc_ldap_objectclass0}>{lang_Custom} {lang_(Not_implemented_yet)}</option> |
---|
| 112 | </select> |
---|
| 113 | </tr> |
---|
| 114 | <tr class="row_off"> |
---|
| 115 | <td>{lang_Custom_objectClass_name}:<br> |
---|
| 116 | <span style="font-size: 10px;">{lang_(if_your_LDAP_contact_has_multiple_objectClass_attributes,_enter_just_one!)}</span></td> |
---|
| 117 | <td><input name="newsettings[cc_ldap_custom_objectclass0]" type="text" value="{value_cc_ldap_custom_objectclass0}" size="40"></td> |
---|
| 118 | </tr> |
---|
| 119 | |
---|
| 120 | <tr class="th"><td colspan="2" align="center"><b>{lang_Custom_LDAP_objectClass_Fields_association}</b></td></tr> |
---|
| 121 | |
---|
| 122 | <tr class="row_on" style="font-weight: bold;"> |
---|
| 123 | <td>{lang_ContactCenter_Field}</td><td>{lang_LDAP_field}</td> |
---|
| 124 | </tr> |
---|
| 125 | <tr class="row_off"> |
---|
| 126 | <td>{lang_Contact_Photo}:</td> |
---|
| 127 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_photo0]" value="{value_cc_ldap_ass_photo0}"></td> |
---|
| 128 | </tr> |
---|
| 129 | <tr> |
---|
| 130 | <td>{lang_Contact_Alias}:</td> |
---|
| 131 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_alias0]" value="{value_cc_ldap_ass_alias0}"></td> |
---|
| 132 | </tr> |
---|
| 133 | <tr> |
---|
| 134 | <td>{lang_Contact_Prefix}:</td> |
---|
| 135 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_prefix0]" value="{value_cc_ldap_ass_prefix0}"></td> |
---|
| 136 | </tr> |
---|
| 137 | <tr> |
---|
| 138 | <td>{lang_Contact_Given_Names}:</td> |
---|
| 139 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_given0]" value="{value_cc_ldap_ass_given0}"></td> |
---|
| 140 | </tr> |
---|
| 141 | <tr> |
---|
| 142 | <td>{lang_Contact_Family_Names}:</td> |
---|
| 143 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_family0]" value="{value_cc_ldap_ass_family0}"></td> |
---|
| 144 | </tr> |
---|
| 145 | <tr> |
---|
| 146 | <td>{lang_Contact_Full_Name}:</td> |
---|
| 147 | <td><input type="text" size="40" name="newsettings[cc_ldap_ass_fulln0]" value="{value_cc_ldap_ass_fulln0}"></td> |
---|
| 148 | </tr>--> |
---|
[4538] | 149 | |
---|
| 150 | |
---|
[1158] | 151 | <!-- END body --> |
---|
| 152 | <!-- BEGIN footer --> |
---|
| 153 | <tr class="th"> |
---|
| 154 | <td colspan="2"> </td> |
---|
| 155 | </tr> |
---|
| 156 | <tr> |
---|
| 157 | <td colspan="2" align="center"> |
---|
| 158 | <input type="submit" name="submit" value="{lang_submit}"> |
---|
| 159 | <input type="submit" name="cancel" value="{lang_cancel}"> |
---|
| 160 | </td> |
---|
| 161 | </tr> |
---|
| 162 | </table> |
---|
| 163 | </form> |
---|
| 164 | <!-- END footer --> |
---|