Add TPL files
This commit is contained in:
44
modules/Emails/templates/_baseConfigData.tpl
Executable file
44
modules/Emails/templates/_baseConfigData.tpl
Executable file
@@ -0,0 +1,44 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
|
||||
SUGAR.email2.composeLayout.charsets = {$emailCharsets};
|
||||
SUGAR.default_inbound_accnt_id = '{$defaultOutID}';
|
||||
SUGAR.email2.userPrefs = {$userPrefs};
|
||||
SUGAR.email2.signatures = {$defaultSignature};
|
||||
{$tinyMCE}
|
||||
linkBeans = {$linkBeans};
|
||||
{$lang}
|
||||
171
modules/Emails/templates/_baseEmail.tpl
Executable file
171
modules/Emails/templates/_baseEmail.tpl
Executable file
@@ -0,0 +1,171 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<link rel="stylesheet" type="text/css" href="include/javascript/yui/assets/menu.css" />
|
||||
<link rel="stylesheet" type="text/css" href="modules/Emails/EmailUI.css" />
|
||||
{include file="modules/Emails/templates/_baseJsVars.tpl"}
|
||||
<script type="text/javascript" src='{sugar_getjspath file='include/javascript/tiny_mce/tiny_mce.js'}'></script>
|
||||
<script type="text/javascript" src='{sugar_getjspath file='include/javascript/sugar_grp_emails.js'}'></script>
|
||||
<script type="text/javascript" src='{sugar_getjspath file='include/javascript/sugar_grp_yui_widgets.js'}'></script>
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
|
||||
{include file="modules/Emails/templates/_baseConfigData.tpl"}
|
||||
|
||||
var calFormat = '{$calFormat}';
|
||||
var theme = "{$theme}";
|
||||
|
||||
{$quickSearchForAssignedUser}
|
||||
|
||||
SUGAR.email2.detailView.qcmodules = {$qcModules};
|
||||
|
||||
|
||||
var isAdmin = {$is_admin};
|
||||
var loadingSprite = app_strings.LBL_EMAIL_LOADING + " <img src='include/javascript/yui/build/assets/skins/sam/wait.gif' height='14' align='absmiddle'>";
|
||||
</script>
|
||||
<div class="email">
|
||||
<form id="emailUIForm" name="emailUIForm">
|
||||
<input type="hidden" id="module" name="module" value="Emails">
|
||||
<input type="hidden" id="action" name="action" value="EmailUIAjax">
|
||||
<input type="hidden" id="to_pdf" name="to_pdf" value="true">
|
||||
<input type="hidden" id="emailUIAction" name="emailUIAction">
|
||||
<input type="hidden" id="mbox" name="mbox">
|
||||
<input type="hidden" id="uid" name="uid">
|
||||
<input type="hidden" id="ieId" name="ieId">
|
||||
<input type="hidden" id="forceRefresh" name="forceRefresh">
|
||||
<input type="hidden" id="focusFolder" name="focusFolder">
|
||||
<input type="hidden" id="focusFolderOpen" name="focusFolderOpen">
|
||||
<input type="hidden" id="sortBy" name="sortBy">
|
||||
<input type="hidden" id="reverse" name="reverse">
|
||||
</form>
|
||||
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
|
||||
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td NOWRAP style="padding-bottom: 2px;">
|
||||
<button class="button" id="checkEmailButton" onclick="SUGAR.email2.folders.startEmailAccountCheck();"><img src="themes/default/images/icon_email_check.gif" align="absmiddle" border="0"> {$app_strings.LBL_EMAIL_CHECK}</button>
|
||||
<button class="button" id="composeButton" onclick="SUGAR.email2.composeLayout.c0_composeNewEmail();"><img src="themes/default/images/icon_email_compose.gif" align="absmiddle" border="0"> {$mod_strings.LNK_NEW_SEND_EMAIL}</button>
|
||||
<button class="button" id="settingsButton" onclick="SUGAR.email2.settings.showSettings();"><img src="themes/default/images/icon_email_settings.gif" align="absmiddle" border="0"> {$app_strings.LBL_EMAIL_SETTINGS}</button>
|
||||
</td>
|
||||
<td NOWRAP align="right" style="padding-bottom: 2px;">
|
||||
<a href="index.php?module=Administration&action=SupportPortal&view=documentation&version={$sugar_version}&edition={$sugar_flavor}&lang={$current_language}&help_module=Emails&help_action=index&key={$server_unique_key}" width='13' height='13' alt='{$app_strings.LNK_HELP}' border='0' align='absmiddle' target="_blank"></a>
|
||||
|
||||
<a href="index.php?module=Administration&action=SupportPortal&view=documentation&version={$sugar_version}&edition={$sugar_flavor}&lang={$current_language}&help_module=Emails&help_action=index&key={$server_unique_key}" class='utilsLink' target="_blank">{$app_strings.LNK_HELP}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
{include file="modules/Emails/templates/overlay.tpl"}
|
||||
|
||||
<div id="emailContextMenu"></div>
|
||||
<div id="folderContextMenu"></div>
|
||||
<div id="container" class="email" style="position:relative; height:550px; overflow:hidden;"></div>
|
||||
<div id="innerLayout" class="yui-hidden"></div>
|
||||
<div id="listViewLayout" class="yui-hidden"></div>
|
||||
<div id="settingsDialog"></div>
|
||||
|
||||
<!-- Hidden Content -->
|
||||
<div class="yui-hidden">
|
||||
<div id="searchTab" style="padding:5px">
|
||||
{include file="modules/Emails/templates/advancedSearch.tpl"}
|
||||
</div>
|
||||
<div id="settings">
|
||||
{include file="modules/Emails/templates/emailSettings.tpl"}
|
||||
</div>
|
||||
|
||||
<div id="footerLinks" class="yui-hidden"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="editContact" class="yui-hidden"></div>
|
||||
<div id="editContactTab" class="yui-hidden"></div>
|
||||
<div id="editMailingList" class="yui-hidden"></div>
|
||||
<div id="editMailingListTab" class="yui-hidden"></div>
|
||||
|
||||
|
||||
<!-- for detailView quickCreate() calls -->
|
||||
<div id="quickCreate"></div>
|
||||
<div id="quickCreateContent"></div>
|
||||
|
||||
|
||||
<div id="importDialog"></div>
|
||||
<div id="importDialogContent" ></div>
|
||||
|
||||
|
||||
<div id="relateDialog" ></div>
|
||||
<div id="relateDialogContent" ></div>
|
||||
|
||||
|
||||
<div id="assignmentDialog" ></div>
|
||||
<div id="assignmentDialogContent" ></div>
|
||||
|
||||
|
||||
<div id="emailDetailDialog" ></div>
|
||||
<div id="emailDetailDialogContent" ></div>
|
||||
|
||||
|
||||
<!-- for detailView views -->
|
||||
<div id="viewDialog"></div>
|
||||
<div id="viewDialogContent"></div>
|
||||
|
||||
<!-- addressBook select -->
|
||||
{include file="modules/Emails/templates/addressSearchContent.tpl"}
|
||||
|
||||
<!-- accounts outbound server dialogue -->
|
||||
<div id="outboundDialog" class="yui-hidden">
|
||||
{include file="modules/Emails/templates/outboundDialog.tpl"}
|
||||
</div>
|
||||
|
||||
<!-- accounts edit dialogue -->
|
||||
<div id="editAccountDialogue" class="yui-hidden">
|
||||
{include file="modules/Emails/templates/editAccountDialogue.tpl"}
|
||||
</div>
|
||||
|
||||
<div id="testOutboundDialog" class="yui-hidden">
|
||||
{include file="modules/Emails/templates/outboundDialogTest.tpl"}
|
||||
</div>
|
||||
|
||||
<div id="assignToDiv" class="yui-hidden">
|
||||
{include file="modules/Emails/templates/assignTo.tpl"}
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
enableQS(true);
|
||||
</script>
|
||||
|
||||
</div>
|
||||
57
modules/Emails/templates/_baseJsVars.tpl
Executable file
57
modules/Emails/templates/_baseJsVars.tpl
Executable file
@@ -0,0 +1,57 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
|
||||
<script type="text/javascript" language="Javascript">
|
||||
var req;
|
||||
var target;
|
||||
var flexContentOld = "";
|
||||
var forcePreview = false;
|
||||
var inCompose = false;
|
||||
|
||||
/* globals for Callback functions */
|
||||
var email; // AjaxObject.showEmailPreview
|
||||
var ieId;
|
||||
var ieName;
|
||||
var focusFolder;
|
||||
var meta; // AjaxObject.showEmailPreview
|
||||
var sendType;
|
||||
var targetDiv;
|
||||
var urlBase = 'index.php';
|
||||
var urlStandard = 'sugar_body_only=true&to_pdf=true&module=Emails&action=EmailUIAjax';
|
||||
|
||||
var lazyLoadFolder = null;
|
||||
</script>
|
||||
146
modules/Emails/templates/_createGroupFolder.tpl
Executable file
146
modules/Emails/templates/_createGroupFolder.tpl
Executable file
@@ -0,0 +1,146 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
/*********************************************************************************
|
||||
* Description:
|
||||
* Created On: Oct 17, 2005
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): Chris Nojima
|
||||
********************************************************************************/
|
||||
-->
|
||||
|
||||
<!-- BEGIN: main -->
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="modules/InboundEmail/InboundEmail.js"></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_3.js"></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1_yui.js"></script>
|
||||
<script type="text/javascript" src="include/SugarFields/Teamset/Teamset.js"></script>
|
||||
{$languageStrings}
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1_yui.js?s={$sugar_version}&c={$js_custom_version}"></script>
|
||||
<script type="text/javascript" src="include/javascript/sugar_grp1.js?s={$sugar_version}&c={$js_custom_version}"></script>
|
||||
<script type="text/javascript" language="Javascript">
|
||||
currentFolders = {$group_folder_array};
|
||||
{literal}
|
||||
function checkFolderName(newFolder) {
|
||||
var duplicate = false;
|
||||
for (var i in currentFolders) {
|
||||
if (currentFolders[i] == newFolder) {
|
||||
duplicate = true;
|
||||
}
|
||||
}
|
||||
if(newFolder == "" || duplicate) {
|
||||
alert(document.getElementById('errorMessage').value);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function checkTeamSetData() {
|
||||
return true
|
||||
} // fn
|
||||
|
||||
function addNewGroupFolder() {
|
||||
var newFolder = document.getElementById('groupFolderAddName').value;
|
||||
if (checkFolderName(newFolder) && checkTeamSetData()) {
|
||||
document.getElementById('EditView').submit();
|
||||
}
|
||||
}
|
||||
|
||||
function editGroupFolder() {
|
||||
var newFolder = document.getElementById('groupFolderAddName').value;
|
||||
if (checkFolderName(newFolder) && checkTeamSetData()) {
|
||||
document.getElementById('EditView').submit();
|
||||
}
|
||||
} // fn
|
||||
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
{$CSS}
|
||||
</head>
|
||||
<body>
|
||||
<form action="index.php" method="post" name="EditView" id="EditView">
|
||||
<input type="hidden" name="module" value="InboundEmail">
|
||||
<input type="hidden" name="action" value="SaveGroupFolder">
|
||||
<input type="hidden" id="errorMessage" name="errorMessage" value="{$app_strings.LBL_EMAIL_ERROR_ADD_GROUP_FOLDER}">
|
||||
<input type="hidden" name="record" value="{$ID}">
|
||||
<input type="hidden" name="to_pdf" value="1">
|
||||
<input type="hidden" name="isDuplicate" value=false>
|
||||
<input type="hidden" name="return_module">
|
||||
<input type="hidden" name="return_action">
|
||||
<input type="hidden" name="return_id">
|
||||
<input type="hidden" name="groupFoldersUser" value="">
|
||||
|
||||
|
||||
<table width="100%" border="0" align="center" cellspacing="{$GRIDLINE}" cellpadding="0">
|
||||
<tr>
|
||||
<td NOWRAP style="padding: 8px;" valign="top">
|
||||
<div style="{$createGroupFolderStyle}">
|
||||
<b>{$app_strings.LBL_EMAIL_SETTINGS_GROUP_FOLDERS_CREATE}:</b>
|
||||
</div>
|
||||
<div style="{$editGroupFolderStyle}">
|
||||
<b>{$app_strings.LBL_EMAIL_SETTINGS_GROUP_FOLDERS_EDIT}:</b>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div>
|
||||
{$app_strings.LBL_EMAIL_FOLDERS_NEW_FOLDER}:
|
||||
</div>
|
||||
<div>
|
||||
<input type="text" value="{$groupFolderName}" name="groupFolderAddName" id="groupFolderAddName">
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div>
|
||||
{$app_strings.LBL_EMAIL_FOLDERS_ADD_THIS_TO}:
|
||||
</div>
|
||||
<div>
|
||||
<select name="groupFoldersAdd" id="groupFoldersAdd">{$group_folder_options}</select>
|
||||
</div>
|
||||
<br />
|
||||
<input type="button" style="{$createGroupFolderStyle}" class="button" value=" {$app_strings.LBL_EMAIL_FOLDERS_ADD_NEW_FOLDER} " {literal} onclick="addNewGroupFolder();" {/literal}>
|
||||
<input type="button" style="{$editGroupFolderStyle}" class="button" value=" {$app_strings.LBL_EMAIL_SAVE} " onclick="editGroupFolder();" >
|
||||
<input type="button" class="button" value=" {$app_strings.LBL_EMAIL_CLOSE} " onclick="window.close();">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</form>
|
||||
{$JAVASCRIPT}
|
||||
</body>
|
||||
</html>
|
||||
<!-- END: main -->
|
||||
46
modules/Emails/templates/addressBook.tpl
Executable file
46
modules/Emails/templates/addressBook.tpl
Executable file
@@ -0,0 +1,46 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div style='padding:5px;'>
|
||||
<button class="button" onclick="SUGAR.email2.addressBook.selectContactsDialogue();" id="selectContacts">{sugar_translate label="LBL_ADD_ENTRIES"}</button>
|
||||
</div>
|
||||
<div id="contactsFilterDiv" class="addressbookSearch">
|
||||
<span> {$app_strings.LBL_EMAIL_ADDRESS_BOOK_FILTER}: <input size="10" type="text" class='input' id="contactsFilter" onkeyup="SUGAR.email2.addressBook.filter(this);">
|
||||
<button class="button" onclick="SUGAR.email2.addressBook.clear();">
|
||||
{$app_strings.LBL_CLEAR_BUTTON_LABEL} </button>
|
||||
</span>
|
||||
</div>
|
||||
<div id="contacts"></div>
|
||||
85
modules/Emails/templates/addressSearch.tpl
Executable file
85
modules/Emails/templates/addressSearch.tpl
Executable file
@@ -0,0 +1,85 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form id="searchForm" method="get" action="#">
|
||||
<table id="searchTable" border="0" cellpadding="0" cellspacing="0" width="670">
|
||||
<tr id="peopleTableSearchRow">
|
||||
<td scope="row" nowrap="NOWRAP">
|
||||
<div id="rollover">
|
||||
{$mod_strings.LBL_SEARCH_FOR}:
|
||||
<a href="#" class="rollover"><img border="0" src="themes/default/images/helpInline.gif">
|
||||
<div style="position:absolute;top:-2px"><span class="rollover">{$mod_strings.LBL_ADDRESS_BOOK_SEARCH_HELP}</span></div>
|
||||
</a>
|
||||
|
||||
<input id="input_searchField" name="input_searchField" type="text" value="">
|
||||
</div>
|
||||
{$mod_strings.LBL_LIST_RELATED_TO}:
|
||||
<select name="person" id="input_searchPerson">
|
||||
{$listOfPersons}
|
||||
</select>
|
||||
|
||||
<a href="javascript:void(0);">
|
||||
<img onclick="SUGAR.email2.addressBook.searchContacts();" src="{sugar_getimagepath file='select.gif'}" align="absmiddle" border="0" alt="{$mod_strings.LBL_EMAIL_SELECTOR}">
|
||||
</a>
|
||||
<a href="javascript:void(0);">
|
||||
<img onclick="SUGAR.email2.addressBook.clearAddressBookSearch();" src="{sugar_getimagepath file='clear.gif'}" align="absmiddle" border="0" alt="{$mod_strings.LBL_EMAIL_SELECTOR}">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="peopleTableSearchRow">
|
||||
<td scope="row" nowrap="NOWRAP" colspan="2" id="relatedBeanColumn">
|
||||
{$mod_strings.LBL_FILTER_BY_RELATED_BEAN}<span id="relatedBeanInfo"></span>
|
||||
<input name="hasRelatedBean" id="hasRelatedBean" type="checkbox"/>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr id="peopleTableSearchRow">
|
||||
<td id="searchSubmit" scope="row" nowrap="NOWRAP">
|
||||
<button onclick="SUGAR.email2.addressBook.insertContactToResultTable(null,'{sugar_translate label='LBL_EMAIL_ADDRESS_BOOK_ADD_TO'}')">
|
||||
{sugar_translate label="LBL_ADD_TO_ADDR" module="Emails"} <b>{sugar_translate label="LBL_EMAIL_ADDRESS_BOOK_ADD_TO"}</b>
|
||||
</button>
|
||||
<button onclick="SUGAR.email2.addressBook.insertContactToResultTable(null,'{sugar_translate label='LBL_EMAIL_ADDRESS_BOOK_ADD_CC'}')">
|
||||
{sugar_translate label="LBL_ADD_TO_ADDR" module="Emails"} <b>{sugar_translate label="LBL_EMAIL_ADDRESS_BOOK_ADD_CC"}</b>
|
||||
</button>
|
||||
<button onclick="SUGAR.email2.addressBook.insertContactToResultTable(null,'{sugar_translate label='LBL_EMAIL_ADDRESS_BOOK_ADD_BCC'}')">
|
||||
{sugar_translate label="LBL_ADD_TO_ADDR" module="Emails"} <b>{sugar_translate label="LBL_EMAIL_ADDRESS_BOOK_ADD_BCC"}</b>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
66
modules/Emails/templates/addressSearchContent.tpl
Executable file
66
modules/Emails/templates/addressSearchContent.tpl
Executable file
@@ -0,0 +1,66 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="contactsDialogue"></div>
|
||||
<div id="contactsDialogueHTML" class="yui-hidden">
|
||||
<div id="contactsDialogueBody">
|
||||
<div id='addressBookTabsDiv'></div>
|
||||
<div id='contactsSearchTabs'>
|
||||
{include file="modules/Emails/templates/addressSearch.tpl"}
|
||||
</div>
|
||||
|
||||
<table >
|
||||
<tr>
|
||||
<td width="60%">
|
||||
<div id="addrSearchGrid" ></div>
|
||||
<div id='dt-pag-nav-addressbook'></div>
|
||||
</td>
|
||||
<td width="3%">
|
||||
<span style="position:relative; top:1px;">
|
||||
<div style="overflow: visible; height: 0; position: absolute; width: 0; right:-2em; top:-166px;">
|
||||
<h3 style="">{sugar_translate label="LBL_SELECTED_ADDR" module="Emails"}:</h3>
|
||||
</div>
|
||||
</span>
|
||||
</td>
|
||||
<td width="37%"valign="top">
|
||||
<div id="addrSearchResultGrid"></div>
|
||||
<div class="yui-pg-container"> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
119
modules/Emails/templates/advancedSearch.tpl
Executable file
119
modules/Emails/templates/advancedSearch.tpl
Executable file
@@ -0,0 +1,119 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form name="advancedSearchForm" id="advancedSearchForm">
|
||||
<table cellpadding="4" cellspacing="0" border="0" id='advancedSearchTable'>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td class="advancedSearchTD">
|
||||
{$app_strings.LBL_EMAIL_SUBJECT}:<br/>
|
||||
<input type="text" class="input" name="name" id="searchSubject" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="advancedSearchTD">
|
||||
{$app_strings.LBL_EMAIL_FROM}:<br/>
|
||||
<input type="text" class="input" name="from_addr" id="searchFrom" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="advancedSearchTD">
|
||||
{$app_strings.LBL_EMAIL_TO}:<br/>
|
||||
<input type="text" class="input" name="to_addrs" id="searchTo" size="20">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="toggleClass visible-search-option">
|
||||
<td ><a href="javascript:void(0);" onclick="SE.search.toggleAdvancedOptions();">{$mod_strings.LBL_MORE_OPTIONS}</a></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td class="advancedSearchTD" style="padding-bottom: 2px">
|
||||
{$app_strings.LBL_EMAIL_SEARCH_DATE_FROM}: <i>({$dateFormatExample})</i><br/>
|
||||
<input name='dateFrom' id='searchDateFrom' onblur="parseDate(this, '{$dateFormat}');" maxlength='10' size='11' value="" type="text">
|
||||
<img src="{sugar_getimagepath file='jscalendar.gif'}" alt="{$app_strings.LBL_ENTER_DATE}" id="jscal_trigger_from" align="absmiddle">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td class="advancedSearchTD">
|
||||
{$app_strings.LBL_EMAIL_SEARCH_DATE_UNTIL}: <i>({$dateFormatExample})</i><br/>
|
||||
<input name='dateTo' id='searchDateTo' onblur="parseDate(this, '{$dateFormat}');" maxlength='10' size='11' value="" type="text">
|
||||
<img src="{sugar_getimagepath file='jscalendar.gif'}" alt="{$app_strings.LBL_ENTER_DATE}" id="jscal_trigger_to" align="absmiddle">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td class="advancedSearchTD">
|
||||
{sugar_translate label="LBL_ASSIGNED_TO"}: <br/>
|
||||
<input name="assigned_user_name" class="sqsEnabled" tabindex="2" id="assigned_user_name" size="" value="{$currentUserName}" type="text" >
|
||||
<input name="assigned_user_id" id="assigned_user_id" value="{$currentUserId}" type="hidden">
|
||||
|
||||
<a href="javascript:void(0);">
|
||||
<img src="{sugar_getimagepath file='select.gif'}" align="absmiddle" border="0" alt="{$mod_strings.LBL_EMAIL_SELECTOR}" onclick='open_popup("Users", 600, 400, "", true, false, {literal}{"call_back_function":"set_return","form_name":"advancedSearchForm","field_to_name_array":{"id":"assigned_user_id","name":"assigned_user_name"}}{/literal}, "single", true);'>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td class="advancedSearchTD">
|
||||
{$mod_strings.LBL_HAS_ATTACHMENT}<br/>
|
||||
{html_options options=$attachmentsSearchOptions name='attachmentsSearch' id='attachmentsSearch'}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td NOWRAP class="advancedSearchTD">
|
||||
{$mod_strings.LBL_EMAIL_RELATE}:<br/>
|
||||
{html_options options=$linkBeansOptions name='data_parent_type_search' id='data_parent_type_search'}
|
||||
<input id="data_parent_id_search" name="data_parent_id_search" type="hidden" value="">
|
||||
<br/><br/>
|
||||
<input class="sqsEnabled" id="data_parent_name_search" name="data_parent_name_search" type="text" value="">
|
||||
<a href="javascript:void(0);"><img src="{sugar_getimagepath file='select.gif'}" align="absmiddle" border="0" alt="{$mod_strings.LBL_EMAIL_SELECTOR}" onclick="SUGAR.email2.composeLayout.callopenpopupForEmail2('_search',{ldelim}'form_name':'advancedSearchForm'{rdelim} );">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="toggleClass yui-hidden">
|
||||
<td class="visible-search-option"><a href="javascript:void(0);" onclick="SE.search.toggleAdvancedOptions();">{$mod_strings.LBL_LESS_OPTIONS}</a></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP>
|
||||
<br /> <br />
|
||||
|
||||
<input type="button" id="advancedSearchButton" class="button" onclick="SUGAR.email2.search.searchAdvanced()" value=" {$app_strings.LBL_SEARCH_BUTTON_LABEL} ">
|
||||
<input type="button" class="button" onclick="SUGAR.email2.search.searchClearAdvanced()" value=" {$app_strings.LBL_CLEAR_BUTTON_LABEL} ">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
66
modules/Emails/templates/assignTo.tpl
Executable file
66
modules/Emails/templates/assignTo.tpl
Executable file
@@ -0,0 +1,66 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form name="Distribute" id="Distribute">
|
||||
<input type="hidden" name="emailUIAction" value="doAssignmentAssign">
|
||||
|
||||
<input type="hidden" name="distribute_method" value="direct">
|
||||
<input type="hidden" name="action" value="Distribute">
|
||||
|
||||
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="edit view">
|
||||
<tr>
|
||||
<td scope="row" nowrap="nowrap" valign="top" >
|
||||
{sugar_translate label="LBL_ASSIGNED_TO"}:
|
||||
</td>
|
||||
<td nowrap="nowrap" width="37%">
|
||||
<input name="assigned_user_name" class="sqsEnabled" tabindex="2" id="assigned_user_name" size="" value="{$currentUserName}" type="text">
|
||||
<input name="assigned_user_id" id="assigned_user_id" value="{$currentUserId}" type="hidden">
|
||||
<input name="btn_assigned_user_name" tabindex="2" title="{$app_strings.LBL_SELECT_BUTTON_TITLE}" accesskey="{$app_strings.LBL_SELECT_BUTTON_KEY}" class="button" value="{$app_strings.LBL_SELECT_BUTTON_LABEL}" onclick='open_popup("Users", 600, 400, "", true, false, {literal}{"call_back_function":"set_return","form_name":"Distribute","field_to_name_array":{"id":"assigned_user_id","name":"assigned_user_name"}}{/literal}, "single", true);' type="button">
|
||||
<input name="btn_clr_assigned_user_name" tabindex="2" title="{$app_strings.LBL_CLEAR_BUTTON_TITLE}" accesskey="{$app_strings.LBL_CLEAR_BUTTON_KEY}" class="button" onclick="this.form.assigned_user_name.value = ''; this.form.assigned_user_id.value = '';" value="{$app_strings.LBL_CLEAR_BUTTON_LABEL}" type="button">
|
||||
</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr><td> </td><td> </td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align="right"><input type="button" class="button" style="margin-left:5px;" value="{$mod_strings.LBL_BUTTON_DISTRIBUTE}" onclick="AjaxObject.detailView.handleAssignmentDialogAssignAction();"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
67
modules/Emails/templates/dceMenuQuickCreate.tpl
Executable file
67
modules/Emails/templates/dceMenuQuickCreate.tpl
Executable 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="dccontent" style="width:880px; height:400px; z-index:2;"></div>
|
||||
<script type='text/javascript'>
|
||||
{literal}
|
||||
function closeEmailOverlay() {
|
||||
lastLoadedMenu=undefined;
|
||||
|
||||
if(typeof SUGAR.quickCompose.parentPanel != 'undefined' && SUGAR.quickCompose.parentPanel != null) {
|
||||
if(tinyMCE) {
|
||||
tinyMCE.execCommand('mceRemoveControl', false, 'htmleditor0');
|
||||
}
|
||||
SUGAR.quickCompose.parentPanel.hide();
|
||||
SUGAR.quickCompose.parentPanel = null;
|
||||
}
|
||||
|
||||
DCMenu.closeOverlay();
|
||||
}
|
||||
{/literal}
|
||||
|
||||
SUGAR.quickCompose.init({$json_output});
|
||||
|
||||
{literal}
|
||||
|
||||
YAHOO.util.Event.onAvailable('dcmenu_close_link', function() {
|
||||
document.getElementById('dcmenu_close_link').href = 'javascript:closeEmailOverlay();';
|
||||
}, this);
|
||||
|
||||
//override the action here so we know to close the menu when email is sent
|
||||
action_sugar_grp1 = 'quickcreate';
|
||||
|
||||
{/literal}
|
||||
</script>
|
||||
244
modules/Emails/templates/editAccountDialogue.tpl
Executable file
244
modules/Emails/templates/editAccountDialogue.tpl
Executable file
@@ -0,0 +1,244 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form id="ieAccount" name="ieAccount">
|
||||
<input type="hidden" id="ie_id" name="ie_id">
|
||||
<input type="hidden" id="ie_status" name="ie_status" value="Active">
|
||||
<input type="hidden" id="ie_team" name="ie_team" value="{$ie_team}">
|
||||
<input type="hidden" id="group_id" name="group_id">
|
||||
<input type="hidden" id="group_id" name="mark_read" value="1">
|
||||
<input type="hidden" name="searchField" value="">
|
||||
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<td>
|
||||
<h4>{$mod_strings.LBL_EMAIL_SETTINGS_INBOUND}</h4>
|
||||
</td>
|
||||
<td style="vertical-align:bottom;"><a href="javascript:void(0);" onclick="javascript:SUGAR.email2.accounts.fillInboundGmailDefaults();">{$app_strings.LBL_EMAIL_ACCOUNTS_GMAIL_DEFAULTS}</a> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row" width="15%" NOWRAP>
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_NAME}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" width="35%">
|
||||
<input id='ie_name' name='ie_name' type="text" size="30">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row">
|
||||
{$ie_mod_strings.LBL_LOGIN}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='email_user' name='email_user' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" scope="row">
|
||||
{$ie_mod_strings.LBL_PASSWORD}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='email_password' name='email_password' size='30' maxlength='100' type="password" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_SERVER_URL}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='server_url' name='server_url' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_SERVER_TYPE}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<select name='protocol' id="protocol" onchange="SUGAR.email2.accounts.setPortDefault(); SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">{$PROTOCOL}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_SSL}:
|
||||
<div id="rollover">
|
||||
<a href="#" class="rollover"><img border="0" src="{sugar_getimagepath file='helpInline.gif'}"><span>{$ie_mod_strings.LBL_SSL_DESC}</span></a>
|
||||
</div>
|
||||
</td>
|
||||
<td valign="top" width="15%">
|
||||
<div class="maybe">
|
||||
<input name='ssl' id='ssl' {$CERT} value='1' type='checkbox' {$SSL} onClick="SUGAR.email2.accounts.setPortDefault();">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_PORT}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input name='port' id='port' size='10' onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);">
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="mailboxdiv" style="dispay:'none';">
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_MAILBOX}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='mailbox' value="" name='mailbox' size='30' maxlength='500' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
|
||||
<input type="button" id="subscribeFolderButton" name="subscribeFolderButton" class="button" onclick='this.form.searchField.value="";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="trashFolderdiv" style="dispay:'none';">
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_TRASH_FOLDER}: <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='trashFolder' value="" name='trashFolder' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
|
||||
<input type="button" id="trashFolderButton" name="trashFolderButton" class="button" onclick='this.form.searchField.value="trash";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="sentFolderdiv" style="dispay:'none';">
|
||||
<td valign="top" scope="row" NOWRAP>
|
||||
{$ie_mod_strings.LBL_SENT_FOLDER}:
|
||||
</td>
|
||||
<td valign="top" >
|
||||
<input id='sentFolder' value="" name='sentFolder' size='30' maxlength='100' type="text" onclick="SUGAR.email2.accounts.ieAccountError(SUGAR.email2.accounts.normalStyle);" />
|
||||
<input type="button" id="sentFolderButton" name="sentFolderButton" class="button" onclick='this.form.searchField.value="sent";SUGAR.email2.accounts.getFoldersListForInboundAccountForEmail2();' value="{$app_strings.LBL_EMAIL_SELECT}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP colspan="2" style="padding-bottom: 15px">
|
||||
<input title="{$ie_mod_strings.LBL_TEST_BUTTON_TITLE}"
|
||||
type='button'
|
||||
accessKey="{$ie_mod_strings.LBL_TEST_BUTTON_KEY}"
|
||||
class="button"
|
||||
onClick='SUGAR.email2.accounts.testSettings();'
|
||||
name="button" id="testButton" value=" {$ie_mod_strings.LBL_TEST_SETTINGS} ">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
</table>
|
||||
<table border="0" cellspacing="0" cellpadding="0" class="edit view" width="100%">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<h4>{$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND}</h4>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_FROM_NAME}:
|
||||
<span class="required">
|
||||
{$app_strings.LBL_REQUIRED_SYMBOL}
|
||||
</span>
|
||||
</td>
|
||||
<td >
|
||||
<input type="text" id="ie_from_name" name="from_name" size="30" maxlength="64" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_FROM_ADDR}:
|
||||
<span class="required">
|
||||
{$app_strings.LBL_REQUIRED_SYMBOL}
|
||||
</span>
|
||||
</td>
|
||||
<td >
|
||||
<input type="text" id="ie_from_addr" name="from_addr" size="30" maxlength="64" value="">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_REPLY_TO_ADDR}:
|
||||
</td>
|
||||
<td >
|
||||
<input type="text" id="reply_to_addr" name="reply_to_addr" size="30" maxlength="64" value="">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNT}:
|
||||
<span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td >
|
||||
<select name='outbound_email' id='outbound_email' onchange="SUGAR.email2.accounts.checkOutBoundSelection()"></select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="yui-hidden" id="inboundAccountRequiredUsername">
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_ACCOUNTS_SMTPUSER}:
|
||||
<span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td >
|
||||
<input type="text" id="inbound_mail_smtpuser" name="mail_smtpuser" size="30" maxlength="64">
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="yui-hidden" id="inboundAccountRequiredPassword">
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_ACCOUNTS_SMTPPASS}:
|
||||
<span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span>
|
||||
</td>
|
||||
<td >
|
||||
<input type="password" id="inbound_mail_smtppass" name="mail_smtppass" size="30" maxlength="64">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td style="padding: 0px !important;"colspan="2"> </td></tr>
|
||||
|
||||
<tr style="padding-bottom: 25px;padding-top:15px;">
|
||||
<td scope="row" colspan="2">
|
||||
<input title="{$ie_mod_strings.LBL_EMAIL_SAVE}"
|
||||
type='button'
|
||||
accessKey="s"
|
||||
class="button"
|
||||
onClick='SUGAR.email2.accounts.saveIeAccount();'
|
||||
name="button" id="saveButton" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} ">
|
||||
|
||||
<input title="{$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT}"
|
||||
type='button'
|
||||
accessKey="n"
|
||||
class="button"
|
||||
onClick='SUGAR.email2.accounts.clearInboundAccountEditScreen();SE.accounts.setPortDefault();'
|
||||
name="button" id="clearButton" value=" {$app_strings.LBL_EMAIL_SETTINGS_ADD_ACCOUNT} ">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
</table>
|
||||
</form>
|
||||
89
modules/Emails/templates/editContact.tpl
Executable file
89
modules/Emails/templates/editContact.tpl
Executable file
@@ -0,0 +1,89 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div class="ydlg-bd">
|
||||
<form name="editContactForm" id="editContactForm">
|
||||
<input type="hidden" id="contact_id" name="contact_id" value="{$contact.id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<input type="button" class="button" id="contact_save"
|
||||
value=" {$app_strings.LBL_SAVE_BUTTON_LABEL} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.saveContact();"
|
||||
>
|
||||
<input type="button" class="button" id="contact_full_form"
|
||||
value=" {$app_strings.LBL_FULL_FORM_BUTTON_LABEL} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.fullForm('{$contact.id}', '{$contact.module}');"
|
||||
>
|
||||
<input type="button" class="button" id="contact_cancel"
|
||||
value=" {$app_strings.LBL_CANCEL_BUTTON_LABEL} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.cancelEdit();"
|
||||
>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">
|
||||
<b>{$contact_strings.LBL_FIRST_NAME}</b>
|
||||
</td>
|
||||
<td >
|
||||
<input class="input" name="contact_first_name" id="contact_first_name" value="{$contact.first_name}">
|
||||
</td>
|
||||
<td scope="row">
|
||||
<b>{$contact_strings.LBL_LAST_NAME}</b> <span class="error">*</span>
|
||||
</td>
|
||||
<td >
|
||||
<input class="input" name="contact_last_name" id="contact_last_name" value="{$contact.last_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row" colspan="4">
|
||||
<b>{$contact_strings.LBL_EMAIL_ADDRESSES}</b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
{$emailWidget}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row" colspan="4">
|
||||
<i>{$app_strings.LBL_EMAIL_EDIT_CONTACT_WARN}</i>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
80
modules/Emails/templates/editMailingList.tpl
Executable file
80
modules/Emails/templates/editMailingList.tpl
Executable 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div class="ydlg-bd">
|
||||
<form name="editMailingListForm" id="editMailingListForm">
|
||||
<input type="hidden" id="mailing_list_id" name="mailing_list_id" value="{$mailing_list_id}">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" class="button" id="ml_save"
|
||||
value=" {$app_strings.LBL_SAVE_BUTTON_LABEL} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.editMailingListSave();"
|
||||
>
|
||||
<input type="button" class="button" id="ml_save"
|
||||
value=" {$app_strings.LBL_EMAIL_REVERT} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.editMailingListRevert();"
|
||||
>
|
||||
<input type="button" class="button" id="ml_cancel"
|
||||
value=" {$app_strings.LBL_CANCEL_BUTTON_LABEL} "
|
||||
onclick="javascript:SUGAR.email2.addressBook.cancelEdit();"
|
||||
>
|
||||
<br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">
|
||||
<b>{$app_strings.LBL_EMAIL_ML_NAME}</b>
|
||||
</td>
|
||||
<td >
|
||||
<input class="input" name="mailing_list_name" id="mailing_list_name" value="{$mailing_list_name}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row" align="top" height="200">
|
||||
<b>{$app_strings.LBL_EMAIL_ML_ADDRESSES_1}</b>
|
||||
<br /> <br />
|
||||
<div id="ml_used" style="overflow:auto; height:90%; margin:5px; padding:2px; border:1px solid #ccc;"></div>
|
||||
</td>
|
||||
<td scope="row" align="top" height="200">
|
||||
<b>{$app_strings.LBL_EMAIL_ML_ADDRESSES_2}</b>
|
||||
<br /> <br />
|
||||
<div id="ml_available" style="overflow:auto; height:90%; margin:5px; padding:2px; border:1px solid #ccc;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
127
modules/Emails/templates/emailDetailView.tpl
Executable file
127
modules/Emails/templates/emailDetailView.tpl
Executable file
@@ -0,0 +1,127 @@
|
||||
<!--
|
||||
/*********************************************************************************
|
||||
* 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 -->
|
||||
{$emailTitle}
|
||||
|
||||
<P/>
|
||||
|
||||
<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>
|
||||
<script type="text/javascript" language="Javascript" src="modules/Emails/javascript/Email.js"></script>
|
||||
<form action="index.php" method="POST" name="DetailView" id="emailDetailView">
|
||||
<input type="hidden" name="inbound_email_id" value="{$ID}">
|
||||
<input type="hidden" name="type" value="out">
|
||||
<input type="hidden" name="email_name" value="{$EMAIL_NAME}">
|
||||
<input type="hidden" name="to_email_addrs" value="{$FROM}">
|
||||
<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="parent_id" value="{$PARENT_ID}">
|
||||
<input type="hidden" name="parent_type" value="{$PARENT_TYPE}">
|
||||
<input type="hidden" name="parent_name" value="{$PARENT_NAME}">
|
||||
</form>
|
||||
|
||||
<table width="100%" border="0" cellspacing="{$GRIDLINE}" cellpadding="0" class="detail view">
|
||||
<tr>
|
||||
<td width="15%" valign="top" 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>
|
||||
<td scope="row"><slot> </slot></td>
|
||||
<td><slot> </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}</slot></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row"><slot>{$MOD.LBL_TO}</slot></td>
|
||||
<td colspan='3'><slot>{$TO}</slot></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row"><slot>{$MOD.LBL_CC}</slot></td>
|
||||
<td colspan='3'><slot>{$CC}</slot></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row"><slot>{$MOD.LBL_BCC}</slot></td>
|
||||
<td colspan='3'><slot>{$BCC}</slot></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row"><slot>{$MOD.LBL_SUBJECT}</slot></td>
|
||||
<td colspan='3'><slot>{$NAME}</slot></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" valign="top" scope="row"><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};
|
||||
{literal}
|
||||
if(plainOnly == true) {
|
||||
document.getElementById("toggle_textarea_elem").checked = true;
|
||||
toggle_textarea();
|
||||
}
|
||||
{/literal}
|
||||
</script>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" scope="row"><slot>{$MOD.LBL_ATTACHMENTS}</td>
|
||||
<td colspan="3"><slot>{$ATTACHMENTS}</slot></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{$SUBPANEL}
|
||||
<!-- END: main -->
|
||||
46
modules/Emails/templates/emailSettings.tpl
Executable file
46
modules/Emails/templates/emailSettings.tpl
Executable file
@@ -0,0 +1,46 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div class="ydlg-bd">
|
||||
<div id="tab_general" class="tab-content">
|
||||
{include file="modules/Emails/templates/emailSettingsGeneral.tpl"}
|
||||
</div>
|
||||
<div id="tab_accounts" class="tab-content">
|
||||
{include file="modules/Emails/templates/emailSettingsAccounts.tpl"}
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
104
modules/Emails/templates/emailSettingsAccountDetails.tpl
Executable file
104
modules/Emails/templates/emailSettingsAccountDetails.tpl
Executable file
@@ -0,0 +1,104 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
{$rollover}
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" >
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="4" align="left" colspan="4" scope="row">
|
||||
<h4>{$mod_strings.LBL_EMAIL_SETTINGS_INBOUND_ACCOUNTS}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4" scope="row" >{$app_strings.LBL_EMAIL_ACCOUNTS_SUBTITLE}</td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td><div id="inboundAccountsTable" class="yui-skin-sam"></div></td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td> <input title="{$mod_strings.LBL_ADD_INBOUND_ACCOUNT}"
|
||||
type='button'
|
||||
accessKey="n"
|
||||
class="button"
|
||||
onClick='SUGAR.email2.accounts.showEditInboundAccountDialogue();'
|
||||
name="button" id="addButton" value="{$mod_strings.LBL_ADD_INBOUND_ACCOUNT}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="4" align="left" colspan="4" scope="row">
|
||||
<h4>{$mod_strings.LBL_EMAIL_SETTINGS_OUTBOUND_ACCOUNTS}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td colspan="2" style="text-align:left;" scope="row">{$app_strings.LBL_EMAIL_ACCOUNTS_OUTBOUND_SUBTITLE}</td></tr>
|
||||
<tr>
|
||||
<td> </td></tr>
|
||||
<tr>
|
||||
<td valign="top" NOWRAP>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td><div id="outboundAccountsTable" class="yui-skin-sam"></div></td>
|
||||
</tr>
|
||||
<tr><td> </td></tr>
|
||||
<tr>
|
||||
<td style="padding-bottom: 5px">
|
||||
<input id="outbound_email_add_button" title="{$app_strings.LBL_EMAIL_FOLDERS_ADD}" type='button'
|
||||
class="button" onClick='SUGAR.email2.accounts.showAddSmtp();' name="button" value="{$mod_strings.LBL_ADD_OUTBOUND_ACCOUNT}">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div id="testSettingsDiv"></div>
|
||||
55
modules/Emails/templates/emailSettingsAccounts.tpl
Executable file
55
modules/Emails/templates/emailSettingsAccounts.tpl
Executable file
@@ -0,0 +1,55 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<h4 >{$app_strings.LBL_EMAIL_ACCOUNTS_TITLE}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP>
|
||||
{include file="modules/Emails/templates/emailSettingsAccountDetails.tpl"}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">
|
||||
<input type="button" class="button" style="margin-left:5px;" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} " onclick="javascript:SUGAR.email2.settings.saveOptionsGeneral(true);">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
66
modules/Emails/templates/emailSettingsFolders.tpl
Executable file
66
modules/Emails/templates/emailSettingsFolders.tpl
Executable file
@@ -0,0 +1,66 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
<h4>{$app_strings.LBL_EMAIL_FOLDERS_TITLE}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP style="padding: 8px;" valign="top" scope="row">
|
||||
<div>
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_USER_FOLDERS}:
|
||||
<div id="rollover">
|
||||
<a href="#" class="rollover"><img border="0" src="{sugar_getimagepath file='helpInline.gif'}"><span>{$app_strings.LBL_EMAIL_MULTISELECT}</span></a>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div>
|
||||
<select multiple size="8" STYLE="width: 140px" name="userFolders[]" id="userFolders" onchange="SUGAR.email2.folders.updateSubscriptions();"></select>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align="right">
|
||||
<input type="button" class="button" style="margin-left:5px;" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} " onclick="javascript:SUGAR.email2.settings.saveOptionsGeneral(true);">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
115
modules/Emails/templates/emailSettingsGeneral.tpl
Executable file
115
modules/Emails/templates/emailSettingsGeneral.tpl
Executable file
@@ -0,0 +1,115 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form name="formEmailSettingsGeneral" id="formEmailSettingsGeneral">
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="4" align="left" colspan="4" scope="row">
|
||||
<h4>{$app_strings.LBL_EMAIL_SETTINGS_TITLE_PREFERENCES}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row" width="20%">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_CHECK_INTERVAL}:
|
||||
</td>
|
||||
<td >
|
||||
{html_options options=$emailCheckInterval.options selected=$emailCheckInterval.selected name='emailCheckInterval' id='emailCheckInterval'}
|
||||
</td>
|
||||
<td scope="row" width="20%">
|
||||
{$app_strings.LBL_EMAIL_SIGNATURES}:
|
||||
</td>
|
||||
<td >
|
||||
{$signaturesSettings} {$signatureButtons}
|
||||
<input type="hidden" name="signatureDefault" id="signatureDefault" value="{$signatureDefaultId}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_SEND_EMAIL_AS}:
|
||||
</td>
|
||||
<td >
|
||||
<input class="checkbox" type="checkbox" id="sendPlainText" name="sendPlainText" value="1" {$sendPlainTextChecked} />
|
||||
</td>
|
||||
<td NOWRAP scope="row">
|
||||
{$mod_strings.LBL_SIGNATURE_PREPEND}:
|
||||
</td>
|
||||
<td NOWRAP>
|
||||
<input type="checkbox" name="signature_prepend" {$signaturePrepend}>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP scope="row">
|
||||
{$app_strings.LBL_EMAIL_CHARSET}:
|
||||
</td>
|
||||
<td NOWRAP>
|
||||
{html_options options=$charset.options selected=$charset.selected name='default_charset' id='default_charset'}
|
||||
</td>
|
||||
<td NOWRAP scope="row">
|
||||
|
||||
</td>
|
||||
<td NOWRAP>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="view">
|
||||
<tr>
|
||||
<th colspan="4">
|
||||
<h4>{$app_strings.LBL_EMAIL_SETTINGS_TITLE_LAYOUT}</h4>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td NOWRAP scope="row" width="20%">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_SHOW_NUM_IN_LIST}:
|
||||
<div id="rollover">
|
||||
<a href="#" class="rollover"><img border="0" src="{sugar_getimagepath file='helpInline.gif'}"><span>{$app_strings.LBL_EMAIL_SETTINGS_REQUIRE_REFRESH}</span></a>
|
||||
</div>
|
||||
</td>
|
||||
<td NOWRAP >
|
||||
<select name="showNumInList" id="showNumInList">
|
||||
{$showNumInList}
|
||||
</select>
|
||||
</td>
|
||||
<td NOWRAP scope="row" width="20%"> </td>
|
||||
<td NOWRAP > </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{include file="modules/Emails/templates/emailSettingsFolders.tpl"}
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
47
modules/Emails/templates/emailSettingsRules.tpl
Executable file
47
modules/Emails/templates/emailSettingsRules.tpl
Executable file
@@ -0,0 +1,47 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
<div class="sectionTitle">{$app_strings.LBL_EMAIL_RULES_TITLE}</div>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign='top' NOWRAP width="50%"><div id="rulesListCell"> </div></td>
|
||||
<td valign='top' NOWRAP><div id="rulesDetailsCell"> </div></td>
|
||||
</tr>
|
||||
</table>
|
||||
127
modules/Emails/templates/importRelate.tpl
Executable file
127
modules/Emails/templates/importRelate.tpl
Executable file
@@ -0,0 +1,127 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
{$SQS}
|
||||
{literal}
|
||||
<script>
|
||||
|
||||
disabledModules = [];
|
||||
enableQS(true);
|
||||
function parent_typechangeQS() {
|
||||
var formName = {/literal}'{$formName}';{literal}
|
||||
var parentFieldName = formName + "_parent_name";
|
||||
|
||||
disabledModules = [];
|
||||
new_module = document[formName].parent_type.value;
|
||||
|
||||
if(typeof(disabledModules[new_module]) != 'undefined') {
|
||||
sqs_objects[parentFieldName]['disable'] = true;
|
||||
document.getElementById('parent_name').readOnly = true;
|
||||
document.getElementById('parent_name').value = mod_strings['LBL_QS_DISABLED'];
|
||||
}
|
||||
else {
|
||||
sqs_objects[parentFieldName]['disable'] = false;
|
||||
document.getElementById('parent_name').readOnly = false;
|
||||
}
|
||||
sqs_objects[parentFieldName]['modules'] = new Array(new_module);
|
||||
if (document.getElementById('smartInputFloater')) document.getElementById('smartInputFloater').style.display = 'none';
|
||||
//var newArray = array();
|
||||
QSFieldsArray[parentFieldName].sqs.modules = new Array(new_module);
|
||||
|
||||
enableQS(true);
|
||||
}
|
||||
</script>
|
||||
{/literal}
|
||||
<form name="{$formName}" id="{$formName}">
|
||||
<div id="importDiv" class='edit view'>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tbody><tr>
|
||||
<td>
|
||||
<input name="module" value="Emails" type="hidden">
|
||||
<input name="record" value="{$emailId}" type="hidden">
|
||||
<input name="isDuplicate" value="false" type="hidden">
|
||||
<input name="action" type="hidden">
|
||||
<input name="return_module" type="hidden">
|
||||
<input name="return_action" type="hidden">
|
||||
<input name="return_id" type="hidden">
|
||||
</td>
|
||||
</tbody></table>
|
||||
<table border="0" cellpadding="0" cellspacing="1" width="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
{if $showAssignedTo}
|
||||
<td scope="row" nowrap="nowrap" valign="top" width="12%">
|
||||
<script type="text/javascript">addToValidate("{$formName}", "assigned_user_id", "relate", false, "{sugar_translate label="LBL_ASSIGNED_TO_ID"}");</script>
|
||||
<script type="text/javascript">addToValidate("{$formName}", "assigned_user_name", "relate", false, "{sugar_translate label="LBL_ASSIGNED_TO"}");</script>
|
||||
{sugar_translate label="LBL_ASSIGNED_TO"}:
|
||||
</td>
|
||||
<td nowrap="nowrap" width="37%">
|
||||
<input name="assigned_user_name" class="sqsEnabled" tabindex="2" id="assigned_user_name" size="" value="{$userName}" type="text">
|
||||
<input name="assigned_user_id" id="assigned_user_id" value="{$userId}" type="hidden">
|
||||
<input name="btn_assigned_user_name" tabindex="2" title="{$APP.LBL_SELECT_BUTTON_TITLE}" accesskey="{$APP.LBL_SELECT_BUTTON_KEY}" class="button" value="{$APP.LBL_SELECT_BUTTON_LABEL}" onclick='open_popup("Users", 600, 400, "", true, false, {literal}{"call_back_function":"set_return","form_name":"{$formName}","field_to_name_array":{"id":"assigned_user_id","name":"assigned_user_name"}}{/literal}, "single", true);' type="button">
|
||||
<input name="btn_clr_assigned_user_name" tabindex="2" title="{$APP.LBL_CLEAR_BUTTON_TITLE}" accesskey="{$APP.LBL_CLEAR_BUTTON_KEY}" class="button" onclick="this.form.assigned_user_name.value = ''; this.form.assigned_user_id.value = '';" value="{$APP.LBL_CLEAR_BUTTON_LABEL}" type="button">
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr>
|
||||
<td scope="row" nowrap="nowrap" valign="top" width="12%">
|
||||
{sugar_translate label="LBL_EMAIL_RELATE"}:
|
||||
</td>
|
||||
<td nowrap="nowrap" width="37%"><slot _moz-userdefined="">
|
||||
<table><tr><td>
|
||||
<select onchange=" document['{$formName}'].parent_name.value=''; checkParentType(document['{$formName}'].parent_type.value, document['{$formName}'].change_parent); parent_typechangeQS();" name="parent_type" id="parent_type" tabindex="2">
|
||||
{$parentOptions}</select>
|
||||
</slot>
|
||||
</td><td>
|
||||
<slot _moz-userdefined="">
|
||||
<input type="hidden" value="" name="parent_id" id="parent_id"/>
|
||||
<input type="text" value="" tabindex="2" name="parent_name" id="parent_name" class="sqsEnabled" autocomplete="OFF"/>
|
||||
<input type="button" onclick='{literal} if(document["{/literal}{$formName}{literal}"].parent_type.value != ""){open_popup(document["{/literal}{$formName}{literal}"].parent_type.value,600,400,"",true,false,{"call_back_function":"set_return","form_name":"{/literal}{$formName}{literal}","field_to_name_array":{"id":"parent_id","name":"parent_name"}});}'{/literal} value="{$APP.LBL_SELECT_BUTTON_LABEL}" accesskey="{$APP.LBL_SELECT_BUTTON_KEY}" title="{$APP.LBL_SELECT_BUTTON_TITLE}" class="button" tabindex="2" name="button" id="change_parent"/>
|
||||
</slot>
|
||||
</td></tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
{if $showDelete}
|
||||
<tr><td scope="row" nowrap="nowrap" valign="top" width="12%">
|
||||
{sugar_translate label="LBL_DELETE_FROM_SERVER"}:
|
||||
</td>
|
||||
<td nowrap="nowrap" width="37%">
|
||||
<input class='ctabEditViewDF' type='checkbox' name='serverDelete'>
|
||||
</td></tr>
|
||||
{/if}
|
||||
</tbody></table>
|
||||
</div>
|
||||
</form>
|
||||
137
modules/Emails/templates/outboundDialog.tpl
Executable file
137
modules/Emails/templates/outboundDialog.tpl
Executable file
@@ -0,0 +1,137 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="outboundServers">
|
||||
<form id="outboundEmailForm">
|
||||
<input type="hidden" id="mail_id" name="mail_id">
|
||||
<input type="hidden" id="type" name="type" value="user">
|
||||
<input type="hidden" id="mail_sendtype" name="mail_sendtype" value="SMTP">
|
||||
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<td scope="row" width="15%" NOWRAP>
|
||||
{$app_strings.LBL_EMAIL_ACCOUNTS_NAME}:
|
||||
<span class="required">
|
||||
{$app_strings.LBL_REQUIRED_SYMBOL}
|
||||
</span>
|
||||
</td>
|
||||
<td width="35%">
|
||||
<input type="text" class="input" id="mail_name" name="mail_name" size="25" maxlength="64">
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="chooseEmailProviderTD">
|
||||
<td align="left" scope="row" colspan="4">{sugar_translate module='Emails' label='LBL_CHOOSE_EMAIL_PROVIDER'}</td>
|
||||
</tr>
|
||||
<tr id="smtpButtonGroupTD">
|
||||
<td colspan="4">
|
||||
<div id="smtpButtonGroup" class="yui-buttongroup">
|
||||
<span id="gmail" class="yui-button yui-radio-button">
|
||||
<span class="first-child">
|
||||
<button type="button" name="mail_smtptype" value="gmail">
|
||||
{$app_strings.LBL_SMTPTYPE_GMAIL}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
<span id="yahoomail" class="yui-button yui-radio-button">
|
||||
<span class="first-child">
|
||||
<button type="button" name="mail_smtptype" value="yahoomail">
|
||||
{$app_strings.LBL_SMTPTYPE_YAHOO}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
<span id="exchange" class="yui-button yui-radio-button">
|
||||
<span class="first-child">
|
||||
<button type="button" name="mail_smtptype" value="exchange">
|
||||
{$app_strings.LBL_SMTPTYPE_EXCHANGE}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
<span id="other" class="yui-button yui-radio-button yui-button-checked">
|
||||
<span class="first-child">
|
||||
<button type="button" name="mail_smtptype" value="other">
|
||||
{$app_strings.LBL_TABGROUP_OTHER}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="4">
|
||||
<div id="smtp_settings">
|
||||
<table width="100%" cellpadding="0" cellspacing="1">
|
||||
<tr id="mailsettings1">
|
||||
<td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpserver_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPSERVER'}</span> <span class="required" id="required_mail_smtpserver">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
|
||||
<td width="30%" ><slot><input type="text" id="mail_smtpserver" name="mail_smtpserver" tabindex="1" size="25" maxlength="64"></slot></td>
|
||||
<td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpport_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPORT'}</span></td>
|
||||
<td width="30%" ><input type="text" id="mail_smtpport" name="mail_smtpport" tabindex="1" size="5" maxlength="5"></td>
|
||||
</tr>
|
||||
<tr id="mailsettings2">
|
||||
<td width="20%" scope="row"><span id='mail_smtpauth_req_label'>{sugar_translate module='Emails' label='LBL_MAIL_SMTPAUTH_REQ'}</span></td>
|
||||
<td width="30%">
|
||||
<input id='mail_smtpauth_req' name='mail_smtpauth_req' type="checkbox" class="checkbox" value="1" tabindex='1'
|
||||
onclick="javascript:SUGAR.email2.accounts.smtp_authenticate_field_display();">
|
||||
</td>
|
||||
<td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpssl_label">{$app_strings.LBL_EMAIL_SMTP_SSL_OR_TLS}</span></td>
|
||||
<td width="30%">
|
||||
<select id="mail_smtpssl" name="mail_smtpssl" tabindex="501">{$MAIL_SSL_OPTIONS}</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="smtp_auth1">
|
||||
<td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtpuser_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPUSER'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
|
||||
<td width="30%" ><slot><input type="text" id="mail_smtpuser" name="mail_smtpuser" size="25" maxlength="64" tabindex='1' ></slot></td>
|
||||
<td > </td>
|
||||
<td > </td>
|
||||
</tr>
|
||||
<tr id="smtp_auth2">
|
||||
<td width="20%" scope="row" nowrap="nowrap"><span id="mail_smtppass_label">{sugar_translate module='Emails' label='LBL_MAIL_SMTPPASS'}</span> <span class="required">{$app_strings.LBL_REQUIRED_SYMBOL}</span></td>
|
||||
<td width="30%" ><slot><input type="password" id="mail_smtppass" name="mail_smtppass" size="25" maxlength="64" abindex='1'></slot></td>
|
||||
<td > </td>
|
||||
<td > </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<input type="button" class="button" value=" {$app_strings.LBL_EMAIL_DONE_BUTTON_LABEL} " onclick="javascript:SUGAR.email2.accounts.saveOutboundSettings();">
|
||||
<input type="button" class="button" value=" {$app_strings.LBL_EMAIL_TEST_OUTBOUND_SETTINGS} " onclick="javascript:SUGAR.email2.accounts.testOutboundSettingsDialog();">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
58
modules/Emails/templates/outboundDialogTest.tpl
Executable file
58
modules/Emails/templates/outboundDialogTest.tpl
Executable file
@@ -0,0 +1,58 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="testOutbound">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="edit view">
|
||||
<tr>
|
||||
<td scope="row">
|
||||
{$app_strings.LBL_EMAIL_SETTINGS_FROM_TO_EMAIL_ADDR}
|
||||
<span class="required">
|
||||
{$app_strings.LBL_REQUIRED_SYMBOL}
|
||||
</span>
|
||||
</td>
|
||||
<td >
|
||||
<input type="text" id="outboundtest_from_address" name="outboundtest_from_address" size="35" maxlength="64" value="{$CURRENT_USER_EMAIL}">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td scope="row" colspan="2">
|
||||
<input type="button" class="button" value=" {$app_strings.LBL_EMAIL_SEND} " onclick="javascript:SUGAR.email2.accounts.testOutboundSettings();">
|
||||
<input type="button" class="button" value=" {$app_strings.LBL_CANCEL_BUTTON_LABEL} " onclick="javascript:SUGAR.email2.accounts.testOutboundDialog.hide();">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
58
modules/Emails/templates/overlay.tpl
Executable file
58
modules/Emails/templates/overlay.tpl
Executable file
@@ -0,0 +1,58 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<div id="SUGAR.email2.e2overlay" style="visibility:hidden; position:absolute; top:0px; background-color:#fff;">
|
||||
<div class="ydlg-hd" id="overlayTitle"></div>
|
||||
<div class="ydlg-bd" id="overlayBody"></div>
|
||||
</div>
|
||||
|
||||
<!-- add file for attachment dialog //-->
|
||||
<div id="addFileDialog" class="yui-hidden">
|
||||
<div class="ydlg-bd">
|
||||
<div id="addFileDialogContent" class="ylayout-inactive-content">
|
||||
<!-- -->
|
||||
<form id="uploadAttachment" name="uploadAttachment" method='POST' action="index.php" enctype='multipart/form-data'>
|
||||
<input type="hidden" name="to_pdf" value="true">
|
||||
<input type="hidden" name="module" value="Emails">
|
||||
<input type="hidden" name="action" value="EmailUIAjax">
|
||||
<input type="hidden" name="emailUIAction" value="uploadAttachment">
|
||||
<input type='file' name='email_attachment' id='email_attachment' size='30' />
|
||||
<input type="button" onclick="SUGAR.email2.composeLayout.uploadAttachment();" class="button" value="{$app_strings.LBL_EMAIL_ATTACH_FILE_TO_EMAIL}" />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{overlib_includes}
|
||||
52
modules/Emails/templates/reports.tpl
Executable file
52
modules/Emails/templates/reports.tpl
Executable file
@@ -0,0 +1,52 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<form id="searchForm" method="get" action="#" onsubmit="SUGAR.email2.addressBook.searchUsersFromReport(); return false;">
|
||||
<table id="searchTable" border="0" cellpadding="0" cellspacing="0" width="50%">
|
||||
<tr id="peopleTableSearchRow">
|
||||
<td id="searchNameFirst" class="dataLabel" nowrap="NOWRAP">
|
||||
{sugar_translate label="LBL_REPORTS" module="Reports"}:
|
||||
</td><td>
|
||||
<select name="listOfReports" id="listOfReports">
|
||||
{$listOfReports}
|
||||
</select>
|
||||
</td>
|
||||
<td id="searchSubmit" class="dataLabel" nowrap="NOWRAP">
|
||||
<input class="button" onclick="SUGAR.email2.addressBook.searchUsersFromReport();" value=" {sugar_translate label="LBL_GO_BUTTON_LABEL"} " id="input_searchReport" name="input_searchReport" type="button">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
48
modules/Emails/templates/successMessage.tpl
Executable file
48
modules/Emails/templates/successMessage.tpl
Executable file
@@ -0,0 +1,48 @@
|
||||
{*
|
||||
/*********************************************************************************
|
||||
* 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".
|
||||
********************************************************************************/
|
||||
*}
|
||||
<table cellpadding="4" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td >
|
||||
{$app_strings.LBL_EMAIL_SUCCESS}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{$message}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user