Add html files

This commit is contained in:
2025-05-12 15:45:02 +00:00
parent 82d5804ac4
commit 7ddd15c4fa
1224 changed files with 277606 additions and 0 deletions

View File

@@ -0,0 +1,120 @@
<!--
/*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
-->
<!-- BEGIN: main -->
<script type="text/javascript">
<!--
function save_checks(offset) {
checked_ids = Array();
for (i = 0; i < document.MassUpdate.elements.length; i++){
if(document.MassUpdate.elements[i].name == 'mass[]' && document.MassUpdate.elements[i].checked) {
temp_string = '';
temp_string += '"' + document.MassUpdate.elements[i].value + '": {';
for(the_key in associated_javascript_data[document.MassUpdate.elements[i].value]) {
temp_string += '"' + the_key + '":"' + associated_javascript_data[document.MassUpdate.elements[i].value][the_key] + '",';
}
temp_string = temp_string.substring(0,temp_string.length - 1);
temp_string += '}';
checked_ids.push(temp_string);
}
}
document.MassUpdate.saved_associated_data.value = escape('{' + checked_ids.join(',') + '}');
document.MassUpdate.action.value = 'ContactAddressPopup';
document.MassUpdate.Contacts_CONTACT_offset.value = offset;
document.MassUpdate.submit();
return false;
}
// reassigned the saved data from the saved checks
if(typeof(document.MassUpdate) != 'undefined' && document.MassUpdate.saved_associated_data.value != '') {
temp_array = '';
for(the_key in temp_array) {
associated_javascript_data[the_key] = temp_array[the_key];
}
}
// save checks across pages for multiselects
if(typeof(document.MassUpdate) != "undefined") {
checked_items = Array();
inputs_array = document.MassUpdate.elements;
for(wp = 0 ; wp < inputs_array.length; wp++) {
if(inputs_array[wp].name == "mass[]" && inputs_array[wp].style.display == "none") {
checked_items.push(inputs_array[wp].value);
}
}
for(i in checked_items) {
for(wp = 0 ; wp < inputs_array.length; wp++) {
if(inputs_array[wp].name == "mass[]" && inputs_array[wp].value == checked_items[i]) {
inputs_array[wp].checked = true;
}
}
}
}
-->
</script>
<!-- BEGIN: list_nav_row -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="20%" class="listViewThS1" nowrap="nowrap"><a href="{ORDER_BY}last_name" class="listViewThLinkS1">{MOD.LBL_LIST_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}</a></td>
<td scope="col" width="35%" class="listViewThS1" nowrap="nowrap"><a href="{ORDER_BY}primary_address_street" class="listViewThLinkS1">{MOD.LBL_PRIMARY_ADDRESS}{arrow_start}{email1_arrow}{arrow_end}</a></td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_ACCOUNT_NAME}</td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{CONTACT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{CONTACT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{CONTACT.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td scope='row' valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><a href="#" class="listViewTdLinkS1" onclick="send_back('Contacts','{CONTACT.ID}');">{CONTACT.FIRST_NAME}&nbsp;{CONTACT.LAST_NAME}</a></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>{CONTACT.PRIMARY_ADDRESS_STREET}<br>
{CONTACT.PRIMARY_ADDRESS_CITY} {CONTACT.PRIMARY_ADDRESS_STATE}&nbsp;&nbsp;{CONTACT.PRIMARY_ADDRESS_POSTALCODE}<br>
{CONTACT.PRIMARY_ADDRESS_COUNTRY}</slot>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{CONTACT.ACCOUNT_NAME}</td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
{ASSOCIATED_JAVASCRIPT_DATA}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,147 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
* {APP.LBL_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Contacts/EditView.html,v 1.22 2004/07/16 04:04:42 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: error -->
<span color="red">{ERROR}</span>
<!-- END: error -->
<!-- BEGIN: startform -->
<form name="BusinessCard" action='index.php' method='post'>
<input type="hidden" name="module" value="Contacts">
<input type="hidden" name="action" value="BusinessCard">
<input type="hidden" name="handle" value="Save">
<input type="hidden" name="dup_checked" value="true">
<!-- END: startform -->
<script>
function toggleDisplay(id){
if(this.document.getElementById( id).style.display=='none'){
this.document.getElementById( id).style.display='inline'
if(this.document.getElementById(id+"link") != undefined){
this.document.getElementById(id+"link").style.display='none';
}
}else{
this.document.getElementById( id).style.display='none'
if(this.document.getElementById(id+"link") != undefined){
this.document.getElementById(id+"link").style.display='inline';
}
}
}
function isChecked(field){
return eval("document.forms['BusinessCard']."+field+".checked");
}
function checkOpportunity(){
if(!isChecked('newopportunity')){
return true;
}
removeFromValidate('BusinessCard', 'Opportunitiesaccount_name');
if(validate_form('BusinessCard', 'Opportunities')){
if(this.document.forms['BusinessCard'].selectedAccount.value != ''){
return true;
}
if(!isChecked('newaccount')){
alert('{OPPNEEDSACCOUNT}');
return false;
}
return true;
}
return false;
}
</script>
<p><table class='{TABLECLASS}' cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr><td>
<table cellpadding="0" cellspacing="0" width="100%" border="0" >
<!-- BEGIN: row -->
<tr><td>{ROWVALUE} </td></tr>
<!-- END: row -->
<!-- BEGIN: form -->
<tr ><td valign='top' align='left' class="{CLASS}"><h4 class="{CLASS}">{FORMHEADER}</h4></td></tr>
<tr ><td valign='top' align='left'>{FORMBODY}{FORMFOOTER}{POSTFORM}</td></tr>
<!-- END: form -->
<!-- BEGIN: formnoborder -->
<tr > <td valign='top' align='left' colspan='3' border='0'>{FORMHEADER}</td></tr>
<tr ><td class='{CLASS}' valign='top' align='left' colspan='1' >{FORMBODY}{FORMFOOTER}{POSTFORM}</td></tr>
<tr ><td valign='top' align='left' colspan='3' border='0'><td>&nbsp;</td></tr>
<!-- END: formnoborder -->
</table>
</td>
</tr>
</table></p>
<p> <table class='{TABLECLASS}' cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr><td>
<table cellpadding="0" cellspacing="0" width="100%" border="0" >
<!-- BEGIN: hrrow -->
<td class="{CLASS}"><h4 class="{CLASS}">{HEADER}</h4></td>
<!-- END: hrrow -->
<!-- BEGIN: headlessform -->
<tr><td valign='top' align='left' border='0'>{FORMBODY}{FORMFOOTER}{POSTFORM}</td></tr>
<!-- END: headlessform -->
</table>
</td>
</tr>
</table></p>
<!-- BEGIN: save -->
<p> <table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="right"><input title='{APP.LBL_SAVE_BUTTON_TITLE}' onclick="return (validate_form('BusinessCard', 'Contact') && validate_form('BusinessCard', 'display_account') && (!isChecked('newaccount') || validate_form('BusinessCard', 'Accounts')) {CHECKOPPORTUNITY} && (!isChecked('newappointment') || validate_form('BusinessCard', 'Appointments')))" accessKey='{APP.LBL_SAVE_BUTTON_KEY}' class='button' type='submit' name='button' value=' {APP.LBL_SAVE_BUTTON_LABEL} ' ></td>
</tr>
</table></p>
<!-- END: save -->
<!-- BEGIN: endform -->
</form>
<!-- END: endform -->
<!-- END: main -->

View File

@@ -0,0 +1,103 @@
<!--
/*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
-->
<!-- BEGIN: main -->
<form action="index.php" method="post" name="EditView" onsubmit="return check_form('EditView')">
<input type="hidden" name="module" value="Contacts" />
<input type="hidden" name="record" value="{ID}" />
<input type="hidden" name="return_module" value="{RETURN_MODULE}" />
<input type="hidden" name="return_action" value="{RETURN_ACTION}" />
<input type="hidden" name="return_id" value="{RETURN_ID}" />
<input type="hidden" name="action" value="" />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding-bottom: 2px;">
<input type="submit" name="button" class="button"
title="{APP.LBL_SAVE_BUTTON_TITLE}"
accesskey="{APP.LBL_SAVE_BUTTON_KEY}"
onclick="this.form.action.value='SaveContactOpportunityRelationship';"
value=" {APP.LBL_SAVE_BUTTON_LABEL} "
/>
<input type="submit" name="button" class="button"
title="{APP.LBL_CANCEL_BUTTON_TITLE}"
accessKey="{APP.LBL_CANCEL_BUTTON_KEY}"
onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'"
value=" {APP.LBL_CANCEL_BUTTON_LABEL} "
/>
</td>
<td align="right" nowrap="nowrap"><span class="required">{APP.LBL_REQUIRED_SYMBOL}</span> {APP.NTC_REQUIRED}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tabForm">
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" class="dataLabel"><slot>{MOD.LBL_CONTACT_NAME}</slot></td>
<td width="35%" class="dataField"><slot>
<input type="text" name='contact_name' rows="1" cols="30" value="{CONTACT.NAME}" readonly="readonly" />
<input type="hidden" name='contact_id' value='{CONTACT.ID}'>
<input type="button" name="btn1" class="button"
title="{APP.LBL_SELECT_BUTTON_TITLE}"
accesskey="{APP.LBL_SELECT_BUTTON_KEY}"
value='{APP.LBL_SELECT_BUTTON_LABEL}'
onclick='open_popup("Contacts",600,400,"",true,false,{"call_back_function":"set_return","form_name":"EditView","field_to_name_array":{"id":"contact_id","name":"contact_name"}});' />
</slot></td>
<td width="15%" class="dataLabel"><slot>{MOD.LBL_OPP_NAME}</slot></td>
<td width="35%" class="dataField"><slot>
<input type="text" class='sqsEnabled' id='opportunity_name' name='opportunity_name' rows="2" cols="30" value="{OPPORTUNITY.NAME}" />
<input id='opportunity_id' name='opportunity_id' type="hidden" value='{OPPORTUNITY.ID}'>
<input type="button" name="btn1" class="button"
title="{APP.LBL_SELECT_BUTTON_TITLE}"
accesskey="{APP.LBL_SELECT_BUTTON_KEY}"
value='{APP.LBL_SELECT_BUTTON_LABEL}'
onclick='open_popup("Opportunities",600,400,"",true,false,{"call_back_function":"set_return","form_name":"EditView","field_to_name_array":{"id":"opportunity_id","name":"opportunity_name"}});' />
</slot></td>
</tr>
<tr>
<td class="dataLabel"><slot>{MOD.LBL_CONTACT_ROLE}</slot></td>
<td class="dataField"><slot><select name='contact_role'>{CONTACT_ROLE_OPTIONS}</select></slot></td>
<td class="dataLabel"><slot>&nbsp;</slot></td>
<td class="dataField"><slot>&nbsp;</slot></td>
</tr>
</table>
</td></tr></table>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,177 @@
<!--
/*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
<script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script> <script type="text/javascript" src="modules/Emails/javascript/email_popup_helper.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<form action="index.php" method="post" name="popup_query_form" id="popup_query_form">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_FIRST_NAME}
</td>
<td class="dataField" nowrap="nowrap">
<input type="text" size="20" name="first_name" class="dataField" value="{LAST_SEARCH.FIRST_NAME}" />
</td>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_LAST_NAME}
</td>
<td class="dataField" nowrap="nowrap">
<input type="text" size="20" name="last_name" class="dataField" value="{LAST_SEARCH.LAST_NAME}" />
</td>
<td valign="top" align="right">
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="func_name" value="" />
<input type="hidden" name="request_data" value="{request_data}" />
<input type="hidden" name="populate_parent" value="false" />
<input type="hidden" name="record_id" value="" />
<input type="hidden" name="html" value="Email_picker" />
<input type="submit" name="button" class="button" title="{APP.LBL_SEARCH_BUTTON_TITLE}" accesskey="{APP.LBL_SEARCH_BUTTON_KEY}" value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
</td>
</tr>
<tr>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_ACCOUNT_NAME}
</td>
<td class="dataField">
<input type="text" size="20" name="account_name" class="dataField" value="{LAST_SEARCH.ACCOUNT_NAME}{ACCOUNT_NAME}" />
</td>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
<!--
/* initialize the popup request from the parent */
window.document.forms['popup_query_form'].request_data.value = JSON.stringify(window.opener.get_popup_request_data());
-->
</script>
<p>
<div id='addformlink'>
{CREATECONTACT}
</div>
<div id='addform' style='display:none;position:relative;z-index:2;left:0px;top:0px;'>
<form name="ContactSave" onsubmit="return check_form('ContactSave');" method="post" action="index.php">
{ADDFORMHEADER}
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="doAction" value="save" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="html" value="Email_picker" />
{ADDFORM}
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
</p>
<!-- END: SearchHeader -->
<!-- BEGIN: list_nav_row -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" class="listViewThS1" nowrap>
{CHECKALL}
</td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">
<a href="{ORDER_BY}last_name" class="listViewThLinkS1">
{MOD.LBL_LIST_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}
</a>
</td>
<td scope="col" width="20%" class="listViewThS1" nowrap="nowrap">
<a href="{ORDER_BY}email1" class="listViewThLinkS1">
{MOD.LBL_LIST_EMAIL_ADDRESS}{arrow_start}{email1_arrow}{arrow_end}
</a>
</td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">
{MOD.LBL_LIST_ACCOUNT_NAME}
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{CONTACT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmouseout="setPointer(this, '{CONTACT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmousedown="setPointer(this, '{CONTACT.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>
{PREROW}
</td>
<td scope='row' valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<a href="#" class="listViewTdLinkS1" onclick="send_back('Contacts','{CONTACT.ID}');">
{CONTACT.FULL_NAME}
</a>
</td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<a href="#" class="listViewTdLinkS1" onclick="send_back('Contacts','{CONTACT.ID}');">
{CONTACT.EMAIL1}
</a>
<br />
<a href="#" class="listViewTdLinkS1" onclick="send_back('Contacts','{CONTACT.ID}');">
{CONTACT.EMAIL2}
</a>
</td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
{CONTACT.ACCOUNT_NAME}
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1">
</td>
</tr>
<!-- END: row -->
{ASSOCIATED_JAVASCRIPT_DATA}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,70 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
* {APP.LBL_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Contacts/EditView.html,v 1.22 2004/07/16 04:04:42 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: error -->
<span class="error">{ERROR}</span>
<!-- END: error -->
<b>{MOD.LBL_IMPORT_VCARDTEXT}</b>
<script type="text/javascript">
function validate_vcard()
{
if (document.getElementById("vcard_file").value=="")
{
alert('{ERROR_TEXT}');
}
else
{
document.EditView.submit();
}
}
</script>
<form name="EditView" method="POST" ENCTYPE="multipart/form-data" action="index.php">
<input type="hidden" name="max_file_size" value="{MAX_FILE_SIZE}">
<input type='hidden' name='action' value='ImportVCard'>
<input type='hidden' name='module' value='{MODULE}'>
<input type='hidden' name='from' value='ImportVCard'>
<input size=60 name="vcard" id="vcard_file" type="file" />&nbsp;<input class='button' type="button" onclick='validate_vcard()' value="{MOD.LBL_IMPORT_VCARD}" />
</form>
<!-- END: main -->

View File

@@ -0,0 +1,184 @@
<!--
/*
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
*/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
<script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/popup_helper.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/sugar_3.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<form action="index.php" method="post" name="popup_query_form" id="popup_query_form">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_FIRST_NAME}
</td>
<td class="dataField" nowrap="nowrap">
<input type="text" size="20" name="first_name" class="dataField" value="{FIRST_NAME}" />
</td>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_LAST_NAME}
</td>
<td class="dataField" nowrap="nowrap">
<input type="text" size="20" name="last_name" class="dataField" value="{LAST_NAME}" />
</td>
<td valign="top" align="right">
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="func_name" value="" />
<input type="hidden" name="request_data" value="{request_data}" />
<input type="hidden" name="populate_parent" value="false" />
<input type="hidden" name="record_id" value="" />
<input type="hidden" name="hide_clear_button" value="true" />
<input type="submit" name="button" class="button" title="{APP.LBL_SEARCH_BUTTON_TITLE}" accesskey="{APP.LBL_SEARCH_BUTTON_KEY}" value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
<input type="hidden" name="mode" value="{MULTI_SELECT}" />
</td>
</tr>
<tr>
<td class="dataLabel" nowrap="nowrap">
{MOD.LBL_ACCOUNT_NAME}
</td>
<td class="dataField">
<input type="text" id="account_name" name="account_name" class="dataField" size="20" value="{ACCOUNT_NAME}" />
</td>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
<td>
&nbsp;
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
/* initialize the popup request from the parent */
if(window.document.forms['popup_query_form'].request_data.value == "") {
window.document.forms['popup_query_form'].request_data.value
= JSON.stringify(window.opener.get_popup_request_data());
}
// cn: bug 8104 - escaped unicode sequence printing out escaped values
var account_name = document.getElementById('account_name').value;
document.getElementById('account_name').value = unescape(account_name);
-->
</script>
<p>
<div id='addformlink'>
{CREATEBUTTON}
</div>
<div id='addform' style='display:none;position:relative;z-index:2;left:0px;top:0px;'>
<form name="ContactSave" onsubmit="return check_form('ContactSave');" method="post" action="index.php">
{ADDFORMHEADER}
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="doAction" value="save" />
<input type="hidden" name="query" value="true" />
{ADDFORM}
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
</p>
<!-- END: SearchHeader -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" class="listViewThS1" nowrap>
{CHECKALL}
</td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">
<a href="{ORDER_BY}last_name" class="listViewThLinkS1">
{MOD.LBL_LIST_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}</a>
</td>
<td scope="col" width="20%" class="listViewThS1" nowrap="nowrap">
<a href="{ORDER_BY}title" class="listViewThLinkS1">
{MOD.LBL_LIST_TITLE}{arrow_start}{title_arrow}{arrow_end}</a>
</td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">
{MOD.LBL_LIST_ACCOUNT_NAME}
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{CONTACT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmouseout="setPointer(this, '{CONTACT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmousedown="setPointer(this, '{CONTACT.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>
{PREROW}
</td>
<td scope='row' valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<{TAG_TYPE} href="#" onclick="send_back('Contacts','{CONTACT.ID}');" class="listViewTdLinkS1">{CONTACT.FULL_NAME}
</{tag_type}>
</td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
{CONTACT.TITLE}
</td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
{CONTACT.ACCOUNT_NAME}
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1">
</td>
</tr>
<!-- END: row -->
</table>
{ASSOCIATED_JAVASCRIPT_DATA}
<!-- END: main -->

View File

@@ -0,0 +1,271 @@
<!--
/*
* The contents of this file are subject to the SugarCRM Public License Version
* 1.1.3 ("License"); You may not use this file except in compliance with the
* License. You may obtain a copy of the License at http://www.sugarcrm.com/SPL
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* All copies of the Covered Code must include on each user interface screen:
* (i) the "Powered by SugarCRM" logo and
* (ii) the SugarCRM copyright notice
* in the same form as they appear in the distribution. See full license for
* requirements.
*
* The Original Code is: SugarCRM Open Source
* The Initial Developer of the Original Code is SugarCRM, Inc.
* Portions created by SugarCRM are Copyright (C) 2004-2006 SugarCRM, Inc.;
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
<script type="text/javascript" src="include/JSON.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/popup_helper.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script>
function selectTabCSS(id){
document.getElementById("basic_form").style.display='none';
document.getElementById("advanced_form").style.display='none';
document.getElementById("link_basic").className='';
document.getElementById("link_advanced").className='';
document.getElementById("tab_basic").className='';
document.getElementById("tab_advanced").className='';
document.getElementById(id+"_form").style.display='';
document.getElementById("link_"+id).className='current';
document.getElementById("tab_"+id).className='active';
document.getElementById("tab").value=id;
if(id=="advanced"){
var bi=document.getElementById("basic_form").getElementsByTagName("input");
for(var i=0;i<bi.length;i++){
if(bi[i].type=="text")bi[i].value="";
if(bi[i].type=="checkbox")bi[i].checked=false;
}
var bs=document.getElementById("basic_form").getElementsByTagName("select");
for(var i=0;i<bs.length;i++){
bs[i].value="";
}
}
if(id=="basic"){
var ai=document.getElementById("advanced_form").getElementsByTagName("input");
for(var i=0;i<ai.length;i++){
if(ai[i].type=="text")ai[i].value="";
if(ai[i].type=="checkbox")ai[i].checked=false;
}
var as=document.getElementById("basic_form").getElementsByTagName("select");
for(var i=0;i<as.length;i++){
as[i].value="";
}
}
}
//selectTabCSS(document.getElementById("tab").value);
</script>
<ul class="tablist">
<li class="active" id="tab_basic"><a class="current" id="link_basic" href="javascript:selectTabCSS('basic');">Podstawe wyszukwianie</a></li>
<li class="" id="tab_advanced"><a class="" id="link_advanced" href="javascript:selectTabCSS('advanced');">Zaawanasowane wyszukiwanie</a></li>
</ul>
<form action="index.php" method="post" name="popup_query_form" id="search_form">
<input type="hidden" name="tab" id="tab" value="{TABB}" />
<input type="hidden" name="div" id="div" value="{DIV}" />
<input type="hidden" name="pre" id="pre" value="{PRE}" />
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="request_data" value="{request_data}" />
<input type="hidden" name="record_id" value="" />
<input type="hidden" name="mode" value="{MULTI_SELECT}" />
<table cellpaddin="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<table cellpaddin="0" cellspacing="0" border="0" width="100%" id="advanced_form" style="display:none;border-top: 0px none; margin-bottom: 4px;" class="tabForm">
<tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Imię</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="first_name_advanced" id="first_name_advanced" size="30" maxlength="100" value="{FIRST_NAME}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Ulica</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_street_advanced" id="address_street_advanced" size="30" value="{ADDRESS}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Telefon</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="phone_advanced" id="phone_advanced" size="30" value="{PHONE}" title="" tabindex="" type="text"></td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Nazwisko</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="last_name_advanced" id="last_name_advanced" size="30" maxlength="100" value="{LAST_NAME}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Miasto</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_city_advanced" id="address_city_advanced" size="30" value="{CITY}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Email</td><td class="dataField" width="30%" nowrap="nowrap"><input name="email_advanced" id="email_advanced" size="30" value="{EMAIL}" title="" tabindex="" type="text"></td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Kontrahent</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="account_name_advanced" tabindex="" id="account_name_advanced" size="" value="{ACCOUNT_NAME}" title="" type="text">
<input name="account_id_advanced" id="account_id_advanced" value="{ACCOUNT_ID}" type="hidden"><input name="btn_account_name_advanced" tabindex="" title="Select [Alt+T]" accesskey="T" class="button" value="Select" onclick='open_popup("Accounts", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"search_form","field_to_name_array":{"id":"account_id_advanced","name":"account_name_advanced"}}, "single", true,"new");' type="button"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Województwo</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_state_advanced" id="address_state_advanced" size="30" value="{STATE}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Nie dzwonić</td>
<td class="dataField" width="30%" nowrap="nowrap">
<select id="do_not_call_advanced" name="do_not_call_advanced" tabindex="">
{DO_NOT_CALL_LIST}
</select>
</td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Asystent</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="assistant_advanced" id="assistant_advanced" size="30" maxlength="75" value="{ASSISTANT}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Kod pocztowy</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_postalcode_advanced" id="address_postalcode_advanced" size="30" value="{POSTAL_CODE}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Miasto</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="primary_address_country_advanced" id="primary_address_country_advanced" size="30" value="{COUNTRY}" title="" tabindex="" type="text"></td>
</tr><tr>
<td colspan="20">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="basic_form" style="border-top: 0px none; margin-bottom: 4px;" class="tabForm">
<tr>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_FIRST_NAME}&nbsp;&nbsp;<input type="text" name="first_name" size="20" class="dataField" value="{FIRST_NAME}" /></td>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_LAST_NAME}&nbsp;&nbsp;<input type="text" name="last_name" size="20" class="dataField" value="{LAST_NAME}" /></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Kontrahent</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="account_name" tabindex="" id="account_name" size="" value="{ACCOUNT_NAME}" title="" type="text">
<input name="account_id" id="account_id" value="{ACCOUNT_ID}" type="hidden"><input name="btn_account_name" tabindex="" title="Select [Alt+T]" accesskey="T" class="button" value="Select" onclick='open_popup("Accounts", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"search_form","field_to_name_array":{"id":"account_id","name":"account_name"}}, "single", true,"new");' type="button"></td>
<td width="20%" align="right"> </td>
</tr>
<tr>
<td class="dataLabel" nowrap="nowrap">Tylko moje: <input type="checkbox" name="only_my_items" value="1" {OMI_CHECKED} /></td>
<td class="dataLabel" nowrap="nowrap">&nbsp;</td>
<td class="dataLabel" nowrap="nowrap">&nbsp;</td>
<td class="dataField" nowrap="nowrap">&nbsp;</td>
<td align="right"></td>
</tr>
</table>
</td>
</tr>
</table>
<input type="submit" name="button" class="button"
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
<input type="button" name="button" class="button"
title="Clear"
value="Clear" onclick="selectTabCSS(document.getElementById('tab').value);location.reload();" />
</form>
<script type="text/javascript">
<!--
/* initialize the popup request from the parent */
if(window.document.forms['popup_query_form'].request_data.value == "")
{
window.document.forms['popup_query_form'].request_data.value
= JSON.stringify(window.opener.get_popup_request_data());
}
// cn: bug 8104 - escaped unicode sequence printing out escaped values
var account_name = document.getElementById('account_name').value;
document.getElementById('account_name').value = unescape(account_name);
-->
</script>
<p>
<div id='addformlink'>{CREATEBUTTON}
<div id='addform' style='display:none;position:relative;z-index:2;left:0px;top:0px;'>
<form name="ContactSave" onsubmit="return check_form('ContactSave');" method="post" action="index.php">
{ADDFORMHEADER}
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="tabForm">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="doAction" value="save" />
<input type="hidden" name="query" value="true" />
{ADDFORM}
</td></tr>
</table></td></tr></table>
</form>
</div>
</p>
<!-- END: SearchHeader -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
{PAG}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap"><a href="{ORDER_BY}last_name" class="listViewThLinkS1">{MOD.LBL_LIST_CONTACT_NAME}{arrow_start}{last_name_arrow}{arrow_end}</a></td>
<td scope="col" width="20%" class="listViewThS1" nowrap="nowrap"><a href="{ORDER_BY}title" class="listViewThLinkS1">{MOD.LBL_LIST_TITLE}{arrow_start}{title_arrow}{arrow_end}</a></td>
<td scope="col" width="40%" class="listViewThS1" nowrap="nowrap">{MOD.LBL_LIST_ACCOUNT_NAME}</td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{CONTACT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{CONTACT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{CONTACT.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td scope='row' valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><a href="#" onclick="send_back('Contacts','{CONTACT.ID}');" class="listViewTdLinkS1">{CONTACT.FULL_NAME}</a></td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{CONTACT.TITLE}</td>
<td valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">{CONTACT.ACCOUNT_NAME}</td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
</table>
<script type="text/javascript">
function save_checks(offset,n) {
checked_ids = Array();
for (i = 0; i < document.MassUpdate.elements.length; i++){
if(document.MassUpdate.elements[i].name == 'mass[]' && document.MassUpdate.elements[i].checked) {
temp_string = '';
temp_string += '"' + document.MassUpdate.elements[i].value + '": {';
for(the_key in associated_javascript_data[document.MassUpdate.elements[i].value]) {
temp_string += '"' + the_key + '":"' + associated_javascript_data[document.MassUpdate.elements[i].value][the_key] + '",';
}
temp_string = temp_string.substring(0,temp_string.length - 1);
temp_string += '}';
checked_ids.push(temp_string);
}
}
document.MassUpdate.saved_associated_data.value = escape('{' + checked_ids.join(',') + '}');
document.MassUpdate.action.value = "Popup";
document.MassUpdate.Contacts_CONTACT_offset.value = offset;
document.MassUpdate.submit();
}
// reassigned the saved data from the saved checks
if(typeof(document.MassUpdate) != 'undefined' && document.MassUpdate.saved_associated_data.value != '') {
temp_array = [];
for(the_key in temp_array) {
associated_javascript_data[the_key] = temp_array[the_key];
}
}
// save checks across pages for multiselects
if(typeof(document.MassUpdate) != "undefined") {
checked_items = Array();
inputs_array = document.MassUpdate.elements;
for(wp = 0 ; wp < inputs_array.length; wp++) {
if(inputs_array[wp].name == "mass[]" && inputs_array[wp].style.display == "none") {
checked_items.push(inputs_array[wp].value);
}
}
for(i in checked_items) {
for(wp = 0 ; wp < inputs_array.length; wp++) {
if(inputs_array[wp].name == "mass[]" && inputs_array[wp].value == checked_items[i]) {
inputs_array[wp].checked = true;
}
}
}
}
</script>
{ASSOCIATED_JAVASCRIPT_DATA}
<!-- END: main -->

View File

@@ -0,0 +1,347 @@
<!--
/*****************************************************************************
* The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
* Version 1.1 ("License"); You may not use this file except in compliance
* with the License. You may obtain a copy of the License at
* http://opensource.org/licenses/rpl.php. Software distributed under the
* License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
* either express or implied.
*
* You may:
* a) Use and distribute this code exactly as you received without payment or
* a royalty or other fee.
* b) Create extensions for this code, provided that you make the extensions
* publicly available and document your modifications clearly.
* c) Charge for a fee for warranty or support or for accepting liability
* obligations for your customers.
*
* You may NOT:
* a) Charge for the use of the original code or extensions, including in
* electronic distribution models, such as ASP (Application Service
* Provider).
* b) Charge for the original source code or your extensions other than a
* nominal fee to cover distribution costs where such distribution
* involves PHYSICAL media.
* c) Modify or delete any pre-existing copyright notices, change notices,
* or License text in the Licensed Software
* d) Assert any patent claims against the Licensor or Contributors, or
* which would in any way restrict the ability of any third party to use the
* Licensed Software.
*
* You must:
* a) Document any modifications you make to this code including the nature of
* the change, the authors of the change, and the date of the change.
* b) Make the source code for any extensions you deploy available via an
* Electronic Distribution Mechanism such as FTP or HTTP download.
* c) Notify the licensor of the availability of source code to your extensions
* and include instructions on how to acquire the source code and updates.
* d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
* reproduce, perform, modify, sublicense, and distribute your extensions.
*
* The Original Code is: CommuniCore
* Olavo Farias
* 2006-04-7 olavo.farias@gmail.com
*
* The Initial Developer of the Original Code is CommuniCore.
* Portions created by CommuniCore are Copyright (C) 2005 CommuniCore Ltda
* All Rights Reserved.
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: SearchHeader -->
<script>
function selectTabCSS(id){
document.getElementById("basic_form").style.display='none';
document.getElementById("advanced_form").style.display='none';
document.getElementById("link_basic").className='';
document.getElementById("link_advanced").className='';
document.getElementById("tab_basic").className='';
document.getElementById("tab_advanced").className='';
document.getElementById(id+"_form").style.display='';
document.getElementById("link_"+id).className='current';
document.getElementById("tab_"+id).className='active';
document.getElementById("tab").value=id;
if(id=="advanced"){
var bi=document.getElementById("basic_form").getElementsByTagName("input");
for(var i=0;i<bi.length;i++){
if(bi[i].type=="text")bi[i].value="";
if(bi[i].type=="checkbox")bi[i].checked=false;
}
var bs=document.getElementById("basic_form").getElementsByTagName("select");
for(var i=0;i<bs.length;i++){
bs[i].value="";
}
}
if(id=="basic"){
var ai=document.getElementById("advanced_form").getElementsByTagName("input");
for(var i=0;i<ai.length;i++){
if(ai[i].type=="text")ai[i].value="";
if(ai[i].type=="checkbox")ai[i].checked=false;
}
var as=document.getElementById("basic_form").getElementsByTagName("select");
for(var i=0;i<as.length;i++){
as[i].value="";
}
}
}
selectTabCSS(document.getElementById("tab").value);
</script>
<ul class="tablist">
<li class="active" id="tab_basic"><a class="current" id="link_basic" href="javascript:selectTabCSS('basic');">Basic Search</a></li>
<li class="" id="tab_advanced"><a class="" id="link_advanced" href="javascript:selectTabCSS('advanced');">Advanced Search</a></li>
</ul>
<form action="index.php" method="post" name="popup_query_form" id="search_form">
<input type="hidden" name="tab" id="tab" value="{TABB}" />
<input type="hidden" name="div" id="div" value="{DIV}" />
<input type="hidden" name="pre" id="pre" value="{PRE}" />
<input type="hidden" name="module" value="{MODULE_NAME}" />
<input type="hidden" name="Contacts_CONTACT_offset" id="Contacts_CONTACT_offset" value="0" />
<input type="hidden" name="action" value="PopupEmails" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="request_data" value="{request_data}" />
<input type="hidden" name="record_id" value="" />
<input type="hidden" name="mode" value="{MULTI_SELECT}" />
<table cellpaddin="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<table cellpaddin="0" cellspacing="0" border="0" width="100%" id="advanced_form" style="display:none;border-top: 0px none; margin-bottom: 4px;" class="tabForm">
<tr>
<td class="dataLabel" width="10%" nowrap="nowrap">First Name</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="first_name_advanced" id="first_name_advanced" size="30" maxlength="100" value="{FIRST_NAME}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Any Address</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_street_advanced" id="address_street_advanced" size="30" value="{ADDRESS}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Any Phone</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="phone_advanced" id="phone_advanced" size="30" value="{PHONE}" title="" tabindex="" type="text"></td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Last Name</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="last_name_advanced" id="last_name_advanced" size="30" maxlength="100" value="{LAST_NAME}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">City</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_city_advanced" id="address_city_advanced" size="30" value="{CITY}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Any Email</td><td class="dataField" width="30%" nowrap="nowrap"><input name="email_advanced" id="email_advanced" size="30" value="{EMAIL}" title="" tabindex="" type="text"></td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Account Name</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="account_name_advanced" tabindex="" id="account_name_advanced" size="" value="{ACCOUNT_NAME}" title="" type="text">
<input name="account_id_advanced" id="account_id_advanced" value="{ACCOUNT_ID}" type="hidden"><input name="btn_account_name_advanced" tabindex="" title="Select [Alt+T]" accesskey="T" class="button" value="Select" onclick='open_popup("Accounts", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"search_form","field_to_name_array":{"id":"account_id_advanced","name":"account_name_advanced"}}, "single", true,"new");' type="button"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">State</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_state_advanced" id="address_state_advanced" size="30" value="{STATE}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Do Not Call</td>
<td class="dataField" width="30%" nowrap="nowrap">
<select id="do_not_call_advanced" name="do_not_call_advanced" tabindex="">
{DO_NOT_CALL_LIST}
</select>
</td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Assistant</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="assistant_advanced" id="assistant_advanced" size="30" maxlength="75" value="{ASSISTANT}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Postal Code</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="address_postalcode_advanced" id="address_postalcode_advanced" size="30" value="{POSTAL_CODE}" title="" tabindex="" type="text"></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Country</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="primary_address_country_advanced" id="primary_address_country_advanced" size="30" value="{COUNTRY}" title="" tabindex="" type="text"></td>
</tr><tr>
<td class="dataLabel" width="10%" nowrap="nowrap">Assigned to</td>
<td class="dataField" width="30%" nowrap="nowrap">
<select name="assigned_user_id_advanced[]" style="width: 150px;" multiple="true" size="6">
{ASSIGNED_TO_LIST}
</select>
</td>
</tr><tr>
<td colspan="20">
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="basic_form" style="border-top: 0px none; margin-bottom: 4px;" class="tabForm">
<tr>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_FIRST_NAME}&nbsp;&nbsp;<input type="text" name="first_name" size="20" class="dataField" value="{FIRST_NAME}" /></td>
<td class="dataLabel" nowrap="nowrap">{MOD.LBL_LAST_NAME}&nbsp;&nbsp;<input type="text" name="last_name" size="20" class="dataField" value="{LAST_NAME}" /></td>
<td class="dataLabel" width="10%" nowrap="nowrap">Account Name</td>
<td class="dataField" width="30%" nowrap="nowrap"><input name="account_name" tabindex="" id="account_name" size="" value="{ACCOUNT_NAME}" title="" type="text">
<input name="account_id" id="account_id" value="{ACCOUNT_ID}" type="hidden"><input name="btn_account_name" tabindex="" title="Select [Alt+T]" accesskey="T" class="button" value="Select" onclick='open_popup("Accounts", 600, 400, "", true, false, {"call_back_function":"set_return","form_name":"search_form","field_to_name_array":{"id":"account_id","name":"account_name"}}, "single", true,"new");' type="button"></td>
<td width="20%" align="right"> </td>
</tr>
<tr>
<td class="dataLabel" nowrap="nowrap">Only my items: <input type="checkbox" name="only_my_items" value="1" {OMI_CHECKED} /></td>
<td class="dataLabel" nowrap="nowrap">&nbsp;</td>
<td class="dataLabel" nowrap="nowrap">&nbsp;</td>
<td class="dataField" nowrap="nowrap">&nbsp;</td>
<td align="right"></td>
</tr>
</table>
</td>
</tr>
</table>
<input type="submit" name="button" class="button"
title="{APP.LBL_SEARCH_BUTTON_TITLE}"
accessKey="{APP.LBL_SEARCH_BUTTON_KEY}"
value="{APP.LBL_SEARCH_BUTTON_LABEL}" />
<input type="button" name="button" class="button"
title="Clear"
value="Clear" onclick="selectTabCSS(document.getElementById('tab').value);location.reload();" />
</form>
<script type="text/javascript">
<!--
/* initialize the popup request from the parent */
if(window.document.forms['popup_query_form'].request_data.value == "")
{
window.document.forms['popup_query_form'].request_data.value
= JSON.stringify(window.opener.get_popup_request_data());
}
-->
function add_to_div(module,id,name,email){
var pre=document.getElementById("pre").value;
if(pre=="contacts_to")var addr="addressTo"+parent.opener.document.getElementById("idx").value;
if(pre=="contacts_cc")var addr="addressCC"+parent.opener.document.getElementById("idx").value;
if(pre=="contacts_bcc")var addr="addressBCC"+parent.opener.document.getElementById("idx").value;
var L=parent.opener.document.getElementById(pre+"_count").value;
L++;
var div=parent.opener.document.getElementById(pre+"_div");
div.setAttribute("style","width: 500px;padding-left:6px; max-height:50px; overflow:auto;display:none;");
var div_acc=document.createElement("div");
div_acc.setAttribute("id",pre+"_div_"+L);
div_acc.setAttribute("style","");
div.appendChild(div_acc);
var input=document.createElement("input");
input.setAttribute("name",pre+"_name_"+L);
input.setAttribute("type","text");
input.setAttribute("value",name);
div_acc.appendChild(input);
var input=document.createElement("input");
input.setAttribute("name",pre+"_id_"+L);
input.setAttribute("type","text");
input.setAttribute("style","display:none;");
input.setAttribute("value",id);
div_acc.appendChild(input);
var span=document.createElement("span");
span.innerHTML='&nbsp;';
div_acc.appendChild(span);
var img=document.createElement("img");
img.setAttribute("src","themes/Sugar/images/delete_inline.gif");
img.style.cursor="pointer";
img.onclick=function(){div.removeChild(div_acc);div.removeChild(br1);};
div_acc.appendChild(img);
var em=email.split("||");
for(var j=0;j<em.length;j++){
if(em[j]!="" && em[j]!=" "){
var input=document.createElement("input");
input.setAttribute("name",pre+"_email_check_"+L+"_"+j);
input.setAttribute("type","checkbox");
input.setAttribute("checked","checked");
input.setAttribute("value",em[j]);
div_acc.appendChild(input);
var span=document.createElement("span");
span.setAttribute("id",pre+"_email_"+L+"_"+j);
span.innerHTML="&nbsp;"+em[j];
div_acc.appendChild(span);
parent.opener.document.getElementById(addr).value=parent.opener.document.getElementById(addr).value+"; "+name+" <"+em[j]+">";
}
}
parent.opener.document.getElementById(pre+"_count").value=L;
window.close();
}
i=0;
</script>
<!-- END: SearchHeader -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="listView" id="table_acc">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20" class="listViewThS1">
<td scope="col" width="5%" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_NAME}{arrow_start}{name_arrow}{arrow_end}</a>
</slot>
</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_TITLE}{arrow_start}{title_arrow}{arrow_end}</a>
</slot>
</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_ACCOUNT_NAME}{arrow_start}{account_name_arrow}{arrow_end}</a>
</slot>
</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_EMAIL_ADDRESS}{arrow_start}{email1_arrow}{arrow_end}</a>
</slot>
</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_OFFICE_PHONE}{arrow_start}{phone_work_arrow}{arrow_end}</a>
</slot>
</td>
<td scope="col" scope="col" width="35%" class="listViewThS1" NOWRAP>
<slot>
<a href="{ORDER_BY}name" class="listViewThLinkS1">User{arrow_start}{assigned_user_name_arrow}{arrow_end}</a>
</slot>
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20"
onmouseover="setPointer(this, '{CONTACT.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmouseout="setPointer(this, '{CONTACT.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');"
onmousedown="setPointer(this, '{CONTACT.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>
<{TAG.MAIN} href="#"
onclick="add_to_div('Contact','{CONTACT.ID}','{CONTACT.NAME}','{CONTACT.ADDRS}')"
class="listViewTdLinkS1">{CONTACT.NAME}</{TAG.MAIN}>
</slot>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>{CONTACT.TITLE}</slot>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot><a href="index.php?module=Accounts&action=DetailView&record={CONTACT.ACCOUNT_ID}">{CONTACT.ACCOUNT_NAME}</a></slot>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>{CONTACT.EMAIL1}</slot>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>{CONTACT.PHONE_WORK}</slot>
</td>
<td scope="row" valign="top" class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<slot>{CONTACT.ASSIGNED_USER_NAME}</slot>
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>
{ASSOCIATED_JAVASCRIPT_DATA}
<script>
function addAll(m){
var checks=document.getElementById("table_acc").getElementsByTagName("input");
for(i=0;i<31;i++){
if(checks[i] && checks[i].name!="massall" && checks[i].checked==true){
if(associated_javascript_data[checks[i].value].ADDRS==null)var addrs="";
else var addrs=associated_javascript_data[checks[i].value].ADDRS
if(addrs!="")add_to_div('Contact',associated_javascript_data[checks[i].value].ID,associated_javascript_data[checks[i].value].NAME,addrs);
}
}
}
selectTabCSS(document.getElementById("tab").value);
</script>
<!-- END: main -->

View File

@@ -0,0 +1,67 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
* {APP.LBL_CURRENCY_SYM}Header: /cvsroot/sugarcrm/sugarcrm/modules/Contacts/EditView.html,v 1.22 2004/07/16 04:04:42 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<!-- BEGIN: error -->
<span class="color">{ERROR}</span>
<!-- END: error -->
<form action='index.php' method='post' name='Save'>
<input type="hidden" name="module" value="Contacts">
<input type="hidden" name="return_module" value="{RETURN_MODULE}">
<input type="hidden" name="return_action" value="{RETURN_ACTION}">
<input type="hidden" name="return_id" value="{RETURN_ID}">
<input type="hidden" name="inbound_email_id" value="{INBOUND_EMAIL_ID}">
<input type="hidden" name="start" value="{START}">
<input type="hidden" name="dup_checked" value="true">
<input type="hidden" name="action" value="">
{INPUT_FIELDS}
<p> <table class='{TABLECLASS}' cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr><td>
<table cellpadding="0" cellspacing="0" width="100%" border="0" >
<tr ><td valign='top' align='left' border='0' class="{CLASS}"><h4 class="{CLASS}">{FORMHEADER}</h4></td></tr>
<tr><td valign='top' align='left'>{FORMBODY}{FORMFOOTER}{POSTFORM}</td></tr>
</table>
</td>
</tr>
</table>
</p>
<!-- END: main -->

View File

@@ -0,0 +1,51 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contacts Business Card</h1>
<p>Use this page to enter a contact's business card information such as address, phone numbers, fax number, and email address. Optionally, from the Lead Source drop-down list, specify how the contact source, such as a trade show or a cold call. You can add additional comments in the Description field.

View File

@@ -0,0 +1,60 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contact Detail Page</h1>
<p>View the contact details such as address, activities, history, and opportunities. You can create and manage any of this information from the appropriate sub-panel.</p>
<ul>
<li>To edit the contact information, click <span class="helpButton">Edit</span>, make the necessary revisions, and click <span class="helpButton">Save</span>. </li>
<li>To duplicate the information, click <span class="helpButton">Duplicate</span>. You can then make modifications to the record and save it as a different contact. The system displays the new record in the list on the Contacts Home page.</li>
<li>To find duplicate records, click <span class="helpButton">Find Duplicates</span>.
<li>To view or merge data from external data sources, click <span class="helpButton">Get Data</span>. This button displays only if the system administrator has enabled this functionality.
<li>To manage newsletter subscriptions, click <span class="helpButton">Manage Subscriptions</span>. To add the individual to a newsletter subscription mailing list, select the newsletter from the Available Newsletters list and drag it to the NewsLetters Subscribed To list.
Similarly, to remove the individual from the mailing list of a newsletter, drag the newsletter from the Newsletters Subscribed to list to the Available Newsletters list. Click <span class="helpButton">Save</span> to update the information.
<li>To delete a contact, click <span class="helpButton">Delete</span>.</li>
<li>To track changes made to contact information over time, click the <span class="helpButton">View Change Log</span> link.</li>
</ul>

View File

@@ -0,0 +1,92 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contacts</h1>
<p>To create a contact, enter the following information:</p>
<span class="helpButton">Contact Information:</span>
<li><span class="helpButton">First Name</span>. Enter the contact's first name.</li>
<li><span class="helpButton">Last Name</span>. Enter the contact's last name.</li>
<li><span class="helpButton">Account Name</span>. From the drop-down list, select the name of the related account.</li>
<li><span class="helpButton">Lead Source</span>. From the drop-down list, select how the lead was generated.</li>
<li><span class="helpButton">Campaign</span>. Enter the name of the associated campaign, if applicable. To select a campaign from the Campaigns list, click <span class="helpButton">Select</span> and then click the campaign name in the list.</li>
<li><span class="helpButton">Office Phone</span>. Enter the contact's work number.</li>
<li><span class="helpButton">Mobile</span>. Enter the contact's mobile phone number.</li>
<li><span class="helpButton">Home</span>. Enter the contact's home phone number.</li>
<li><span class="helpButton">Other Phone</span>. Enter the alternative phone number, if any.</li>
<li><span class="helpButton">Fax</span>. Enter the contact's fax number.</li>
<li><span class="helpButton">Assistant</span>. Enter the assistant's name.</li>
<li><span class="helpButton">Assistant Phone</span>. Enter the assistant's phone number.</li>
<li><span class="helpButton">Account Name</span>. Enter the account name associated with the contact; alternatively, click <span class="helpButton">Select</span> to choose from the existing list of accounts.</li>
<li><span class="helpButton">Lead Source</span>. From the drop-down list, select the source that generated the lead, such as direct mail or trade show.</li>
<li><span class="helpButton">Title</span>. Enter the contact's business title.</li>
<li><span class="helpButton">Department</span>. Enter the department to which the contact belongs.</li>
<li><span class="helpButton">Birthdate</span>. Click the Calendar icon and select the contact's birthdate.</li>
<li><span class="helpButton">Reports To</span>. Click <span class="helpButton">Select</span> and select the contact's supervisor from the Contacts list.</li>
<li><span class="helpButton">Sync to Outlook</span>. If you have installed Sugar Plug-in for Microsoft Outlook, select this box to synchronize this contact information with Outlook.</li>
<li><span class="helpButton">Do Not Call</span>. Select this box to add the contact to the Do Not Call list. This is to ensure that the contact is not targeted during campaigns.</li>
<li><span class="helpButton">Assigned to</span>. Select the individual who is responsible for communicating with this contact. By default, you are assigned to the contact.
</ul>
<p>
<span class="helpButton">Email Address(es):</span>
Enter one or more emails addresses for the contact and mark it as Primary. If an email address is incorrect, select Invalid to mark it as incorrect. If you sent out campaign emails this contact and the individual chose to opt-out of receiving them, select Opted Out.
<p>
<span class="helpButton">Address Information:</span> Enter the primary address and other address information. To copy information from one section to the other, you can enter the address information on either one of the sections and click the arrow buttons. If you select a contact from the Contact's list, the system automatically enters the address for you. However, you can edit this information if needed.</p>
<p><span class="helpButton">Description:</span> Enter a brief description for the contact.</p>
<p><span class="helpButton">Portal Information:</span></p>
<ul>
<li><span class="helpButton">Portal Name</span>. Assign a user name to allow the contact to access your Case portal.</li>
<li><span class="helpButton">Portal Password</span>. Enter a user password for the contact to access the portal.
<li><span class="helpButton">Confirm Portal Password</span>. Enter the password again to confirm it.
<li><span class="helpButton">Portal Active</span>. Select this box if the portal is active.</li>
</ul>
Click <span class="helpButton">Save</span> to create the contact; click <span class="helpButton">Cancel</span> to return to the Contacts Home page without creating the new contact.</li>

View File

@@ -0,0 +1,53 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contacts Import Vcard</h1>
Use this page to import a contact's electronic business card in vCard format from your local machine.
<p>To import a vCard file from your local file system into Sugar, click <span class="helpButton">Browse</span>, navigate to the vCard location on your local machine, and click <span class="helpButton">Open</span>. When the file path displays in the field, click <span class="helpButton">Import Vcard</span>.
<p>The system creates a new contact and displays the information from the vCard on the new contact's detail page.

View File

@@ -0,0 +1,79 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004 - 2009 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation with the addition of the following permission added
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, see http://www.gnu.org/licenses or write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "Powered by
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
* technical reasons, the Appropriate Legal Notices must display the words
* "Powered by SugarCRM".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contacts</h1>
<p>Use the Contacts module to create and manage contacts for your organization. Contacts are individuals who are not employees of your organization such as customers and vendors.</p>
<p>The Contacts Home page displays the following information:</p>
<ul>
<li>A Search sub-panel where you can enter the subject or contact to search for related activities. To perform an advanced search using additional fields, click the <span class="helpButton">Advanced Search</span> tab.
<br>To customize and save the search layout and results, click the <span class="helpButton">Saved Search & Layout</span> link on the Advanced tab. To view a column in the search result, move it to the Display Column list using the left arrow. You can also change the order in which the results display from Ascending to Descending. Enter a name for the search results in the Save this View as ? field and click <span class="helpButton">Save</span>.
<p>
<li>To search for contacts in records assigned to you, select <span class="helpButton">Only my items</span>.
<li>To perform an advanced search using additional fields, click the <span class="helpButton">Advanced Search</span> tab.
<li>To customize and save the search layout and results, click the <span class="helpButton">Saved Search & Layout</span> tab.
</ul>
<li>A list of existing contact names along with related information such as the account name and email address.</li><ul>
<li>To edit the contact details, click the Edit icon adjacent to the user name; alternatively, click <span class="helpButton">Edit</span> on the detail page.
<li>To email a contact, click the email address.</ul>
<li>To view the details of a contact, click the name in the Contacts list.</li>
<li>To update, delete, and synchronize multiple contacts, select the contacts from the list and use the Mass Update section.</li>
<li>To display the details of a contact, click the contact name in the list.
<li>To export one or more contacts, click <span class="helpButton">Export</span> located above the contact names.
<li>To merge duplicate contacts into one record, select the contacts, and click <span class="helpButton">Merge Duplicates</span>.
</ul>
<ul>
<li>A Shortcuts section that displays the following options:</li><ul>
<li><span class="helpShortcut">Create Contact</span>. Click this option to create a record for a new contact.</li>
<li><span class="helpShortcut">Enter Business Card</span>. Click this option to add information from the business card of a new contact.</li>
<li><span class="helpShortcut">Create From vCard</span>. Click this option to import a vCard file from your local system.</li>
<li><span class="helpShortcut">Contacts</span>. Click this option to navigate back to the Contacts Home page from a contact's detail page.</li>
<li><span class="helpShortcut">Contact Reports</span>. Click this option to view an existing report on your contacts, or to create a new report.</li>
<li><span class="helpShortcut">Import</span>. Click this option to import contact information from an external application or file.</li>
</ul>

View File

@@ -0,0 +1,52 @@
<!--
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Enterprise Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/products/sugar-enterprise-eula.html
* By installing or using this file, You have unconditionally agreed to the
* terms and conditions of the License, and You may not use this file except in
* compliance with the License. Under the terms of the license, You shall not,
* among other things: 1) sublicense, resell, rent, lease, redistribute, assign
* or otherwise transfer Your rights to the Software, and 2) use the Software
* for timesharing or service bureau purposes such as hosting the Software for
* commercial gain and/or for the benefit of a third party. Use of the Software
* may be subject to applicable fees and any use of the Software without first
* paying applicable fees is strictly prohibited. You do not have the right to
* remove SugarCRM copyrights from the source code or user interface.
*
* All copies of the Covered Code must include on each user interface screen:
* (i) the "Powered by SugarCRM" logo and
* (ii) the SugarCRM copyright notice
* in the same form as they appear in the distribution. See full license for
* requirements.
*
* Your Warranty, Limitations of liability and Indemnity are expressly stated
* in the License. Please refer to the License for the specific language
* governing these rights and limitations under the License. Portions created
* by SugarCRM are Copyright (C) 2004-2008 SugarCRM, Inc.; All Rights Reserved.
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<h1>Contact Detail Page</h1>
<p>View the contact details such as address, activities, history, and opportunities. You can create and manage any of this information from the appropriate sub-panel.</p>
<ul>
<li>To edit the contact information, click <span class="helpButton">Edit</span>, make the necessary revisions, and click <span class="helpButton">Save</span>. </li>
<li>To duplicate the information, click <span class="helpButton">Duplicate</span>. You can then make modifications to the record and save it as a different contact. The system displays the new record in the list on the Contacts Home page.</li>
<li>To find duplicate records, click <span class="helpButton">Find Duplicates</span>.
<li>To view or merge data from external data sources, click <span class="helpButton">Get Data</span>. This button displays only if the system administrator has enabled this functionality.
<li>To manage newsletter subscriptions, click <span class="helpButton">Manage Subscriptions</span>. To add the individual to a newsletter subscription mailing list, select the newsletter from the Available Newsletters list and drag it to the NewsLetters Subscribed To list.
Similarly, to remove the individual from the mailing list of a newsletter, drag the newsletter from the Newsletters Subscribed to list to the Available Newsletters list. Click <span class="helpButton">Save</span> to update the information.
<li>To delete a contact, click <span class="helpButton">Delete</span>.</li>
<li>To track changes made to contact information over time, click the <span class="helpButton">View Change Log</span> link.</li>
</ul>