Changeset 285 for trunk/contactcenter/templates/default/full_add.tpl
- Timestamp:
- 05/23/08 17:10:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/templates/default/full_add.tpl
r284 r285 13 13 <input id="cc_contact_personal" type="hidden" value="{cc_contact_personal}"> 14 14 <input id="cc_contact_addrs" type="hidden" value="{cc_contact_addrs}"> 15 <input id="cc_contact_conns" type="hidden" value=" E-mails e Telefones">15 <input id="cc_contact_conns" type="hidden" value="{emails_telephones}"> 16 16 <input id="cc_pd_full_name" name="{cc_pd_full_name}" type="hidden"> 17 17 <input id="cc_pd_sex" name="{cc_pd_sex}" type="hidden"> … … 36 36 <tr class="row_on"> 37 37 <td align="right">{cc_pd_alias}:</td> 38 <td align="left" colspan="2"><input id="cc_pd_alias" name="{cc_pd_alias}" type="text" style="width:175px;z-index:-1" value="" maxlength=" 30"></td>38 <td align="left" colspan="2"><input id="cc_pd_alias" name="{cc_pd_alias}" type="text" style="width:175px;z-index:-1" value="" maxlength=""></td> 39 39 </tr> 40 40 <tr style="display:none" class="row_off"> … … 139 139 <tbody> 140 140 <tr class="th" width="100%" align="center" height="10px"> 141 <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();"> E-mail</td>142 <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();"> Telefone</td>143 <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1"> Escolha 'Email' ou 'Telefone'</option></select></td>144 </tr> 145 <tr class="row_off"> 141 <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_1" value="Email" onclick="javascript:updateConnFields();">{email}</td> 142 <td width="60px" noWrap><input type="radio" name="cc_conn_type" id="cc_conn_type_2" value="Telefone" onclick="javascript:updateConnFields();">{telephone}</td> 143 <td width="*" align="left"><select style="width:160px" id="cc_conn_type_sel" onchange="javascript:connAddNewLine();"><option value="-1">{choose_email_telephone}</option></select></td> 144 </tr> 145 <tr class="row_off"> 146 146 <td valign="top" colspan="4" width="100%" style="border: 0px solid black" cellpadding="0" cellspacing="0"> 147 147 <table align="left" width="100%" style="border: 0px solid black"> 148 148 <tbody id="cc_conn"> 149 149 <!-- Code inside here is inserted dynamically --> 150 </tbody> 150 </tbody> 151 151 </table> 152 152 </td> … … 159 159 </tbody> 160 160 </table> 161 <div style="z-index:10000;position: absolute;display:none; top: 170px; left: 78px;" id="div_cc_conn_is_default"> É padrão: <select id="cc_email_default" name="cc_email_default" disabled style="display:none"></select><select id="cc_phone_default" name="cc_phone_default" disabled style="display:none"></select></div>161 <div style="z-index:10000;position: absolute;display:none; top: 170px; left: 78px;" id="div_cc_conn_is_default"> {cc_default} <select id="cc_email_default" name="cc_email_default" disabled style="display:none"></select><select id="cc_phone_default" name="cc_phone_default" disabled style="display:none"></select></div> 162 162 </div> 163 163 <!-- _BOTTOM BUTTONS --> 164 <div align="center" id="cc_contact_tab_buttons" style="position: absolute; visibility: hidden; top: 250px; left: 0px; width: 498px; height: 32px; border: 0px solid black"> 164 <div align="center" id="cc_contact_tab_buttons" style="position: absolute; visibility: hidden; top: 250px; left: 0px; width: 498px; height: 32px; border: 0px solid black"> 165 165 <table class="row_off" align="center" width="498px" cellpadding="2" cellspacing="0" border="0"> 166 166 <tr> … … 177 177 <!-- 178 178 // Overloading some methods for fix cursor problem in Firefox. 179 if(!is_ie) { 180 dJSWin.prototype.close = function() { 179 if(!is_ie) { 180 dJSWin.prototype.close = function() { 181 181 dJSWin.state = 0; 182 182 dd.elements[this.title.id].hide(); 183 Element("divScrollMain").style.overflow = 'auto'; 183 if ( dd_div = document.getElementById('divScrollMain')) 184 Element("divScrollMain").style.overflow = 'auto'; 184 185 } 185 186 dJSWin.prototype.open = function() { … … 188 189 dd.elements[this.title.id].maximizeZ(); 189 190 dd.elements[this.title.id].show(); 190 Element("divScrollMain").style.overflow = 'hidden'; 191 } 192 } 193 191 if ( dd_div = document.getElementById('divScrollMain')) 192 dd_div.style.overflow = 'hidden'; 193 } 194 } 195 194 196 var fullAdd_onload = document.body.onload; 195 197 var tabs; 196 198 var fullAddWin; 197 var photo_frame, photo_form, photo_input; 199 var photo_frame, photo_form, photo_input; 198 200 199 201 __f = function(e) 200 202 { 201 203 202 204 tabs = new dTabsManager({'id': 'cc_contact_tab', 'width': '500px'}); 203 204 tabs.addTab({'id': 'cc_contact_tab_0', 205 'name': Element('cc_contact_personal').value, 206 'selectedClass': 'tab_box_active', 205 206 tabs.addTab({'id': 'cc_contact_tab_0', 207 'name': Element('cc_contact_personal').value, 208 'selectedClass': 'tab_box_active', 207 209 'unselectedClass': 'tab_box'}); 208 209 tabs.addTab({'id': 'cc_contact_tab_2', 210 'name': Element('cc_contact_conns').value, 211 'selectedClass': 'tab_box_active', 210 211 tabs.addTab({'id': 'cc_contact_tab_2', 212 'name': Element('cc_contact_conns').value, 213 'selectedClass': 'tab_box_active', 212 214 'unselectedClass': 'tab_box'}); 213 215 214 tabs.addTab({'id': 'cc_contact_tab_1', 215 'name': Element('cc_contact_addrs').value, 216 'selectedClass': 'tab_box_active', 217 'unselectedClass': 'tab_box'}); 216 tabs.addTab({'id': 'cc_contact_tab_1', 217 'name': Element('cc_contact_addrs').value, 218 'selectedClass': 'tab_box_active', 219 'unselectedClass': 'tab_box'}); 218 220 219 221 fullAddWin = new dJSWin({'id': 'cc_full_add', … … 229 231 'border': true}); 230 232 231 fullAddWin.draw(); 232 233 fullAddWin.draw(); 234 233 235 if (is_ie) 234 236 { … … 242 244 { 243 245 Element('cc_pd_select_photo_t').style.display='none'; 244 Element('cc_pd_select_photo_b').style.display='none'; 245 } 246 246 Element('cc_pd_select_photo_b').style.display='none'; 247 } 248 247 249 }; 248 250 249 251 if (is_ie) // || is_moz1_6) 250 252 { 251 253 252 254 document.body.onload = function(e) { setTimeout('__f()', 10); fullAdd_onload ? setTimeout('fullAdd_onload()'): false;}; 253 255 } … … 270 272 271 273 272 <!-- RELATIONS 274 <!-- RELATIONS 273 275 <div id="cc_contact_tab_3" class="row_off div_cc_contact_tab"> 274 276 <table align="center" width="500px" height="100%" cellpadding="2" cellspacing="0" border="0">
Note: See TracChangeset
for help on using the changeset viewer.