]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Emails/DetailViewSent.html
Release 6.4.0
[Github/sugarcrm.git] / modules / Emails / DetailViewSent.html
1 <!--
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
6  * This program is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU Affero General Public License version 3 as published by the
8  * Free Software Foundation with the addition of the following permission added
9  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
12  * 
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
16  * details.
17  * 
18  * You should have received a copy of the GNU Affero General Public License along with
19  * this program; if not, see http://www.gnu.org/licenses or write to the Free
20  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301 USA.
22  * 
23  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
25  * 
26  * The interactive user interfaces in modified source and object code versions
27  * of this program must display Appropriate Legal Notices, as required under
28  * Section 5 of the GNU Affero General Public License version 3.
29  * 
30  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31  * these Appropriate Legal Notices must retain the display of the "Powered by
32  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33  * technical reasons, the Appropriate Legal Notices must display the words
34  * "Powered by SugarCRM".
35  ********************************************************************************/
36
37 /*********************************************************************************
38
39  ********************************************************************************/
40 -->
41 <!-- BEGIN: main -->
42 <script type="text/javascript" src="modules/Emails/javascript/Email.js?v={VERSION_MARK}"></script>
43 <script type="text/javascript" language="Javascript">
44 {JS_VARS}
45 </script>
46 <form action="index.php" method="POST" name="DetailView" id="form">
47         <input type="hidden" name="module" value="Emails">
48         <input type="hidden" name="record" value="{ID}">
49         <input type="hidden" name="isDuplicate" value=false>
50         <input type="hidden" name="action">
51         <input type="hidden" name="contact_id" value="{CONTACT_ID}">
52         <input type="hidden" name="user_id" value="{USER_ID}">
53         <input type="hidden" name="return_module">
54         <input type="hidden" name="return_action">
55         <input type="hidden" name="return_id">
56         <input type="hidden" name="type" value="out">
57         <input type="hidden" name="assigned_user_id">
58         <input type="hidden" name="parent_id" value="{PARENT_ID}">
59         <input type="hidden" name="parent_type" value="{PARENT_TYPE_UNTRANSLATE}">
60         <input type="hidden" name="parent_name" value="{PARENT_NAME}">
61         <input type="hidden" name="inbound_email_id" value="{ID}">
62         <input type="hidden" name="email_name" value="{EMAIL_NAME}">
63         <input type="hidden" name="to_email_addrs" value="{FROM}">
64
65 <table width="10%" cellpadding="0" cellspacing="0" border="0">
66         <tr>
67                 <td style="padding-bottom: 2px;" align="left" width="5%">
68                         <input title="{MOD.LBL_BUTTON_FORWARD}"
69                                         accessKey="{MOD.LBL_BUTTON_FORWARD_KEY}"
70                                         class="button" onclick="this.form.return_module.value='{RETURN_MODULE}';
71                                                                                         this.form.return_action.value='{RETURN_ACTION}';
72                                                                                         this.form.return_id.value='{ID}';
73                                                                                         this.form.action.value='EditView';
74                                                                                         this.form.type.value='forward'"
75                                         type="submit" name="button"
76                                         value="  {MOD.LBL_BUTTON_FORWARD}  "
77                                         style="display:{DISABLE_FORWARD_BUTTON};"
78                         >
79                 </td>
80                 <td>&nbsp;</td>
81                 <td style="padding-bottom: 2px;" align="left" width="5%">
82                         <input title="{MOD.LBL_BUTTON_REPLY_TITLE}"
83                                         accessKey="{MOD.LBL_BUTTON_REPLY_KEY}"
84                                         class="button" onclick="this.form.return_module.value='{RETURN_MODULE}';
85                                                                                         this.form.return_action.value='{RETURN_ACTION}';
86                                                                                         this.form.return_id.value='{ID}';
87                                                                                         this.form.action.value='EditView'"
88                                         type="submit" name="button"
89                                         value="  {MOD.LBL_BUTTON_REPLY}  "
90                                         style="display:{DISABLE_REPLY_BUTTON};"
91                         >
92                 </td>
93                 <td>&nbsp;</td>
94                 <td style="padding-bottom: 2px;" align="left" width="5%">
95                         <input title="{APP.LBL_DELETE_BUTTON_TITLE}"
96                                         accessKey="{APP.LBL_DELETE_BUTTON_KEY}"
97                                         class="button" onclick="this.form.return_module.value='{DELETE_RETURN_MODULE}';
98                                                                                         this.form.return_action.value='{DELETE_RETURN_ACTION}';
99                                                                                         this.form.return_id.value='{DELETE_RETURN_ID}';
100                                                                                         this.form.type.value='{DELETE_RETURN_TYPE}';
101                                                                                         this.form.assigned_user_id.value='{DELETE_RETURN_ASSIGNED_USER_ID}';
102                                                                                         this.form.action.value='Delete';
103                                                                                         return confirm('{APP.NTC_DELETE_CONFIRMATION}')"
104                                         type="submit" name="button"
105                                         value="    {APP.LBL_DELETE_BUTTON}    "
106                         >
107                 </td>
108                 <td>&nbsp;</td>
109                 <td style="padding-bottom: 2px;" align="left" width="5%">
110                         <input type="button" name="button" class="button"
111                                 style="display:{DISABLE_RAW_BUTTON};"
112                                 id="rawButton"
113                                 title="{MOD.LBL_BUTTON_RAW_TITLE}"
114                                 accesskey="{MOD.LBL_BUTTON_RAW_KEY}"
115                                 value=" {MOD.LBL_BUTTON_RAW_LABEL} "
116                                 onclick="open_popup('Emails', 800, 600, '', true, true, '', 'show_raw', '', '{RAW_METADATA}');"
117                         />
118                 </td>
119                 <td align='right'>{ADMIN_EDIT}</td>
120         </tr>
121 </table>
122 </form>
123
124 <div class="detail view">
125 <table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0">
126         {PAGINATION}
127         <tr>
128                 <td width="15%" scope="row"><slot>{APP.LBL_ASSIGNED_TO}</slot></td>
129                 <td width="35%" valign="top"><slot>{ASSIGNED_TO}</slot></td>
130                 <td width="15%" scope="row"><slot>{MOD.LBL_DATE_SENT}</slot></td>
131                 <td width="35%" colspan="3"><slot>{DATE_START} {TIME_START}</slot></td>
132         </tr>
133         <tr>
134                 <!-- BEGIN: open_source -->
135                 <td scope="row"><slot>&nbsp;</slot></td>
136                 <td><slot>&nbsp;</slot></td>
137                 <!-- END: open_source -->
138                 <td scope="row"><slot>{PARENT_TYPE}</slot></td>
139                 <td><slot>{PARENT_NAME}</slot></td>
140         </tr>
141         <tr>
142        <td scope="row"><slot>{MOD.LBL_FROM}</slot></td>
143         <td colspan=3><slot>{FROM}&nbsp;</slot></td>
144         </tr>
145         <tr>
146        <td scope="row"><slot>{MOD.LBL_TO}</slot></td>
147         <td colspan='3'><slot>{TO}&nbsp;</slot></td>
148         </tr>
149         <tr>
150                 <td scope="row"><slot>{MOD.LBL_CC}</slot></td>
151                 <td colspan='3'><slot>{CC}&nbsp;</slot></td>
152         </tr>
153         <tr>
154                 <td scope="row"><slot>{MOD.LBL_BCC}</slot></td>
155                 <td colspan='3'><slot>{BCC}&nbsp;</slot></td>
156         </tr>
157         <tr>
158                 <td scope="row"><slot>{MOD.LBL_SUBJECT}</slot></td>
159                 <td colspan='3'><slot>{NAME}&nbsp;</slot></td>
160         </tr>
161         <tr>
162                 <td scope="row" valign="top"><slot>{MOD.LBL_BODY}</slot></td>
163                 <td colspan="3"  style="background-color: #ffffff; color: #000000" ><slot>
164                         <div id="html_div" style="background-color: #ffffff;padding: 5px">{DESCRIPTION_HTML}</div>
165                         <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>
166                         <div id="text_div" style="display: none;background-color: #ffffff;padding: 5px">{DESCRIPTION}</div>
167                         <script type="text/javascript" language="Javascript">
168                                 var plainOnly = {SHOW_PLAINTEXT};
169                                 if(plainOnly == true) {
170                                         document.getElementById("toggle_textarea_elem").checked = true;
171                                         toggle_textarea();
172                                 }
173                         </script>
174                 </td>
175         </tr>
176         <tr>
177                 <td scope="row" valign="top"><slot>{MOD.LBL_ATTACHMENTS}</slot></td>
178                 <td colspan="3"><slot>{ATTACHMENTS}</slot></td>
179         </tr>
180 </table>
181 </div>
182 <!-- END: main -->