/
var
/
www
/
html
/
sugar13
/
modules
/
WorkFlow
/
Upload File
HOME
<!-- /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ --> <!-- BEGIN: main --> <form action="index.php" method="post" name="form" id="form"> {sugar_csrf_form_token} <table cellpadding="0" cellspacing="0" border="0" width='100%'> <input type="hidden" name="module" value="WorkFlow"> <input type="hidden" name="record" value="{ID}"> <input type="hidden" name="isDuplicate" value=false> <input type="hidden" name="action"> <input type="hidden" name="return_module"> <input type="hidden" name="return_action"> <input type="hidden" name="return_id"> {PORTAL_ON} <tr> <td><input title="{APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{APP.LBL_EDIT_BUTTON_KEY}" class="button" onclick="this.form.return_module.value='WorkFlow'; this.form.return_action.value='WorkFlowDetailView'; this.form.return_id.value='{ID}'; this.form.action.value='WorkFlowEditView'" type="submit" name="button" value=" {APP.LBL_EDIT_BUTTON_LABEL} "> <input title="{APP.LBL_DUPLICATE_BUTTON_TITLE}" accessKey="{APP.LBL_DUPLICATE_BUTTON_KEY}" class="button" onclick="this.form.return_module.value='WorkFlow'; this.form.return_action.value='WorkFlowListView'; this.form.isDuplicate.value=true; this.form.action.value='WorkFlowEditView'" type="submit" name="button" value=" {APP.LBL_DUPLICATE_BUTTON_LABEL} "> <input title="{APP.LBL_DELETE_BUTTON_TITLE}" accessKey="{APP.LBL_DELETE_BUTTON_KEY}" class="button" onclick="this.form.return_module.value='WorkFlow'; this.form.return_action.value='WorkFlowListView'; this.form.action.value='Delete'; this.form.module.value='EmailTemplates'; return confirm('{APP.NTC_DELETE_CONFIRMATION}')" type="submit" name="button" value=" {APP.LBL_DELETE_BUTTON_LABEL} "></td> <td align='right'>{ADMIN_EDIT}</td> </tr></table> </form> <div class="detail view"> <table width="100%" border="0" cellspacing="{GRIDLINE}" cellpadding="0"> {PAGINATION} <tr> <td width='15%' scope="row"><slot>{MOD.LBL_NAME}</slot></td> <td><slot>{NAME}</slot></td> <td scope="row"><slot>{APP.LBL_DATE_MODIFIED}</slot></td> <td><slot>{DATE_MODIFIED} {APP.LBL_BY} {MODIFIED_BY}</slot></td> <!-- <td scope="row"><slot>{MOD.LBL_PUBLISH}</slot></td> <td><slot><input type="checkbox" name="published" disabled {PUBLISHED}></slot></td> --> </tr> <tr> <td scope="row" width='15%'><slot>{MOD.LBL_DESCRIPTION}</slot></td> <td><slot>{DESCRIPTION}</slot></td> <td scope="row"><slot>{APP.LBL_DATE_ENTERED}</slot></td> <td><slot>{DATE_ENTERED} {APP.LBL_BY} {CREATED_BY}</slot></td> </tr> <tr> <td scope="row"><slot>{MOD.LBL_FROM_NAME}</slot></td> <td><slot>{FROM_NAME}</slot></td> <td scope="row"><slot>{MOD.LBL_FROM_ADDRESS}</slot></td> <td><slot>{FROM_ADDRESS}</slot></td> </tr> <tr> <td scope="row" width='15%'><slot>{MOD.LBL_BASE_MODULE}</slot></td> <td><slot>{BASE_MODULE}</slot></td> <td scope="row"><slot> </slot></td> <td><slot> </slot></td> </tr> <!-- <tr> <td scope="row" valign="top"><slot></slot></td> <td><slot></slot></td> </tr> --> <tr> <td scope="row" valign="top"><slot>{MOD.LBL_SUBJECT}</slot></td> <td><slot>{SUBJECT}</slot></td> <td scope="row" valign="top"><slot></slot></td> <td><slot></slot></td> </tr> <tr> <td scope="row" valign="top"><slot>{MOD.LBL_BODY}</slot></td> <td colspan="3" style="background-color: #ffffff;" ><slot><div id="html_div" style="background-color: #ffffff;padding: 5px">{BODY_HTML}</div> <input id='toggle_textarea_elem' onchange="toggle_textarea(this);" type="checkbox" name="toggle_html" {ALT_CHECKED}/> {MOD.LBL_EDIT_ALT_TEXT}<br> <div id="text_div" style="display: none;background-color: #ffffff;padding: 5px">{BODY}</textarea></div> <script> function toggle_textarea(obj) { if (obj.checked == true) { document.getElementById('text_div').style.display = 'block'; } else { document.getElementById('text_div').style.display = 'none'; } } toggle_textarea( document.getElementById('toggle_textarea_elem')); </script> </tr> <tr> <td scope="row" valign="top"><slot>{MOD_EMAILS.LBL_ATTACHMENTS}</td> <td colspan="3"><slot>{ATTACHMENTS} </slot></td> </tr> </table> </div> <!-- END: main -->