Edit file File name : EditViewGoogleContacts.html Content : <!-- BEGIN: main --> {ROLLOVER} <script type="text/javascript" lang="Javascript" src="modules/InboundEmail/InboundEmail.js"></script> {ERROR_STRING} <form name="EditView" id="EditView" method="POST" action="index.php"> <input type="hidden" name="display_tabs_def"> <input type="hidden" name="hide_tabs_def"> <input type="hidden" name="remove_tabs_def"> <input type="hidden" name="module" value="Users"> <input type="hidden" name="record" value="{ID}"> <input type="hidden" name="action"> <input type="hidden" name="return_module" value="{RETURN_MODULE}"> <input type="hidden" name="return_id" value="{RETURN_ID}"> <input type="hidden" name="return_action" value="DetailViewGoogleContacts"> <input type="hidden" name="password_change" value="false"> <input type="hidden" name="old_password"> <input type="hidden" name="new_password"> <input type="hidden" name="user_name" value="{USER_NAME}"> <input type="hidden" name="type" value="{REDIRECT_EMAILS_TYPE}"> <script type="text/javascript"> function open_check(uss,pass) { URL="check_google_contacts_conn.php?uss="+uss+"&pass="+pass; windowName = 'Google_Account'; windowFeatures = 'width=300' + ',height=200' + ',toolbar=no,menubar=no,location=no,resizable=0,scrollbars=0'; win = window.open(URL, windowName, windowFeatures); //alert(URL); if(window.focus) { // put the focus on the popup if the browser supports the focus() method win.focus(); } } </script> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-bottom: 2px;"> <input title="{APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='SaveGoogleContacts'; {REASSIGN_JS} {CHOOSER_SCRIPT} return verify_data(EditView);" type="submit" name="button" value=" {APP.LBL_SAVE_BUTTON_LABEL} " > <input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'" type="submit" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} "> {CHANGE_PASSWORD_BUTTON111111} </td> <td align="right" nowrap><span class="required">{APP.LBL_REQUIRED_SYMBOL}</span> {APP.NTC_REQUIRED}</td> </tr> </table> <div id="settings"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm"> <tr> <th colspan='4' align="left" class="dataLabel" width="100%" valign="top"><h4 class="dataLabel"><slot>{MOD.GOOGLE_ACC_CONTACTS}</slot></h4></th> </tr> <tr> <td colspan=5> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="15%" class="dataLabel"><slot>{MOD.GOOGLE_EMAIL}</slot></td> <td width="35%" class="dataField"><slot><input name='google_mmail_cts_contacts_c' id='google_mmail_cts_contacts_c' tabindex='1' size='25' maxlength='255' type="text" value="{GOOGLE_MMAIL_CTS_C}"></slot></td> <td width="15%" class="dataLabel"><slot>{MOD.GOOGLE_PASSWORD} <span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></slot></td> <td width="35%" class="dataField"><slot><input name='google_mpass_cts_contacts_c' type="password" tabindex='2' size='15' maxlength='25' value='{GOOGLE_MPASS_CTS_C}' /></slot> <input title="Test [Alt+T]" type='button' accessKey="t" class="button" onClick='open_check(this.form.google_mmail_cts_contacts_c.value, this.form.google_mpass_cts_contacts_c.value, "Popup", 400, 300, this.form.google_mmail_cts_contacts_c.value, this.form.google_mmail_cts_contacts_c.value, "", "", "",""," ", "");' name="button" value=" Test Settings " > </td> </tr> </table> </tr> <tr> <td width="20%" class="dataLabel"><slot>{MOD.USER_CTS_SYNC_NO} </slot></td> <td width="20%" class="dataField"><slot> <input value="no_sync" name='google_mcts_sync_type_c' type="radio" {SYNC_CTS_NO} tabindex='2' size='15' maxlength='25' ></slot></td> <td width="50%" class="dataField"><slot>{MOD.USER_CTS_SYNC_NO_EXTRA}</slot></td> </tr> <tr> <td width="20%" class="dataLabel"><slot>{MOD.USER_CTS_SYNC_USER} </slot></td> <td width="20%" class="dataField"><slot> <input value="sync_user" name='google_mcts_sync_type_c' type="radio" {SYNC_CTS_USER} tabindex='2' size='15' maxlength='25' ></slot></td> <td width="50%" class="dataField"><slot>{MOD.USER_CTS_SYNC_USER_EXTRA}</slot></td> </tr> <tr> <td width="20%" class="dataLabel"><slot>{MOD.USER_CTS_SYNC_ROLE} </slot></td> <td width="20%" class="dataField"><slot> <input value="sync_role" name='google_mcts_sync_type_c' type="radio" {SYNC_CTS_ROLE_TEAM} tabindex='2' size='15' maxlength='25' ></slot></td> <td width="50%" class="dataField"><slot>{MOD.USER_CTS_SYNC_ROLE_EXTRA}</slot></td> </tr> </table> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm"> <tr> <th colspan='4' align="left" class="dataLabel" width="100%" valign="top"><h4 class="dataLabel"><slot>{MOD.USER_GOOGLE_SETTINGS}</slot></h4></th> </tr> <tr> <td colspan=5> <table width="100%" border="0" cellspacing="0" cellpadding="0" > <tr> <td width="15%" class="dataLabel"><slot>{MOD.USER_GOOGLE_SETTINGS1}</slot></td> <td width="35%" class="dataField"><slot><input name='allowusers' type="checkbox" {ALLOWUSERS} tabindex='2' size='15' maxlength='25' {ALLOWUSERS_STATUS}></slot></td> <td width="50%" class="dataField"><slot>{MOD.USER_GOOGLE_SETTINGS2}</slot></td> </tr> <tr> <td width="15%" class="dataLabel"><slot>{MOD.USER_GOOGLE_SETTINGS3}</slot></td> <td width="35%" class="dataField"><slot><input name='allowlogs' type="checkbox" {ALLOWLOGS} tabindex='2' size='15' maxlength='25' {ALLOWLOGS_STATUS}></slot></td> <td width="50%" class="dataField"><slot>{MOD.USER_GOOGLE_SETTINGS4}</slot></td> </tr> </table> </tr> </table> <script type="text/javascript"> </script> <!-- <tr> <td width="15%" class="dataLabel"><slot>{MOD.GOOGLE_NEWFILES}:</slot></td> <td width="35%" class="dataLabel"><slot><input name='google_mdocsnewfiles_c' type="text" id='jscal_field4' value="{GOOGLE_MDOCSNEWFILES}" tabindex='2' size='15' maxlength='25' > <img src="themes/default/images/jscalendar.gif" alt="{CALENDAR_DATEFORMAT}" id="jscal_trigger4" align="absmiddle"> </slot></td> --> <script type="text/javascript"> Calendar.setup ({ inputField : "jscal_field1", ifFormat : "{CALENDAR_DATEFORMAT}",onClose: function(cal) { cal.hide(); }, showsTime : false, button : "jscal_trigger1", singleClick : true, step : 1 }); Calendar.setup ({ inputField : "jscal_field2", ifFormat : "{CALENDAR_DATEFORMAT}",onClose: function(cal) { cal.hide(); }, showsTime : false, button : "jscal_trigger2", singleClick : true, step : 1 }); Calendar.setup ({ inputField : "jscal_field3", ifFormat : "{CALENDAR_DATEFORMAT}",onClose: function(cal) { cal.hide(); }, showsTime : false, button : "jscal_trigger3", singleClick : true, step : 1 }); Calendar.setup ({ inputField : "jscal_field4", ifFormat : "{CALENDAR_DATEFORMAT}",onClose: function(cal) { cal.hide(); }, showsTime : false, button : "jscal_trigger4", singleClick : true, step : 1 }); </script> <!-- <td width="15%" class="dataLabel"><slot>{MOD.Only upload files from Sugar created in Sugar after}:</slot></td> <td width="35%" class="dataLabel"><slot><input name='google_mafterdate_c' type="text" value="{GOOGLE_MAFTERDATE}" tabindex='2' size='15' maxlength='25' > </slot></td> --> </tr> </table> </td> </tr> </table> <br /> </div> {JAVASCRIPT} <script type="text/javascript" language="Javascript"> // javascript moved to User.js var old_load = window.onload; window.onload = function() { old_load(); enable_change_password_button(); } {getNameJs} {getNumberJs} {currencySymbolJs} setSymbolValue(document.getElementById('currency_select').selectedIndex); setSigDigits(); {confirmReassignJs} </script> </form> <!-- END: main --> Save