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

155
modules/Emails/DetailView.html Executable file
View File

@@ -0,0 +1,155 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" language="Javascript">
{JS_VARS}
</script>
<form action="index.php" method="POST" name="DetailView" id="form">
<input type="hidden" name="module" value="Emails">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="isDuplicate" value=false>
<input type="hidden" name="action">
<input type="hidden" name="contact_id" value="{CONTACT_ID}">
<input type="hidden" name="user_id" value="{USER_ID}">
<input type="hidden" name="return_module">
<input type="hidden" name="return_action">
<input type="hidden" name="return_id">
<input type="hidden" name="assigned_user_id">
<input type="hidden" name="type" value="{TYPE}">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-bottom: 2px;" width="30%">
<input title="{APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{APP.LBL_EDIT_BUTTON_KEY}" class="button"
onclick=" this.form.return_module.value='Emails';
this.form.return_action.value='DetailView';
this.form.return_id.value='{ID}';
this.form.action.value='EditView'"
type="submit" name="Edit" value=" {APP.LBL_EDIT_BUTTON} ">
{BUTTON}
</td>
<td>&nbsp;</td>
<td style="padding-bottom: 2px;" align="left" width="5%">
</td>
<td>&nbsp;</td>
<td style="padding-bottom: 2px;" align="left" width="5%">
<input type="button" name="button" class="button"
style="display:{DISABLE_RAW_BUTTON};"
id="rawButton"
title="{MOD.LBL_BUTTON_RAW_TITLE}"
accesskey="{MOD.LBL_BUTTON_RAW_KEY}"
value=" {MOD.LBL_BUTTON_RAW_LABEL} "
onclick="open_popup('Emails', 800, 600, '', true, true, '', 'show_raw', '', '{RAW_METADATA}');"
/>
</td>
<td align='right'>{ADMIN_EDIT}</td>
</tr>
</table>
</form>
<div class="detail view">
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
{PAGINATION}
<tr>
<td width="15%" scope="row"><slot>{MOD.LBL_DATE_SENT}</slot></td>
<td width="35%"><slot>{DATE_START} {TIME_START}&nbsp;</slot></td>
<td scope="row"><slot>{APP.LBL_DATE_ENTERED}</slot></td>
<td><slot>{DATE_ENTERED} {APP.LBL_BY} {CREATED_BY}&nbsp;</slot></td>
</tr>
<tr>
<!-- BEGIN: open_source -->
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
<!-- END: open_source -->
<td scope="row"><slot>{APP.LBL_DATE_MODIFIED}</slot></td>
<td><slot>{DATE_MODIFIED} {APP.LBL_BY} {MODIFIED_BY}&nbsp;</slot></td>
</tr>
<tr>
<td valign="top" scope="row"><slot>{APP.LBL_ASSIGNED_TO}</slot></td>
<td valign="top"><slot>{ASSIGNED_TO}&nbsp;</slot></td>
<td scope="row"><slot>{PARENT_TYPE}</slot></td>
<td><slot>{PARENT_NAME}</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_FROM}</slot></td>
<td colspan=3><slot>{FROM}&nbsp;</slot></td>
</tr>
{REPLY_TO}
<tr>
<td scope="row"><slot>{MOD.LBL_TO}</slot></td>
<td colspan='3'><slot>{TO}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_CC}</slot></td>
<td colspan='3'><slot>{CC}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_BCC}</slot></td>
<td colspan='3'><slot>{BCC}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_SUBJECT}</slot></td>
<td colspan='3'><slot>{NAME}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row" valign="top"><slot>{MOD.LBL_BODY}</slot></td>
<td colspan="3" style="background-color: #ffffff; color: #000000" ><slot>
<div id="html_div" style="background-color: #ffffff;padding: 5px">{DESCRIPTION_HTML}</div>
<input id='toggle_textarea_elem' onclick="toggle_textarea();" type="checkbox" name="toggle_html"/> <label for='toggle_textarea_elem'>{MOD.LBL_SHOW_ALT_TEXT}</label><br>
<div id="text_div" style="display: none;background-color: #ffffff;padding: 5px">{DESCRIPTION}</div>
<script type="text/javascript" language="Javascript">
var plainOnly = {SHOW_PLAINTEXT};
if(plainOnly == true) {
document.getElementById("toggle_textarea_elem").checked = true;
toggle_textarea();
}
</script>
</td>
</tr>
<tr>
<td scope="row" valign="top"><slot>{MOD.LBL_ATTACHMENTS}</slot></td>
<td colspan="3"><slot>{ATTACHMENTS}</slot></td>
</tr>
</table>
</div>
<!-- END: main -->

View File

@@ -0,0 +1,181 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" language="Javascript">
{JS_VARS}
</script>
<form action="index.php" method="POST" name="DetailView" id="form">
<input type="hidden" name="module" value="Emails">
<input type="hidden" name="record" value="{ID}">
<input type="hidden" name="isDuplicate" value=false>
<input type="hidden" name="action">
<input type="hidden" name="contact_id" value="{CONTACT_ID}">
<input type="hidden" name="user_id" value="{USER_ID}">
<input type="hidden" name="return_module">
<input type="hidden" name="return_action">
<input type="hidden" name="return_id">
<input type="hidden" name="type" value="out">
<input type="hidden" name="assigned_user_id">
<input type="hidden" name="parent_id" value="{PARENT_ID}">
<input type="hidden" name="parent_type" value="{PARENT_TYPE_UNTRANSLATE}">
<input type="hidden" name="parent_name" value="{PARENT_NAME}">
<input type="hidden" name="inbound_email_id" value="{ID}">
<input type="hidden" name="email_name" value="{EMAIL_NAME}">
<input type="hidden" name="to_email_addrs" value="{FROM}">
<table width="10%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-bottom: 2px;" align="left" width="5%">
<input title="{MOD.LBL_BUTTON_FORWARD}"
accessKey="{MOD.LBL_BUTTON_FORWARD_KEY}"
class="button" onclick="this.form.return_module.value='{RETURN_MODULE}';
this.form.return_action.value='{RETURN_ACTION}';
this.form.return_id.value='{ID}';
this.form.action.value='EditView';
this.form.type.value='forward'"
type="submit" name="button"
value=" {MOD.LBL_BUTTON_FORWARD} "
style="display:{DISABLE_FORWARD_BUTTON};"
>
</td>
<td>&nbsp;</td>
<td style="padding-bottom: 2px;" align="left" width="5%">
<input title="{MOD.LBL_BUTTON_REPLY_TITLE}"
accessKey="{MOD.LBL_BUTTON_REPLY_KEY}"
class="button" onclick="this.form.return_module.value='{RETURN_MODULE}';
this.form.return_action.value='{RETURN_ACTION}';
this.form.return_id.value='{ID}';
this.form.action.value='EditView'"
type="submit" name="button"
value=" {MOD.LBL_BUTTON_REPLY} "
style="display:{DISABLE_REPLY_BUTTON};"
>
</td>
<td>&nbsp;</td>
<td style="padding-bottom: 2px;" align="left" width="5%">
<input title="{APP.LBL_DELETE_BUTTON_TITLE}"
accessKey="{APP.LBL_DELETE_BUTTON_KEY}"
class="button" onclick="this.form.return_module.value='{DELETE_RETURN_MODULE}';
this.form.return_action.value='{DELETE_RETURN_ACTION}';
this.form.return_id.value='{DELETE_RETURN_ID}';
this.form.type.value='{DELETE_RETURN_TYPE}';
this.form.assigned_user_id.value='{DELETE_RETURN_ASSIGNED_USER_ID}';
this.form.action.value='Delete';
return confirm('{APP.NTC_DELETE_CONFIRMATION}')"
type="submit" name="button"
value=" {APP.LBL_DELETE_BUTTON} "
>
</td>
<td>&nbsp;</td>
<td style="padding-bottom: 2px;" align="left" width="5%">
<input type="button" name="button" class="button"
style="display:{DISABLE_RAW_BUTTON};"
id="rawButton"
title="{MOD.LBL_BUTTON_RAW_TITLE}"
accesskey="{MOD.LBL_BUTTON_RAW_KEY}"
value=" {MOD.LBL_BUTTON_RAW_LABEL} "
onclick="open_popup('Emails', 800, 600, '', true, true, '', 'show_raw', '', '{RAW_METADATA}');"
/>
</td>
<td align='right'>{ADMIN_EDIT}</td>
</tr>
</table>
</form>
<div class="detail view">
<table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
{PAGINATION}
<tr>
<td width="15%" scope="row"><slot>{APP.LBL_ASSIGNED_TO}</slot></td>
<td width="35%" valign="top"><slot>{ASSIGNED_TO}</slot></td>
<td width="15%" scope="row"><slot>{MOD.LBL_DATE_SENT}</slot></td>
<td width="35%" colspan="3"><slot>{DATE_START} {TIME_START}</slot></td>
</tr>
<tr>
<!-- BEGIN: open_source -->
<td scope="row"><slot>&nbsp;</slot></td>
<td><slot>&nbsp;</slot></td>
<!-- END: open_source -->
<td scope="row"><slot>{PARENT_TYPE}</slot></td>
<td><slot>{PARENT_NAME}</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_FROM}</slot></td>
<td colspan=3><slot>{FROM}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_TO}</slot></td>
<td colspan='3'><slot>{TO}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_CC}</slot></td>
<td colspan='3'><slot>{CC}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_BCC}</slot></td>
<td colspan='3'><slot>{BCC}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_SUBJECT}</slot></td>
<td colspan='3'><slot>{NAME}&nbsp;</slot></td>
</tr>
<tr>
<td scope="row" valign="top"><slot>{MOD.LBL_BODY}</slot></td>
<td colspan="3" style="background-color: #ffffff; color: #000000" ><slot>
<div id="html_div" style="background-color: #ffffff;padding: 5px">{DESCRIPTION_HTML}</div>
<input id='toggle_textarea_elem' onclick="toggle_textarea();" type="checkbox" name="toggle_html"/> <label for='toggle_textarea_elem'>{MOD.LBL_SHOW_ALT_TEXT}</label><br>
<div id="text_div" style="display: none;background-color: #ffffff;padding: 5px">{DESCRIPTION}</div>
<script type="text/javascript" language="Javascript">
var plainOnly = {SHOW_PLAINTEXT};
if(plainOnly == true) {
document.getElementById("toggle_textarea_elem").checked = true;
toggle_textarea();
}
</script>
</td>
</tr>
<tr>
<td scope="row" valign="top"><slot>{MOD.LBL_ATTACHMENTS}</slot></td>
<td colspan="3"><slot>{ATTACHMENTS}</slot></td>
</tr>
</table>
</div>
<!-- END: main -->

433
modules/Emails/EditView.html Executable file
View File

@@ -0,0 +1,433 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" language="Javascript">
{JS_VARS}
</script>
<script type="text/javascript" src="include/jsolait/init.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/jsclass_base.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="include/javascript/jsclass_async.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<script type="text/javascript" src="modules/Documents/documents.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
{MESSAGE}
<form action="index.php" method="post" id="EditView" name="EditView" enctype="multipart/form-data">
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="action" value="Save" />
<input type="hidden" name="contact_id" value="{CONTACT_ID}" />
<input type="hidden" name="user_id" value="{USER_ID}" />
<input type="hidden" name="return_module" value="{RETURN_MODULE}" />
<input type="hidden" name="return_id" value="{RETURN_ID}" />
<input type="hidden" name="send" value="" />
<input type="hidden" name="type" value="out" />
<input type="hidden" name="record" value="{ID}" />
<input type="hidden" name="return_action" value="{RETURN_ACTION}" />
<input type="hidden" name="inbound_email_id" value="{INBOUND_EMAIL_ID}" />
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}" />
<input type="hidden" name="object_type" value="{OBJECT_TYPE}" />
<input type="hidden" name="object_id" value="{OBJECT_ID}" />
<input type="hidden" name="group" value="{GROUP}" />
<input type="hidden" name="origType" value="{TYPE}" />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<input type="submit" name="button" class="button" {disable_send} title="{MOD.LBL_SEND_BUTTON_TITLE}" accesskey="{MOD.LBL_SEND_BUTTON_KEY}" value=" {MOD.LBL_SEND_BUTTON_LABEL} " onclick="prepSave();this.form.action.value='Save';this.form.send.value='1';this.form.type.value='out';return fill_form('out', '{MOD.ERR_NOT_ADDRESSED}');" />
<input type="submit" name="button" class="button" title="{MOD.LBL_SAVE_AS_DRAFT_BUTTON_TITLE}" accesskey="{MOD.LBL_SAVE_AS_DRAFT_BUTTON_KEY}" value=" {MOD.LBL_SAVE_AS_DRAFT_BUTTON_LABEL} " onclick="this.form.action.value='Save';this.form.send.value='0';this.form.type.value='draft';fill_form('draft', '{MOD.ERR_NOT_ADDRESSED}');" />
<input type="submit" name="button" class="button" title="{APP.LBL_CANCEL_BUTTON_TITLE}" accesskey="{APP.LBL_CANCEL_BUTTON_KEY}" value=" {APP.LBL_CANCEL_BUTTON_LABEL} " onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'; {MYINBOX}" />
</td>
<td align="right" nowrap>
</td>
<td align='right'>
{ADMIN_EDIT}
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- BEGIN: open_source_1 -->
<td nowrap>
<slot>
</slot>
</td>
<td nowrap>
<slot>
</slot>
</td>
<!-- END: open_source_1 -->
<td nowrap>
<slot>
</slot>
</td>
<td scope="row" valign="top" align="right">
<slot>
<select tabindex='2' name='parent_type' onchange=" document.EditView.parent_name.value='';
changeQS();
checkParentType(document.EditView.parent_type.value, document.EditView.change_parent);">
{TYPE_OPTIONS}</select>&nbsp;
</slot>
</td>
<td nowrap>
<slot>
<input id='parent_id' name='parent_id' type="hidden" value='{PARENT_ID}'>
<input class="sqsEnabled" id='parent_name' name='parent_name' tabindex='2' type='text' value="{PARENT_NAME}">
&nbsp;{CHANGE_PARENT_BUTTON}
</slot>
</td>
</tr>
<tr>
<td scope="row">
<slot>
{APP.LBL_ASSIGNED_TO}&nbsp;
</slot>
</td>
<td >
<slot>
<input class="sqsEnabled" tabindex='1' id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accesskey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" tabindex='1' class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name="btn1" onclick='open_popup("Users", 600, 400, "", true, false, {encoded_users_popup_request_data});' />
</slot>
</td>
<td nowrap>
<slot>
</slot>
</td>
<td nowrap>
<slot>
</slot>
</td>
<td nowrap>
<slot>
</slot>
</td>
</tr>
<tr>
<td colspan="5">
&nbsp;
</td>
</tr>
<tr>
<td colspan="1">
&nbsp;
</td>
<td colspan="4">
{MOD.LBL_NOTE_SEMICOLON}
</td>
<td colspan="2">
&nbsp;
</td>
</tr>
<tr valign="top">
<td scope="row">
<slot>
{MOD.LBL_TO}
</slot>
</td>
<td colspan="4" nowrap="NOWRAP">
<slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="to_addrs_field" name='to_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{TO_ADDRS}">{TO_ADDRS}</textarea>
<input type="hidden" id="to_addrs_ids" name="to_addrs_ids" value="{TO_ADDRS_IDS}" />
<input type="hidden" id="to_addrs_emails" name="to_addrs_emails" value="{TO_ADDRS_EMAILS}" />
<input type="hidden" id="to_addrs_names" name="to_addrs_names" value="{TO_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">
{CHANGE_TO_ADDRS_BUTTON}
</td>
</tr>
</table>
</slot>
</td>
</tr>
<tr>
<td scope="row">
<slot>
{MOD.LBL_CC}
</slot>
</td>
<td colspan="4" nowrap="NOWRAP">
<slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="cc_addrs_field" name='cc_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{CC_ADDRS}">{CC_ADDRS}</textarea>
<input type="hidden" id="cc_addrs_ids" name="cc_addrs_ids" value="{CC_ADDRS_IDS}" />
<input type="hidden" id="cc_addrs_emails" name="cc_addrs_emails" value="{CC_ADDRS_EMAILS}" />
<input type="hidden" id="cc_addrs_names" name="cc_addrs_names" value="{CC_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">
{CHANGE_CC_ADDRS_BUTTON}
</td>
</tr>
</table>
</slot>
</td>
</tr>
<tr valign="top">
<td scope="row">
<slot>
{MOD.LBL_BCC}
</slot>
</td>
<td colspan="4" nowrap="NOWRAP">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="bcc_addrs_field" name='bcc_addrs' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{BCC_ADDRS}">{BCC_ADDRS}</textarea>
<input type="hidden" id="bcc_addrs_ids" name="bcc_addrs_ids" value="{BCC_ADDRS_IDS}" />
<input type="hidden" id="bcc_addrs_emails" name="bcc_addrs_emails" value="{BCC_ADDRS_EMAILS}" />
<input type="hidden" id="bcc_addrs_names" name="bcc_addrs_names" value="{BCC_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">
{CHANGE_BCC_ADDRS_BUTTON}
</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td scope="row">
<slot>
{MOD.LBL_FROM}
</slot>
</td>
<td colspan="4" nowrap="NOWRAP">
<slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="from_addr_field" name='from_addr' tabindex='3' cols="80" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{FROM_ADDR}">{FROM_ADDR}</textarea> {FROM_ADDR_GROUP}
<input type="hidden" id="from_addr_email" name="from_addr_email" />
<input type="hidden" id="from_addr_name" name="from_addr_name" />
</td>
</tr>
</table>
</slot>
</td>
</tr>
<tr>
<td colspan="5">
&nbsp;
</td>
</tr>
<tr>
<td scope="row">
<slot>
{MOD.LBL_SUBJECT}
</slot>
</td>
<td colspan='4' >
<slot>
<textarea name='name' tabindex='4' cols="100" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" id="subjectfield">{NAME}</textarea>
</slot>
</td>
</tr>
<tr>
<td valign="top" scope="row">
{MOD.LBL_BODY}
</td>
<!-- BEGIN: htmlarea -->
<td colspan="2" >
<slot>
<div id="editor_select">
<input id="setEditor" name="setEditor" value="1" {EMAIL_EDITOR_OPTION} type="checkbox" onclick="toggle_textonly();">
{MOD.LBL_EMAIL_EDITOR_OPTION}
</div>
</slot>
</td>
<td scope="row" valign="top">
<slot>
{MOD.LBL_USE_TEMPLATE}&nbsp;
</slot>
</td>
<td nowrap width="1">
<slot>
<select tabindex='2' name='email_template' onchange="fill_email(this.options[this.selectedIndex].value);">
{EMAIL_TEMPLATE_OPTIONS}
</select>
</slot>
</td>
</tr>
<tr>
<td valign="top" scope="row">
&nbsp;
</td>
<td colspan="4" >
{TINY}
<slot>
<div id="html_div">
<textarea id="description_html" onblur="">{DESCRIPTION_HTML}</textarea>
</div>
<div id="alt_text_div">
<input id="toggle_textarea_elem" onclick="toggle_textarea();" type="checkbox" name="toggle_html">
{MOD.LBL_EDIT_ALT_TEXT}
</div>
<div id="text_div" style="display: none;">
<textarea tabindex='5' id="description" name='description' cols="100" rows="20">{DESCRIPTION}</textarea>
</div>
</slot>
</td>
<!-- END: htmlarea -->
</tr>
<tr>
<td valign="top" scope="row">
{MOD.LBL_ATTACHMENTS}
</td>
<td colspan="4">
{ATTACHMENTS_JAVASCRIPT} {ATTACHMENTS}
<div id="template_attachments">
</div>
<div id="uploads_div">
<div style="display: none" id="file0">
<input id='email_attachment0' name='email_attachment0' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('0');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file1">
<input id='email_attachment1' name='email_attachment1' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('1');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file2">
<input id='email_attachment2' name='email_attachment2' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('2');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file3">
<input id='email_attachment3' name='email_attachment3' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('3');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file4">
<input id='email_attachment4' name='email_attachment4' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('4');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file5">
<input id='email_attachment5' name='email_attachment5' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('5');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file6">
<input id='email_attachment6' name='email_attachment6' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('6');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file7">
<input id='email_attachment7' name='email_attachment7' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('7');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file8">
<input id='email_attachment8' name='email_attachment8' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('8');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="file9">
<input id='email_attachment9' name='email_attachment9' tabindex='0' size='40' type='file' />
&nbsp;<input type="button" onclick="deleteFile('9');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document0">
<input name='documentId0' id='documentId0' tabindex='0' type='hidden' />
<input name='documentName0' id='documentName0' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('0');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('0');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document1">
<input name='documentId1' id='documentId1' tabindex='1' type='hidden' />
<input name='documentName1' id='documentName1' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('1');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('1');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document2">
<input name='documentId2' id='documentId2' tabindex='2' type='hidden' />
<input name='documentName2' id='documentName2' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('2');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('2');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document3">
<input name='documentId3' id='documentId3' tabindex='3' type='hidden' />
<input name='documentName3' id='documentName3' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('3');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('3');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document4">
<input name='documentId4' id='documentId4' tabindex='4' type='hidden' />
<input name='documentName4' id='documentName4' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('4');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('4');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document5">
<input name='documentId5' id='documentId5' tabindex='5' type='hidden' />
<input name='documentName5' id='documentName5' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('5');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('5');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document6">
<input name='documentId6' id='documentId6' tabindex='6' type='hidden' />
<input name='documentName6' id='documentName6' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('6');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('6');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document7">
<input name='documentId7' id='documentId7' tabindex='7' type='hidden' />
<input name='documentName7' id='documentName7' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('7');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('7');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document8">
<input name='documentId8' id='documentId8' tabindex='8' type='hidden' />
<input name='documentName8' id='documentName8' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('8');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('8');" class="button" value="{APP.LBL_REMOVE}" />
</div>
<div style="display: none" id="document9">
<input name='documentId9' id='documentId9' tabindex='9' type='hidden' />
<input name='documentName9' id='documentName9' disabled size='40' type='text' />
&nbsp;<input type="button" onclick="selectDocument('9');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}" /><input type="button" onclick="deleteDocument('9');" class="button" value="{APP.LBL_REMOVE}" />
</div>
</div>
<input type="button" name="add_file_button" onclick="addFile();" value="{MOD.LBL_ADD_FILE}" class="button" />
<input type="button" name="add_document_button" onclick="addDocument();" value="{MOD.LBL_ADD_DOCUMENT}" class="button" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{JAVASCRIPT}
<script type="text/javascript" language="Javascript">
var old_load=window.onload; window.onload = function() {
old_load();
setEditor();
// cn: bug 5845 - use Group Inbox From info
if(window.switchEmail) {
switchEmail();
}
}
</script>
<!-- END: main -->

View File

@@ -0,0 +1,318 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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 -->
<style>
#to_addrs_field { height: 1.6em; }
#cc_addrs_field { height: 1.6em; }
#bcc_addrs_field { height: 1.6em; }
#subjectfield { height: 1.6em; }
#from_addr_field { height: 1.6em; }
</style>
<script type="text/javascript" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
{MESSAGE}
<form action="index.php" method="post" name="EditView" id="EditView" enctype="multipart/form-data">
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="action" value="Save" />
<input type="hidden" name="contact_id" value="{CONTACT_ID}" />
<input type="hidden" name="user_id" value="{USER_ID}" />
<input type="hidden" name="return_module" value="{RETURN_MODULE}" />
<input type="hidden" name="return_id" value="{RETURN_ID}" />
<input type="hidden" name="send" value="" />
<input type="hidden" name="type" value="archived" />
<input type="hidden" name="record" value="{ID}" />
<input type="hidden" name="return_action" value="{RETURN_ACTION}" />
<input type="hidden" name="object_type" value="{OBJECT_TYPE}" />
<input type="hidden" name="object_id" value="{OBJECT_ID}" />
<input type="hidden" name="group" value="{GROUP}" />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<input type="submit" name="button" class="button"
title="{APP.LBL_SAVE_BUTTON_TITLE}"
accesskey="{APP.LBL_SAVE_BUTTON_KEY}"
value=" {APP.LBL_SAVE_BUTTON_LABEL} "
onclick="this.form.action.value='Save'; return check_form('EditView');" />
<input type="submit" name="button" class="button"
title="{APP.LBL_CANCEL_BUTTON_TITLE}"
accesskey="{APP.LBL_CANCEL_BUTTON_KEY}"
value=" {APP.LBL_CANCEL_BUTTON_LABEL} "
onclick="this.form.action.value='{RETURN_ACTION}'; this.form.module.value='{RETURN_MODULE}'; this.form.record.value='{RETURN_ID}'" /> </td>
<td align="right" nowrap></td>
<td align='right'>{ADMIN_EDIT}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15%" scope="row">
<slot>{MOD.LBL_DATE_AND_TIME}&nbsp;<span class="required">{APP.LBL_REQUIRED_SYMBOL}</span></slot>
</td>
<td width="25%" nowrap colspan="4">
<slot>
<table cellpadding="0" cellspacing="0">
<tr>
<td nowrap>
<slot><input name='date_start' onblur="parseDate(this, '{CALENDAR_DATEFORMAT}');" id='jscal_field' tabindex='1' maxlength='10' size='11' type="text" value="{DATE_START}"> <img src="index.php?entryPoint=getImage&themeName={THEME}&imageName=jscalendar.gif" alt="{APP.LBL_ENTER_DATE}" id="jscal_trigger" align="absmiddle">&nbsp;</slot>
</td>
<td nowrap>
<slot><input name='time_start' size='5' maxlength='5' tabindex='1' type="text" value='{TIME_START}'>{TIME_MERIDIEM}</slot>
</td>
</tr>
<tr>
<td nowrap>
<slot><span class="dateFormat">{USER_DATEFORMAT}</span></slot>
</td>
<td nowrap>
<slot><span class="dateFormat">{TIME_FORMAT}</span></slot>
</td>
</tr>
</table>
</slot>
</td>
</tr>
<tr>
<!-- BEGIN: open_source_1 -->
<td colspan="2"><slot></slot></td>
<!-- END: open_source_1 -->
<td width="25%" scope="row" valign="top" align="left"><slot>
<select tabindex='2' id='parent_type' name='parent_type' onchange="document.EditView.parent_name.value=''; changeQS(); checkParentType(document.EditView.parent_type.value, document.EditView.change_parent);">{TYPE_OPTIONS}</select>&nbsp;
<input id='parent_id' name='parent_id' type="hidden" value='{PARENT_ID}'>
<input class="sqsEnabled" id='parent_name' name='parent_name' tabindex='2' type='text' value="{PARENT_NAME}">&nbsp;{CHANGE_PARENT_BUTTON}
</slot></td>
</tr>
<tr>
<td scope="row" width="15%">
<slot>{APP.LBL_ASSIGNED_TO}</slot>
</td>
<td >
<slot>
<input class="sqsEnabled" tabindex='1' id="assigned_user_name" name='assigned_user_name' type="text" value="{ASSIGNED_USER_NAME}">
<input id='assigned_user_id' name='assigned_user_id' type="hidden" value="{ASSIGNED_USER_ID}" />
<input title="{APP.LBL_SELECT_BUTTON_TITLE}" accessKey="{APP.LBL_SELECT_BUTTON_KEY}" type="button" tabindex='1' class="button" value='{APP.LBL_SELECT_BUTTON_LABEL}' name=btn1
onclick='open_popup("Users", 600, 400, "", true, false, {encoded_users_popup_request_data});' />
</slot>
</td>
<!-- BEGIN: pro -->
<script type="text/javascript" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<td scope="row" valign="top" align="right"><slot>
{MOD.LBL_USE_TEMPLATE}&nbsp;
</slot></td>
<td nowrap colspan="2">
<slot>
<select tabindex='2' name='email_template' onchange="fill_email(this.options[this.selectedIndex].value);">{EMAIL_TEMPLATE_OPTIONS}</select>
</slot>
</td>
<!-- END: pro -->
<!-- BEGIN: open_source -->
<td colspan="3"><slot></slot></td>
<!-- END: open_source -->
</tr>
<tr>
<td colspan="5">&nbsp;
</td>
</tr>
<tr>
<td colspan="1">&nbsp;</td>
<td colspan="4">{MOD.LBL_NOTE_SEMICOLON}</td>
</tr>
<tr valign="top">
<td scope="row"><slot>{MOD.LBL_TO}</slot></td>
<td colspan="4" nowrap="nowrap"><slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="to_addrs_field" name='to_addrs' tabindex='3' cols="80" rows="1"
style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{TO_ADDRS}">{TO_ADDRS}</textarea>
<input type="hidden" id="to_addrs_ids" name="to_addrs_ids" value="{TO_ADDRS_IDS}" />
<input type="hidden" id="to_addrs_emails" name="to_addrs_emails" value="{TO_ADDRS_EMAILS}" />
<input type="hidden" id="to_addrs_names" name="to_addrs_names" value="{TO_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">{CHANGE_TO_ADDRS_BUTTON}</td>
</tr>
</table>
</slot></td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_CC}</slot></td>
<td colspan="4" nowrap="nowrap"><slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="cc_addrs_field" name='cc_addrs' tabindex='3' cols="80" rows="1"
style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{CC_ADDRS}">{CC_ADDRS}</textarea>
<input type="hidden" id="cc_addrs_ids" name="cc_addrs_ids" value="{CC_ADDRS_IDS}" />
<input type="hidden" id="cc_addrs_emails" name="cc_addrs_emails" value="{CC_ADDRS_EMAILS}" />
<input type="hidden" id="cc_addrs_names" name="cc_addrs_names" value="{CC_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">{CHANGE_CC_ADDRS_BUTTON}</td>
</tr>
</table>
</slot></td>
</tr>
<tr valign="top">
<td scope="row"><slot>{MOD.LBL_BCC}</slot></td>
<td colspan="4" nowrap="nowrap"><slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="bcc_addrs_field" name='bcc_addrs' tabindex='3' cols="80" rows="1"
style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{BCC_ADDRS}">{BCC_ADDRS}</textarea>
<input type="hidden" id="bcc_addrs_ids" name="bcc_addrs_ids" value="{BCC_ADDRS_IDS}" />
<input type="hidden" id="bcc_addrs_emails" name="bcc_addrs_emails" value="{BCC_ADDRS_EMAILS}" />
<input type="hidden" id="bcc_addrs_names" name="bcc_addrs_names" value="{BCC_ADDRS_NAMES}" />
</td>
<td style="padding-left: 4px;">{CHANGE_BCC_ADDRS_BUTTON}</td>
</tr>
</table>
</td>
</tr>
<tr valign="top">
<td scope="row"><slot>
{MOD.LBL_FROM}
</slot></td>
<td colspan="4" nowrap="nowrap"><slot>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<textarea id="from_addr_field" name='from_addr' tabindex='3' cols="80" rows="1"
style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" value="{FROM_ADDR}">{FROM_ADDR}</textarea>
{FROM_ADDR_GROUP}
<input type="hidden" id="from_addr_email" name="from_addr_email" />
<input type="hidden" id="from_addr_name" name="from_addr_name" />
</td>
</tr>
</table>
</slot></td>
</tr>
<tr>
<td colspan=5>&nbsp;</td>
</tr>
<tr>
<td scope="row"><slot>{MOD.LBL_SUBJECT}</slot></td>
<td colspan='4' ><slot>
<textarea name='name' tabindex='4' cols="100" rows="1" style="height: 1.6.em; overflow-y:auto; font-family:sans-serif,monospace; font-size:inherit;" id="subjectfield">{NAME}</textarea>
</slot></td>
</tr>
<tr>
<td valign="top" scope="row"><slot>{MOD.LBL_BODY}</td>
<!-- BEGIN: textarea -->
<td colspan="4" ><slot>
<div id="html_div"><textarea tabindex='4' name='description_html' cols="100" rows="20">{DESCRIPTION_HTML}</textarea></div>
<input onclick="toggle_textarea(this);" type="checkbox" name="toggle_html"> {MOD.LBL_EDIT_ALT_TEXT}<br>
<div id="text_div" style="display: none"><textarea tabindex='4' name='description' cols="100" rows="20">{DESCRIPTION}</textarea></div>
</slot></td>
<!-- END: textarea -->
<!-- BEGIN: htmlarea -->
<td colspan="4" ><slot>
<textarea name="description_html" id="description_html">{DESCRIPTION_HTML}</textarea>
<div id="alt_text_div">
<input id="toggle_textarea_elem" onclick="toggle_textarea();" type="checkbox" name="toggle_html"> {MOD.LBL_EDIT_ALT_TEXT}
</div>
<div id="text_div" style="display: none;">
<textarea tabindex='5' name='description' cols="100" rows="20">
{DESCRIPTION}
</textarea>
</div>
</slot></td>
<!-- END: htmlarea -->
</tr>
<tr>
<td valign="top" scope="row"><slot>{MOD.LBL_ATTACHMENTS}</td>
<td colspan="4">
{ATTACHMENTS}
<div id="uploads_div">
<div style="display: none" id="file0"><input id = 'email_attachment0' name='email_attachment0' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('0');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file1"><input id = 'email_attachment1' name='email_attachment1' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('1');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file2"><input id = 'email_attachment2' name='email_attachment2' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('2');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file3"><input id = 'email_attachment3' name='email_attachment3' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('3');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file4"><input id = 'email_attachment4' name='email_attachment4' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('4');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file5"><input id = 'email_attachment5' name='email_attachment5' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('5');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file6"><input id = 'email_attachment6' name='email_attachment6' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('6');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file7"><input id = 'email_attachment7' name='email_attachment7' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('7');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file8"><input id = 'email_attachment8' name='email_attachment8' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('8');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="file9"><input id = 'email_attachment9' name='email_attachment9' tabindex='0' size='40' type='file'/>&nbsp;<input type="button" onclick="deleteFile('9');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document0"><input name='documentId0' id='documentId0' tabindex='0' type='hidden'/><input name='documentName0' id='documentName0' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('0');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('0');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document1"><input name='documentId1' id='documentId1' tabindex='1' type='hidden'/><input name='documentName1' id='documentName1' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('1');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('1');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document2"><input name='documentId2' id='documentId2' tabindex='2' type='hidden'/><input name='documentName2' id='documentName2' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('2');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('2');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document3"><input name='documentId3' id='documentId3' tabindex='3' type='hidden'/><input name='documentName3' id='documentName3' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('3');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('3');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document4"><input name='documentId4' id='documentId4' tabindex='4' type='hidden'/><input name='documentName4' id='documentName4' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('4');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('4');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document5"><input name='documentId5' id='documentId5' tabindex='5' type='hidden'/><input name='documentName5' id='documentName5' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('5');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('5');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document6"><input name='documentId6' id='documentId6' tabindex='6' type='hidden'/><input name='documentName6' id='documentName6' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('6');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('6');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document7"><input name='documentId7' id='documentId7' tabindex='7' type='hidden'/><input name='documentName7' id='documentName7' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('7');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('7');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document8"><input name='documentId8' id='documentId8' tabindex='8' type='hidden'/><input name='documentName8' id='documentName8' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('8');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('8');" class="button" value="{APP.LBL_REMOVE}"/></div>
<div style="display: none" id="document9"><input name='documentId9' id='documentId9' tabindex='9' type='hidden'/><input name='documentName9' id='documentName9' DISABLED size='40' type='text'/>&nbsp;<input type="button" onclick="selectDocument('9');" class="button" value="{APP.LBL_SELECT_BUTTON_LABEL}"/><input type="button" onclick="deleteDocument('9');" class="button" value="{APP.LBL_REMOVE}"/></div>
</div>
<input type="button" name="add_file_button" onclick="addFile();" value="{MOD.LBL_ADD_FILE}" class="button" />
<input type="button" name="add_document_button" onclick="addDocument();" value="{MOD.LBL_ADD_DOCUMENT}" class="button" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
Calendar.setup ({
inputField : "jscal_field", ifFormat : "{CALENDAR_DATEFORMAT}", showsTime : false, button : "jscal_trigger", singleClick : true, step : 1
});
</script>
{TINY}
{JAVASCRIPT}
{INITIALIZE_IE_RESPONSE}
<!-- END: main -->

78
modules/Emails/ListView.html Executable file
View File

@@ -0,0 +1,78 @@
<!--
/*********************************************************************************
* 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;} </script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="listView">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" width="1%" class="listViewThS1" NOWRAP>{CHECKALL}</td>
<td scope="col" width="1%" class="listViewThS1" NOWRAP><slot>{ATTACHMENT_HEADER}</slot></td>
<td scope="col" width="31%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="18%" class="listViewThS1" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}assigned_user_name" class="listViewThLinkS1">{MOD.LBL_LIST_ASSIGNED}{arrow_start}{assigned_user_name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}type" class="listViewThLinkS1">{MOD.LBL_LIST_TYPE}{arrow_start}{type_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}status" class="listViewThLinkS1">{MOD.LBL_LIST_STATUS}{arrow_start}{status_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}date_entered" class="listViewThLinkS1">{MOD.LBL_LIST_CREATED}{arrow_start}{date_entered_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{EMAIL.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmouseout="setPointer(this, '{EMAIL.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmousedown="setPointer(this, '{EMAIL.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.ATTACHMENT_IMAGE}</slot></td>
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><slot>
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?action={EMAIL.LINK_ACTION}&module=Emails&record={EMAIL.ID}&offset={EMAIL.OFFSET}&stamp={EMAIL.STAMP}" class="listViewTdLinkS1">{EMAIL.NAME}</{TAG.MAIN}></slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><slot>{EMAIL.CONTACT_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.ASSIGNED_USER_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.TYPE_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.STATUS}</slot></td>
<td nowrap valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><slot>{EMAIL.DATE_ENTERED}</slot></td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

97
modules/Emails/ListViewAll.html Executable file
View File

@@ -0,0 +1,97 @@
<!--
/*********************************************************************************
* 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;} </script>
<table cellpadding="0" cellspacing="0" width="100%" border="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="1%" class="listViewThS1" NOWRAP><slot>{ATTACHMENT_HEADER}</slot></td>
<td scope="col" width="31%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="18%" class="listViewThS1" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<!--td scope="col" width="20%" class="listViewThS1" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td-->
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}assigned_user_name" class="listViewThLinkS1">{MOD.LBL_LIST_ASSIGNED}{arrow_start}{assigned_user_name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}type" class="listViewThLinkS1">{MOD.LBL_LIST_TYPE}{arrow_start}{type_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}status" class="listViewThLinkS1">{MOD.LBL_LIST_STATUS}{arrow_start}{status_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" class="listViewThS1" NOWRAP><slot><a href="{ORDER_BY}date_entered" class="listViewThLinkS1">{MOD.LBL_LIST_CREATED}{arrow_start}{date_entered_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" onmouseover="setPointer(this, '{EMAIL.ID}', 'over', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmouseout="setPointer(this, '{EMAIL.ID}', 'out', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');" onmousedown="setPointer(this, '{EMAIL.ID}', 'click', '{BG_COLOR}', '{BG_HILITE}', '{BG_CLICK}');">
<td class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" valign='top'>{PREROW}</td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.ATTACHMENT_IMAGE}</slot></td>
<td scope='row' valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?
action={EMAIL.LINK_ACTION}&
module=Emails&
record={EMAIL.ID}&
offset={EMAIL.OFFSET}&
stamp={EMAIL.STAMP}" class="listViewTdLinkS1">
{EMAIL.NAME}
</{TAG.MAIN}>
</td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}">
<{TAG.CONTACT} href="{URL_PREFIX}index.php?
action=DetailView&
module=Contacts&
record={EMAIL.CONTACT_ID}" class="listViewTdLinkS1">
{EMAIL.CONTACT_NAME}
</{TAG.CONTACT}>
</td>
<!--td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><slot><{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={EMAIL.PARENT_MODULE}&record={EMAIL.PARENT_ID}" class="listViewTdLinkS1">{EMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td-->
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.ASSIGNED_USER_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.TYPE_NAME}</slot></td>
<td valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}" nowrap><slot>{EMAIL.STATUS}</slot></td>
<td nowrap valign=TOP class="{ROW_COLOR}S1" bgcolor="{BG_COLOR}"><slot>{EMAIL.DATE_ENTERED}</slot></td>
</tr>
<tr><td colspan="20" class="listViewHRS1"></td></tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,71 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" width="1%" NOWRAP>{CHECKALL}</td>
<td scope="col" width="40%" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="18%" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<td scope="col" width="30%" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}date_entered" class="listViewThLinkS1">{MOD.LBL_LIST_CREATED}{arrow_start}{date_entered_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign="top">{PREROW}</td>
<td valign=TOP><slot>
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?action=EditView&type=out&module=Emails&record={DRAFTEMAIL.ID}" >{DRAFTEMAIL.NAME}</{TAG.MAIN}></slot></td>
<td valign=TOP><slot><{TAG.CONTACT} href="{URL_PREFIX}index.php?action=DetailView&module=Contacts&record={DRAFTEMAIL.CONTACT_ID}" >{DRAFTEMAIL.CONTACT_NAME}</{TAG.CONTACT}></slot></td>
<td valign=TOP><slot><{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={DRAFTEMAIL.PARENT_MODULE}&record={DRAFTEMAIL.PARENT_ID}" >{DRAFTEMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td>
<td nowrap valign=TOP><slot>{DRAFTEMAIL.DATE_ENTERED}</slot></td>
</tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,82 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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 -->
{CHECK_MAIL}
<script type="text/javascript" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<span class="error"><b>{ERROR}</b></span>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" NOWRAP>{CHECKALL}</td>
<td scope="col" width="1%" NOWRAP><slot>{ATTACHMENT_HEADER}</slot></td>
<td scope="col" width="41%" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="18%" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<td scope="col" width="20%" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td>
<td scope="col" width="10%" NOWRAP><slot>{MOD.LBL_QUICK_REPLY}</slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}assigned_user_name" class="listViewThLinkS1">{MOD.LBL_LIST_ASSIGNED}{arrow_start}{assigned_user_name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}date_sent" class="listViewThLinkS1">{MOD.LBL_LIST_DATE_SENT}{arrow_start}{date_sent_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign="top">{PREROW}</td>
<td valign=TOP nowrap><slot>{EMAIL.ATTACHMENT_IMAGE}</slot></td>
<td scope='row' valign=TOP><slot>
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?action={EMAIL.LINK_ACTION}&module=Emails&record={EMAIL.ID}&offset={EMAIL.OFFSET}&stamp={EMAIL.STAMP}" >{EMAIL.NAME}</{TAG.MAIN}></slot></td>
<td valign=TOP><slot><{TAG.CONTACT} href="{URL_PREFIX}index.php?action=DetailView&module=Contacts&record={EMAIL.CONTACT_ID}" >{EMAIL.CONTACT_NAME}</{TAG.CONTACT}></slot></td>
<td valign=TOP><slot>{EMAIL.CREATE_RELATED}<{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={EMAIL.PARENT_MODULE}&record={EMAIL.PARENT_ID}" >{EMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td>
<td valign=TOP nowrap><slot>{EMAIL.QUICK_REPLY}</slot></td>
<td valign=TOP nowrap><slot>{EMAIL.ASSIGNED_USER_NAME}</slot></td>
<td nowrap valign=TOP><slot>{EMAIL.DATE_SENT}</slot></td>
</tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,67 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" width="50%" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="20%" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<td scope="col" width="20%" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td>
<td scope="col" width="10%" NOWRAP><slot>{MOD.LBL_QUICK_REPLY}</slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td scope='row' valign=TOP><slot>
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?action={EMAIL.LINK_ACTION}&module=Emails&record={EMAIL.ID}&offset={EMAIL.OFFSET}&stamp={EMAIL.STAMP}" >{EMAIL.NAME}</{TAG.MAIN}></slot></td>
<td nowrap="nowrap" valign="top"><slot><{TAG.CONTACT} href="{URL_PREFIX}index.php?action=DetailView&module=Contacts&record={EMAIL.CONTACT_ID}" >{EMAIL.CONTACT_NAME}</{TAG.CONTACT}></slot></td>
<td nowrap="nowrap" valign="top"><slot>{EMAIL.CREATE_RELATED}<{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={EMAIL.PARENT_MODULE}&record={EMAIL.PARENT_ID}" >{EMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td>
<td nowrap="nowrap" valign="top"><slot>{EMAIL.QUICK_REPLY}</slot></td>
</tr>
<!-- END: row -->
</table>
<!-- END: main -->

View File

@@ -0,0 +1,80 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<script language="javascript">if(typeof sqs_objects == 'undefined'){var sqs_objects = new Array;}</script>
{TAKE}&nbsp;{CHECK_MAIL}
{TAKE_ERROR}
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" NOWRAP>{CHECKALL}</td>
<td scope="col" width="1%" NOWRAP><slot>{ATTACHMENT_HEADER}</slot></td>
<td scope="col" width="31%" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="18%" NOWRAP>{MOD.LBL_LIST_CONTACT}</td>
<td scope="col" width="20%" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td>
<td scope="col" width="20%" NOWRAP><slot>{MOD.LBL_QUICK_REPLY}</slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}status" class="listViewThLinkS1">{MOD.LBL_LIST_STATUS}{arrow_start}{status_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}date_sent" class="listViewThLinkS1">{MOD.LBL_LIST_DATE_SENT}{arrow_start}{date_sent_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign="top">{PREROW}</td>
<td valign=TOP nowrap><slot>{EMAIL.ATTACHMENT_IMAGE}</slot></td>
<td scope='row' valign=TOP><slot>
<div id="rollover"><a href="#" class="rollover">{EMAIL.PREVIEW_IMAGE}<span>{EMAIL.ROLLOVER}</span></a></div>&nbsp;
<{TAG.MAIN} href="{URL_PREFIX}index.php?action={EMAIL.LINK_ACTION}&module=Emails&record={EMAIL.ID}&offset={EMAIL.OFFSET}&stamp={EMAIL.STAMP}" >{EMAIL.NAME}</{TAG.MAIN}></slot></td>
<td valign=TOP><slot><{TAG.CONTACT} href="{URL_PREFIX}index.php?action=DetailView&module=Contacts&record={EMAIL.CONTACT_ID}" >{EMAIL.CONTACT_NAME}</{TAG.CONTACT}></slot></td>
<td valign=TOP><slot>{EMAIL.CREATE_RELATED}<{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={EMAIL.PARENT_MODULE}&record={EMAIL.PARENT_ID}" >{EMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td>
<td valign=TOP nowrap><slot>{EMAIL.QUICK_REPLY}</slot></td>
<td valign=TOP nowrap><slot>{EMAIL.STATUS}</slot></td>
<td nowrap valign=TOP><slot>{EMAIL.DATE_SENT}</slot></td>
</tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,69 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&c={JS_CUSTOM_VERSION}"></script>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" width="1%" NOWRAP>{CHECKALL}</td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}to_addrs" class="listViewThLinkS1">{MOD.LBL_LIST_TO_ADDR}{arrow_start}{to_addr_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="40%" NOWRAP><slot><a href="{ORDER_BY}name" class="listViewThLinkS1">{MOD.LBL_LIST_SUBJECT}{arrow_start}{name_arrow}{arrow_end}</a></slot></td>
<td scope="col" width="30%" NOWRAP><slot>{MOD.LBL_LIST_RELATED_TO}</slot></td>
<td scope="col" width="10%" NOWRAP><slot><a href="{ORDER_BY}date_sent" class="listViewThLinkS1">{MOD.LBL_LIST_DATE}{arrow_start}{date_sent_arrow}{arrow_end}</a></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign="top">{PREROW}</td>
<td scope='row' valign=TOP><slot>{SENTEMAIL.TO_ADDRS}</slot></td>
<td valign=TOP><slot><{TAG.MAIN} href="{URL_PREFIX}index.php?action=DetailViewSent&module=Emails&record={SENTEMAIL.ID}" >{SENTEMAIL.NAME}</{TAG.MAIN}></slot></td>
<td valign=TOP><slot><{TAG.PARENT} href="{URL_PREFIX}index.php?action=DetailView&module={SENTEMAIL.PARENT_MODULE}&record={SENTEMAIL.PARENT_ID}" >{SENTEMAIL.PARENT_NAME}</{TAG.PARENT}></slot></td>
<td nowrap valign=TOP><slot>{SENTEMAIL.DATE_SENT}</slot></td>
</tr>
<!-- END: row -->
{PAGINATION}
</table>
<!-- END: main -->

View File

@@ -0,0 +1,110 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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" src="include/javascript/sugar_3.js"></script>
<script type="text/javascript" src="modules/Emails/javascript/Email.js"></script>
<!-- BEGIN: SearchHeader -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<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 scope="row" nowrap="nowrap">{MOD.LBL_DOC_NAME}</td>
<td nowrap="nowrap"><input type="text" name="document_name" size="10" value="{DOCUMENT_NAME}"/></td>
<td scope="row" nowrap="nowrap">{MOD.LBL_DET_IS_TEMPLATE}</td>
<td nowrap="nowrap"><select name="is_template" >{IS_TEMPLATE_OPTIONS}</select></td>
</tr>
<tr>
<td scope="row" nowrap="nowrap">{MOD.LBL_DET_TEMPLATE_TYPE}</td>
<td nowrap="nowrap"><select name="template_type" >{TEMPLATE_TYPE_OPTIONS}</select></td>
<td scope="row" nowrap="nowrap">{MOD.LBL_CATEGORY_VALUE}</td>
<td nowrap="nowrap"><select name="category_id" >{CATEGORY_OPTIONS}</select></td>
</tr>
<tr>
<td scope="row" nowrap="nowrap">{MOD.LBL_SUBCATEGORY_VALUE}</td>
<td nowrap="nowrap"><select name="subcategory_id" >{SUB_CATEGORY_OPTIONS}</select></td>
<td align="right" colspan=2>
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="action" value="PopupDocuments" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="to_pdf" value="true" />
<input type="hidden" name="record_id" value="" />
<input type="hidden" name="target" value="{DOCUMENT_TARGET}" />
<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>
</table>
</form>
</td>
</tr>
</table>
<!-- END: SearchHeader -->
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20" >
<td scope="col" width="33%" nowrap="nowrap"><a href="{ORDER_BY}document_name" class="listViewThLinkS1">{MOD.LBL_LIST_DOCUMENT}{arrow_start}{name_arrow}{arrow_end}</a></td>
<td scope="col" width="33%" nowrap="nowrap">{MOD.LBL_LIST_REVISION}</td>
<td scope="col" width="34%" nowrap="nowrap">{MOD.LBL_LIST_STATUS}</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td scope="row" valign="top">
<a href="javascript:void(0);" onclick="setDocument('{DOCUMENT_TARGET}','{DOCUMENT.ID}', '{DOCUMENT.DOCUMENT_NAME_JAVASCRIPT}','{DOCUMENT.DOCUMENT_REVISION_ID}');" >{DOCUMENT.DOCUMENT_NAME}</a>
</td>
<td valign="top">{DOCUMENT.LATEST_REVISION}</td>
<td valign="top">{DOCUMENT.STATUS_ID}</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1"></td>
</tr>
<!-- END: row -->
</table>

128
modules/Emails/Popup_picker.html Executable file
View File

@@ -0,0 +1,128 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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="modules/Emails/javascript/Email.js?s={SUGAR_VERSION}&amp;c={JS_CUSTOM_VERSION}"></script>
<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>
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<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 scope="row" width="40%" nowrap="nowrap">
{MOD.LBL_SUBJECT}&nbsp;&nbsp;<input type="text" size="20" name="name" value="{NAME}" />
</td>
<td scope="row" width="40%" nowrap="nowrap">
{MOD.LBL_CONTACT_NAME}&nbsp;&nbsp;
<input type="text" size="20" name="contact_name" value="{CONTACT_NAME}" />
</td>
<td width="20%" 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="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>
</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());
}
-->
</script>
<!-- END: SearchHeader -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list view">
<!-- BEGIN: list_nav_row -->
{PAGINATION}
<!-- END: list_nav_row -->
<tr height="20">
<td scope="col" nowrap>
{CHECKALL}
</td>
<td scope="col" width="35%" nowrap="nowrap" ">
<a href="{ORDER_BY}name" class="listViewThLinkS1">
{MOD.LBL_LIST_SUBJECT}{arrow_start}{number_arrow}{arrow_end}</a>
</td>
<td scope="col" width="30%" 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="30%" nowrap="nowrap" ">
<a href="{ORDER_BY}date_start" class="listViewThLinkS1">
{MOD.LBL_LIST_DATE_SENT}{arrow_start}{date_start_arrow}{arrow_end}</a>
</td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign="top">
{PREROW}
</td>
<td scope='row' valign="top">
<a href="#" onclick="send_back('Emails','{EMAIL.ID}');" >
{EMAIL.NAME}</a>
</td>
<td valign="top" bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1">
{EMAIL.CONTACT_NAME}
</td>
<td valign="top" bgcolor="{BG_COLOR}" class="{ROW_COLOR}S1">
{EMAIL.DATE_SENT}
</td>
</tr>
<tr>
<td colspan="20" class="listViewHRS1">
</td>
</tr>
<!-- END: row -->
</table>
{ASSOCIATED_JAVASCRIPT_DATA}
<!-- END: main -->

116
modules/Emails/SearchForm.html Executable file
View File

@@ -0,0 +1,116 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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/Emails/SearchForm.html,v 1.3 2004/07/09 08:12:02 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<form name="search" id="search">
<input type="hidden" name="action" value="{SEARCH_ACTION}">
<input type="hidden" name="query" value="true"/>
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="type" value="{TYPE}">
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}">
<input type="hidden" name="group" value="{GROUP}">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_TYPE}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select {TYPE_DISABLED} name="email_type">{TYPE_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_ASSIGNED_TO}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select {ASSIGN_TO_DISABLED} name="assigned_to">{ASSIGNED_TO_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_STATUS}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="status">{STATUS_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap align="right">
<a href="{ADV_URL}&search=advanced" class="tabFormAdvLink">{ADVANCED_SEARCH_PNG}&nbsp;{APP.LNK_ADVANCED_SEARCH}</a>
<input type="submit" name="button" class="button" value="{APP.LBL_SEARCH_BUTTON_LABEL}"/>
<input title="{APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{APP.LBL_CLEAR_BUTTON_KEY}" onclick="clear_form(this.form);" class="button" type="button" name="clear" value=" {APP.LBL_CLEAR_BUTTON_LABEL} "/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{JAVASCRIPT}
<!-- END: main -->
<!-- BEGIN: adv -->
<form name="search" id="search">
<input type="hidden" name="action" value="{SEARCH_ACTION}">
<input type="hidden" name="query" value="true">
<input type="hidden" name="module" value="Emails">
<input type="hidden" name="type" value="{TYPE}">
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}">
<input type="hidden" name="group" value="{GROUP}">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_TYPE}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="email_type">{TYPE_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_ASSIGNED_TO}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="assigned_to">{ASSIGNED_TO_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_STATUS}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="status">{STATUS_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap align="right">
<a href="{ADV_URL}&search=basic" class="tabFormAdvLink">{BASIC_SEARCH_PNG}&nbsp;{APP.LNK_BASIC_SEARCH}</a>
<input type="submit" name="button" class="button" value="{APP.LBL_SEARCH_BUTTON_LABEL}"/>
<input title="{APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{APP.LBL_CLEAR_BUTTON_KEY}" onclick="clear_form(this.form);" class="button" type="button" name="clear" value=" {APP.LBL_CLEAR_BUTTON_LABEL} "/>
</td>
</tr>
<tr>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_SUBJECT}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="name" class=dataField value="{NAME}" /></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_CONTACT_NAME}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="contact_name" class=dataField value='{CONTACT_NAME}' /></slot></td>
<td></td>
<td></td>
<td scope="row" valign="middle" nowrap align="right"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{JAVASCRIPT}
<!-- END: adv -->

View File

@@ -0,0 +1,72 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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/Emails/SearchForm.html,v 1.3 2004/07/09 08:12:02 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<tr>
<td>
<form name="search">
<input type="hidden" name="action" value="{SEARCH_ACTION}">
<input type="hidden" name="query" value="true"/>
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="type" value="{TYPE}">
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}">
<input type="hidden" name="group" value="{GROUP}">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_STATUS}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="status">{STATUS_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_SUBJECT}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="name" class=dataField value="{NAME}" /></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_CONTACT_NAME}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="contact_name" class=dataField value='{CONTACT_NAME}' /></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_ASSIGNED_TO}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="assigned_to">{ASSIGNED_TO_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap align="right">
<input type="submit" name="button" class="button" value="{APP.LBL_SEARCH_BUTTON_LABEL}"/>
<input title="{APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{APP.LBL_CLEAR_BUTTON_KEY}" onclick="clear_form(this.form);" class="button" type="button" name="clear" value=" {APP.LBL_CLEAR_BUTTON_LABEL} "/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,81 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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/Emails/SearchForm.html,v 1.3 2004/07/09 08:12:02 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<tr>
<td>
<form name="SearchFormListNewSales">
<input type="hidden" name="action" value="{SEARCH_ACTION}">
<input type="hidden" name="query" value="true"/>
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="type" value="{TYPE}">
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}">
<input type="hidden" name="group" value="{GROUP}">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_STATUS}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="status">{STATUS_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_SUBJECT}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="name" class=dataField value="{NAME}" /></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_CONTACT_NAME}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot>
<td valign="top" class="tabEditViewDF" nowrap="">
<input type="text" title="" value="" size="" id="contact_name" tabindex="" name="contact_name">
<input type="hidden" value="" id="contact_id" name="contact_id">
<button type="button" onclick="open_popup(&quot;Contacts&quot;, 600, 400, &quot;&quot;, true, false, {&quot;call_back_function&quot;:&quot;set_return&quot;,&quot;form_name&quot;:&quot;SearchFormListNewSales&quot;,&quot;field_to_name_array&quot;:{&quot;id&quot;:&quot;contact_id&quot;,&quot;name&quot;:&quot;contact_name&quot;}}, &quot;single&quot;, true);"
value="Wybierz" class="button" accesskey="T" title="Wybierz [Alt+T]" tabindex="" name="btn_contact_name"><img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1"></button>
<button value="Wyczyść" onclick="this.form.contact_name.value = ''; this.form.contact_id.value = '';" class="button lastChild" accesskey="C" title="Wyczyść[Alt+C]" tabindex="" name="btn_clr_parent_name_basic" type="button"><img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&amp;c=1"></button>
</td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_ASSIGNED_TO}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="assigned_to">{ASSIGNED_TO_OPTIONS}</select></slot></td>
<td scope="row" valign="middle" nowrap><slot>{MOD.LBL_TYPE}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><select name="type">{TYPE_OPTIONS}</select></slot></td>
</tr>
</table>
</td>
</tr>
</table>
<input type="submit" name="button" class="button" value="{APP.LBL_SEARCH_BUTTON_LABEL}"/>
<input title="{APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{APP.LBL_CLEAR_BUTTON_KEY}" onclick="clear_form(this.form);" class="button" type="button" name="clear" value=" {APP.LBL_CLEAR_BUTTON_LABEL} "/>
</form>
{JAVASCRIPT}
<!-- END: main -->

View File

@@ -0,0 +1,69 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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/Emails/SearchForm.html,v 1.3 2004/07/09 08:12:02 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: main -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view">
<tr>
<td>
<form name="search">
<input type="hidden" name="action" value="{SEARCH_ACTION}">
<input type="hidden" name="query" value="true"/>
<input type="hidden" name="module" value="Emails" />
<input type="hidden" name="type" value="{TYPE}">
<input type="hidden" name="assigned_user_id" value="{ASSIGNED_USER_ID}">
<input type="hidden" name="group" value="{GROUP}">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_SUBJECT}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="name" class=dataField value="{NAME}" /></slot></td>
<td scope="row" valign="middle" noWrap><slot>{MOD.LBL_CONTACT_NAME}</slot>&nbsp;&nbsp;</td>
<td scope="row" valign="middle"><slot><input type=text size="20" name="contact_name" class=dataField value='{CONTACT_NAME}' /></slot></td>
<td scope="row" valign="middle" nowrap align="right">
<input type="submit" name="button" class="button" value="{APP.LBL_SEARCH_BUTTON_LABEL}"/>
<input title="{APP.LBL_CLEAR_BUTTON_TITLE}" accessKey="{APP.LBL_CLEAR_BUTTON_KEY}" onclick="clear_form(this.form);" class="button" type="button" name="clear" value=" {APP.LBL_CLEAR_BUTTON_LABEL} "/>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
{JAVASCRIPT}
<!-- END: main -->

42
modules/Emails/Status.html Executable file
View File

@@ -0,0 +1,42 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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 -->
{STATUS}
<!-- END: main -->

View File

@@ -0,0 +1,93 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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/Emails/SubPanelViewRecipients.html,v 1.2 2004/06/29 07:22:26 sugarclint Exp {APP.LBL_CURRENCY_SYM}
********************************************************************************/
-->
<!-- BEGIN: users -->
<h3>{APP.LBL_USER_LIST}</h3>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<tr height="20" >
<td scope="col" width="25%" ><slot>{APP.LBL_LIST_NAME}</slot></td>
<td scope="col" width="20%" ><slot>{APP.LBL_LIST_USER_NAME}</slot></td>
<td scope="col" width="30%" ><slot>{APP.LBL_LIST_EMAIL}</slot></td>
<td scope="col" width="15%" ><slot>{APP.LBL_LIST_PHONE}</slot></td>
<td scope="col" width="10%" ><slot><img src="include/images/blank.gif" widht="1" height="1" alt=""></slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td scope='row' valign=TOP><slot><a href="{URL_PREFIX}index.php?action=DetailView&module=Users&record={USER.ID}">{USER.FIRST_NAME}&nbsp;{USER.LAST_NAME}</a></slot></td>
<td valign=TOP><slot>{USER.USER_NAME}</slot></td>
<td valign=TOP><slot><A HREF="mailto:{USER.EMAIL1}" >{USER.EMAIL1}</A></slot></td>
<td valign=TOP nowrap><slot>{USER.PHONE_WORK}</slot></td>
<td nowrap align="center" valign=TOP><slot><a class="listViewTdToolsS1" onclick="return confirm('{MOD.NTC_REMOVE_INVITEE}')" href="{URL_PREFIX}index.php?action=DeleteEmailUserRelationship&module=Emails&user_id={USER.ID}&email_id={RECORD_ID}{RETURN_URL}">{REMOVE_INLINE_PNG}</a>&nbsp;<a class="listViewTdToolsS1" onclick="return confirm('{MOD.NTC_REMOVE_INVITEE}')" href="{URL_PREFIX}index.php?action=DeleteEmailUserRelationship&module=Emails&user_id={USER.ID}&email_id={RECORD_ID}{RETURN_URL}">{APP.LNK_REMOVE}</a></slot></td>
</tr>
<!-- END: row -->
</table>
<!-- END: users -->
<!-- BEGIN: contacts -->
<h3>{APP.LBL_CONTACT_LIST}</h3>
<table cellpadding="0" cellspacing="0" width="100%" border="0" class="list view">
<tr height="20" >
<td width="25%" ><slot>{APP.LBL_LIST_CONTACT_NAME}</slot></td>
<td width="20%" ><slot>{APP.LBL_LIST_ACCOUNT_NAME}</slot></td>
<td width="30%" ><slot>{APP.LBL_LIST_EMAIL}</slot></td>
<td width="15%" ><slot>{APP.LBL_LIST_PHONE}</slot></td>
<td width="10%" ><slot>&nbsp;</slot></td>
</tr>
<!-- BEGIN: row -->
<tr height="20" class="{ROW_COLOR}S1">
<td valign=TOP><slot><a href="{URL_PREFIX}index.php?action=DetailView&module=Contacts&record={CONTACT.ID}" >{CONTACT.FIRST_NAME}&nbsp;{CONTACT.LAST_NAME}</a></slot></td>
<td valign=TOP><slot>{CONTACT.ACCOUNT_NAME}</slot></td>
<td valign=TOP><slot><A HREF="mailto:{CONTACT.EMAIL1}" >{CONTACT.EMAIL1}</A></slot></td>
<td valign=TOP nowrap><slot>{CONTACT.PHONE_WORK}</slot></td>
<td nowrap align="center" valign=TOP><slot><a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=Contacts&record={CONTACT.ID}{RETURN_URL}">{EDIT_INLINE_PNG}</a>&nbsp;<a class="listViewTdToolsS1" href="{URL_PREFIX}index.php?action=EditView&module=Contacts&record={CONTACT.ID}{RETURN_URL}">{APP.LNK_EDIT}</a>&nbsp;&nbsp;<a class="listViewTdToolsS1" onclick="return confirm('{MOD.NTC_REMOVE_INVITEE}')" href="{URL_PREFIX}index.php?action=DeleteEmailContactRelationship&module=Emails&contact_id={CONTACT.ID}&email_id={RECORD_ID}{RETURN_URL}">{REMOVE_INLINE_PNG}</a>&nbsp;<a class="listViewTdToolsS1" onclick="return confirm('{MOD.NTC_REMOVE_INVITEE}')" href="{URL_PREFIX}index.php?action=DeleteEmailContactRelationship&module=Emails&contact_id={CONTACT.ID}&email_id={RECORD_ID}{RETURN_URL}">{APP.LNK_REMOVE}</a></slot></td>
</tr>
<!-- END: row -->
</table>
<!-- END: contacts -->

218
modules/Emails/allList.html Executable file
View File

@@ -0,0 +1,218 @@
<!-- BEGIN: main -->
<link href="modules/Emails/allListStyle.css" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script href="jscalendar/calendar.js"></script>
<script type="text/javascript">
function showHeaders() {
var user_id = $("#user_list option:selected").val();
var date_from = $("#date_from").val();
var date_to = $("#date_to").val();
var answered = $("#answered option:selected").val();
var seen = $("#seen option:selected").val();
var deleted = $("#deleted option:selected").val();
var type = $("#type option:selected").val();
var loader = "<table><tr><td><img src=\"include/javascript/yui/build/assets/skins/sam/ajax-loader.gif\"/></td><td>Trwa ładowanie nagłówków</td></tr></table>";
var ioInput = document.getElementById("ioInput");
document.getElementById("header_list_div").innerHTML = loader;
var callback = {
success: function(o) {
document.getElementById("header_list_div").innerHTML = o.responseText;
}
}
if (type==0)
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showHeaders&user_id="+user_id+"&date_from="+date_from+"&date_to="+date_to+"&answered="+answered+"&seen="+seen+"&deleted="+deleted+"&io="+ioInput.value.trim(), callback);
if (type==1)
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showHeaders_outbox&user_id="+user_id+"&date_from="+date_from+"&date_to="+date_to+"&deleted="+deleted+"&io="+ioInput.value.trim(), callback);
}
function showMail(id) {
document.getElementById("mail").style.visibility = "visible";
var user_id = $("#user_list option:selected").val();
var loader = "<img src=\"include/javascript/yui/build/assets/skins/sam/ajax-loader.gif\"/>Trwa ładowanie treści";
document.getElementById("mail").innerHTML = loader;
var callback = {
success: function(o) {
document.getElementById("mail").innerHTML = o.responseText;
}
}
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showMail&mail_id="+id+"&user_id="+user_id, callback);
}
function showAttachments(id) {
var user_id = $("#user_list option:selected").val();
var callback = {
success: function(o) {
document.getElementById("attachments").innerHTML = o.responseText;
}
}
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showAttachments&mail_id="+id+"&user_id="+user_id, callback);
}
function changeType(select) {
var ioInputLabel = document.getElementById("ioInputLabel");
switch(parseInt(select.value))
{
default:
case 0:
ioInputLabel.innerHTML = "Nadawca:";
break;
case 1:
ioInputLabel.innerHTML = "Odbiorca:";
break;
}
}
</script>
<div id="allList">
<table>
<tr>
<td>&nbsp</td>
<td>
<table id="options_table">
<tr>
<td>
<table>
<tr>
<td>&nbsp</td>
<td>Format daty yyyy-mm-dd</td>
</tr>
<tr>
<td>Data od:</td>
<td>
<input type="text" id="date_from"/>&nbsp&nbsp<img src="themes/default/images/jscalendar.gif" id="calendar_open"/>
<script type="text/javascript">
Calendar.setup(
{
inputField : "date_from",
ifFormat : "%Y-%m-%d",
button : "calendar_open"
}
);
</script>
</td>
</tr>
<tr>
<td>Data do:</td>
<td>
<input type="text" id="date_to"/>&nbsp&nbsp<img src="themes/default/images/jscalendar.gif" id="calendar_open2"/>
<script type="text/javascript">
Calendar.setup(
{
inputField : "date_to",
ifFormat : "%Y-%m-%d",
button : "calendar_open2"
}
);
</script>
</td>
</tr>
</table>
<br/>
<br/>
</td>
<td>
</td>
<td>
<table>
<tr>
<td colspan="2">Atrybuty wiadomości</td>
</tr>
<tr>
<td><label for="ioInput" id="ioInputLabel">Nadawca:</label></td>
<td>
<input type="text" name="ioInput" id="ioInput"/>
</td>
</tr>
<!--
<tr>
<td>Usunięte:</td>
<td>
<select id="deleted">
<option value="2"></option>
<option value="1">Tak</option>
<option value="0">Nie</option>
</select>
</td>
</tr>
<tr>
<td>Odpowiedziane:</td>
<td>
<select id="answered">
<option value="2"></option>
<option value="1">Tak</option>
<option value="0">Nie</option>
</select>
</td>
</tr>
<tr>
<td>Przyczytane:</td>
<td>
<select id="seen">
<option value="2"></option>
<option value="1">Tak</option>
<option value="0">Nie</option>
</select>
</td>
</tr>
-->
</table>
<br/>
<br/>
</td>
<td width="100">
&nbsp
</td>
<td>
Wiadomości:
<select id="type" onChange="changeType(this);">
<option value="0">Odebrane</option>
<option value="1">Wysłane</option>
</select>
</td>
<td valign="bottom">
<button type="button" onClick="javascript:showHeaders();">Filtruj</button>
<br/>
<br/>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="user_list_cell">
{USER_LIST}
</td>
<td>
<div id="header_list_div"></div>
</td>
</tr>
<tr>
<td id="attachments_cell">
<div id="attachments"></div>
</td>
<td>
<div id="mail"></div>
</td>
</tr>
</table>
</div>
<!-- END: main -->

51
modules/Emails/allList2.html Executable file
View File

@@ -0,0 +1,51 @@
<!-- BEGIN: main -->
<link href="modules/Emails/allListStyle.css" rel="stylesheet" type="text/css">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
function showHeaders() {
var user_id = $("#user_list option:selected").val();
var date_from = $("#date_from").val();
var date_to = $("#date_to").val();
var answered = $("#answered option:selected").val();
var seen = $("#seen option:selected").val();
var deleted = $("#deleted option:selected").val();
var loader = "<table><tr><td><img src=\"include/javascript/yui/build/assets/skins/sam/ajax-loader.gif\"/></td><td>Trwa <20>adowanie nag<61><67>wk<77>w</td></tr></table>";
document.getElementById("header_list_div").innerHTML = loader;
document.getElementById("mail").innerHTML = "";
var callback = {
success: function(o) {
document.getElementById("header_list_div").innerHTML = o.responseText;
}
}
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showHeaders&user_id="+user_id+"&date_from="+date_from+"&date_to="+date_to+"&answered="+answered+"&seen="+seen+"&deleted="+deleted, callback);
}
function showMail() {
var id = $("#header_list option:selected").val();
var user_id = $("#user_list option:selected").val();
var loader = "<img src=\"include/javascript/yui/build/assets/skins/sam/ajax-loader.gif\"/>Trwa <20>adowanie tre<72>ci";
document.getElementById("mail").innerHTML = loader;
var callback = {
success: function(o) {
document.getElementById("mail").innerHTML = o.responseText;
}
}
var connectionObject = YAHOO.util.Connect.asyncRequest ("GET", "index.php?module=Emails&action=allList&to_pdf=1&request=showMail&mail_id="+id+"&user_id="+user_id, callback);
}
</script>
<div id="allList">
<div id="user_list_div">
Users
</div>
<div id="main">
<div id="filters">
filtry
</div>
<div id="header_list_div">
Headers
</div>
<div id="mail_text">
Mail text
</div>
</div>
</div>
<!-- END: main -->

View File

@@ -0,0 +1,56 @@
<!--
/*********************************************************************************
* 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">
<h2>Create Archived Emails</h2>
<p>Use the Create Archived Emails page to archive emails that you sent or received from your contacts and other users.
<br>Copy the email into the Archived Email form. To associate it with a specific sugar record, select the related module from the drop-down list above and click <span class="helpButton">Select</span> to specify the record. The archived email is listed in the History panel of the related record.
<p>To attach a file that is located on your machine, click <span class="helpButton">Add File</span> and navigate to the file location.
<p>To attach a file that is located in the Sugar database, click <span class="helpButton">Add Document</span> and select the file from the Documents list.
<p>To archive the email in plain text format, select the <span class="helpButton">Edit Plain Text box</span> located below Body and paste the text the text box that displays below.

View File

@@ -0,0 +1,57 @@
<!--
/*********************************************************************************
* 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>View Emails</h1>
<p>Use this page to view emails that you saved as drafts, or emails that you sent, or emails that you archived.</p>
<p>This page displays the following information:</p>
<ul>
<li>A Search panel where you can enter information such as the subject or contact name to search for emails. Enter the date and time when the email was sent.
<li>A list of emails that you sent, drafted, or archived; click an email subject to view the contents of the email.
<li>A Mass Update panel that you can use to update or delete multiple emails selected from the list.
</ul>

View File

@@ -0,0 +1,112 @@
<!--
/*********************************************************************************
* 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".
********************************************************************************/
/*********************************************************************************
********************************************************************************/
-->
<!--
/*********************************************************************************
* 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>Emails Group Inbox</h1>
<p>Use the Group Inbox page to assign emails from the group inbox to a specific user or team. This page displays the following information:
<ul>
<li>A Search sub-panel where you can enter information such as the email status and subject to find a specific email.
<li>An Assignment sub-panel that enables you to assign some or all group emails to a specific user or team using one of the following options:
<ul>
<li>Direct Assign: The user selects the users and assigns the emails to them.
<li>Round Robin: The assigned emails are distributed equally among assigned users.
<li>Least Busy: The system counts the emails marked as Assigned or Unread in the user inbox and routes assigned emails to the user who has the lowest number of assigned or unread emails. When all the users have an equal number of assigned emails, the system switches to the round robin mode.
/ul>
<li>
A Group Inbox sub-panel where you can view existing group emails, check for new emails, and export some or all the emails to your local machine.
<ul>
<li>To check for new emails, click <span class="helpButton">Check Mail</span>.>
<li>To export some emails, select them from the list, click <span class="helpButton">Export</span>, and choose Selected Records. To export all the emails on the page, choose Current Page; to export all the emails, select Entire list.

View File

@@ -0,0 +1,155 @@
<!--
/*********************************************************************************
* 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>Emails</h1>
<p>Use the Emails module as an email client to view and manage emails from external mail accounts.
<p>The Emails Home page displays the following information:<br>
<ul>
<li>A list of emails in your Sugar inbox along with related information such as the sender and the subject. Select an email from the list to view the contents in the panel below.
<li>Buttons to perform basic email functions.
<ul>
<li>To check for incoming emails, click <span class="helpButton">Check Mail</span>.
<li>To compose an email, click <span class="helpButton">Compose Email</span>.
<li>To set your email preferences, create email accounts, and create group folders, click <span class="helpButton">Settings</span>.
<li>To change the page layout, click the desired layout displayed in the <span class="helpButton">Views</span> option adjacent to the Settings button.
</ul>
<li>Tabs for Folders, Search, and Address Book.
<ul>
<li>The Folders tab lists existing local folders and group folders. Sugar provides a local folder named My Email to store imported emails that are assigned to you. This folder contains two sub-folders to store your email drafts and outbound emails. You can create additional local folders in the Folders tab.
<p>Only administrators can create group folders. Specific users or teams who are assigned to a Group folder can view its contents to perform assigned tasks.
<li>The Search tab lists fields for simple search and for advanced search within mail accounts. Enter a keyword in the Simple Search field to find emails containing that word. To narrow down search results with additional filters such as subject, sender, and recipient, use the Advanced Search fields. To search within all imported emails, use All Emails.
<li>The Address Book tab provides the ability to add entries from your list of users, contacts, and leads to your address book.
</ul>
<li>A Shortcuts section that displays the following options:
<ul>
<li><span class="helpShortcut">My Email</span>. Click this option to view the Emails module.
<li><span class="helpShortcut">My Archives</span>. Click this option to view a list of emails that you archived for your records.
<li><span class="helpShortcut">Create Archived Email</span>. Click this option to archive an inbound or outbound email for your records.
<li><span class="helpShortcut">Create Email Template</span>. Click this option to create a template for campaign emails. The system extracts variables such as names and addresses from campaign target records and merges them with the email template when you send out campaign emails.
<li><span class="helpShortcut">All Emails</span>. Click this option to view all outbound emails including drafts and archived emails.
<li><span class="helpShortcut">Email Templates</span>. Click this option to view a list of existing email templates.
</ul>
<h3>Setting General Preferences</h3>
To set up general preferences, click <span class="helpButton">Settings</span> and select the <span class="helpButton">General</span> tab.
<br>General settings include options such as how frequently you want to check for incoming emails, the number of emails listed on a page, page layout, character sets, and signatures. Some of these settings have default values, which you can change. General settings apply to all your email accounts in Sugar.
<h3>Creating Mail Accounts</h3>
You can send emails using the default mail account set up by the administrator. However, to access your external mail accounts through Sugar, you must set up a separate mail account for each external email account that you want to access.
<p>To set up a mail account, do as follows:
<ol>
<li>Click <span class="helpButton">Settings</span> and select the <span class="helpButton">Accounts</span> tab.
<li>Enter a name for the account.
<li>Enter the address of the email server from which your emails will be routed to Sugar.
<li>Enter a user name and password for the account. Some Email servers require the user name to be the user's email address.
<li>From the Mail Server Protocol drop-down list, select either IMAP or POP3 as the mail server protocol. If you are setting up a gmail account, click <span class="helpButton">Show Advanced</span> and enable SSL.
<br>If you select IMAP, click <span class="helpButton">Select</span> to specify a Monitored folder, a Trash folder and a Sent folder. The default monitored folder is Inbox. Use the Ctrl key or the Shift key to select multiple folders as the monitored folders.
<li>To change the default mail server for outgoing emails from the Group mail account, select an different one from the drop-down list or specify a new server as described below.
</ol>
<p>Click <span class="helpButton">Test settings</span> to ensure they are correct and then click <span class="helpButton">Save</span> to create the account.
<p>Click <span class="helpButton">Save</span> to save the settings; click <span class="helpButton">Clear Form</span> if you do not want to save the settings.
<h3>Specifying a Mail Server for Outbound Emails</h3>
<ol>
<li>Click the <span class="helpButton">Add</span> button adjacent to the Outgoing Mail Server field on the Mail Accounts tab.
<li>Enter the following information in the Outbound Mail Server window.
<ul>
<li>Name. Enter a name for the account.
<li>SMTP Server. Enter the SMTP Mail Server's address.
<li>SMTP Port. Enter the Mail Server's port number.
<br>To add Google's Gmail Server, click <span class="helpButton">Set Gmail Defaults</span>.The system fills in the SMTP Server and SMTP Port fields with the Gmail server address and port number respectively.
<li>Use SSL when connecting. Select this option if you are using the POP3 protocol and the mail server requires SSL. You can also use SSL with IMAP to access a gmail account.
<li>Use SMTP Authentication. Select this option if the mail server requires authentication to send out the email.
<li>SMTP Username. Enter your username for the mail account.
<li>SMTP Password. Enter your password for the mail account.
</ul>
<li>Click <span class="helpButton">Save</span> to add the mail server.
<br>The new mail server displays in the Outgoing Mail Server drop-down list.
</ol>
<h3>Creating Email Folders</h3>
<br>Sugar automatically creates a folder for every mail account that you configure. Emails in this folder reside on the mail server of the associated external mail account.
<br>Sugar also provides the My Email folder for imported emails that are assigned to you, your teams, and your direct reports.
You can create other local folders to group emails according to subject, project, or other criteria.
<p>As an administrator, you can create Group folders to route incoming emails for distribution among various users in the organization. You create Group folders in the Folders tab of the Settings window, and local folders in the Folders tab of the Emails module home page.<br>
<p>To create a local folder, in the Folders tab in the Emails module, right-click <span class="helpButton">My Email</span> and select <span class="helpButton">Add Folder</span>.<br>
<p>To create a Group folder, do the following:
<ol>
<li>Click <span class="helpButton">Settings</span> and select the <span class="helpButton">Folders</span> tab.
<li>In the Create Group Folder section, enter a name for the folder.
<li>To create a sub-folder, select the parent folder from the Add Folder drop-down list.
<!--BEGIN SUGARCRM CP ONLY -->
<li>Select a group from the group drop-down list.
<!--END SUGARCRM CP ONLY-->
<li>Click <span class="helpButton">Add New Group Folder</span> to create the folder.
</ol>
To view local folders and group folders in the Folders tab of the Emails home page, you must select them in the Folders tab under Settings. Similarly, to hide a folder, de-select it in Settings.
<h3>Creating an Address Book</h3>
You can create an address book consisting of entries from your list of contacts, users, and leads. After you populate the Address Book, you can find an entry quickly by typing in an alphabet, partial name, or full name in the Filter field.<br>
<ol>
<li>Click <span class="helpButton">Add Entries</span> and in the Select Address Book Entries window, enter the first name, last name, or email address of the individual and click <span class="helpButton">Search</span>.
<li>In the search results, click <span class="helpButton">Add</span> to list the individual in your address book.
</ol>
<h3>Composing and Managing Emails</h3>
<ol>
<li>To create an email, click <span class="helpButton">Compose Email</span>.
<li>If you created more than one mail account in Sugar, select a account from the drop-down list in the To field to specify the account from which to send the email.
<li>To save the email as a draft, click <span class="helpButton">Save Draft</span>.
<li>To attach one or more files, click <span class="helpButton">Attach Files</span>. To attach a file located on your local file system, select <span class="helpButton">Add File</span>. To attach a file created in Sugar, click <span class="helpButton">Add Document</span>.
<li>To select an email template for the email as well as a signature or a character set that is different from what you specified in Settings, click <span class="helpButton">Options</span> and select from the appropriate drop-down list. To send the email in HTML format, select <span class="helpButton">Send HTML</span>. To archive the email in Sugar, select <span class="helpButton">Archive Sent Email</span>.
</ol>

View File

@@ -0,0 +1,37 @@
<!--
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2010 SugarCRM Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero 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 Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero 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 Affero General Public License version 3.
*
* In accordance with Section 7(b) of the GNU Affero 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".
********************************************************************************/
-->
<html><body></body></html>