/
var
/
www
/
html
/
sugar13
/
modules
/
WorkFlowTriggerShells
/
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: embeded --> {JS_INCLUDE} {JAVASCRIPT_LANGUAGE_FILES} <script> function changehref_text(href_object, selected_text){ this.document.getElementById(href_object).innerHTML = selected_text; //end function changehref_text } function getCheckedValue(radioObj) { if(!radioObj) return ""; var radioLength = radioObj.length; if(radioLength == undefined) if(radioObj.checked) return radioObj.value; else return ""; for(var i = 0; i < radioLength; i++) { if(radioObj[i].checked) { return radioObj[i].value; } } return ""; } </script> <script> function confirm_safety(){ var check_one = ""; check_one = confirm_value_present('trigger_operator', ''); if(check_one==false){ return false; } else { return true; } //end function confirm_safety } </script> <!-- END: embeded --> <!-- BEGIN: main --> {SET_RETURN_JS} <table cellpadding="0" cellspacing="0" border="0" width="100%" class="edit view"> <tr><td> <table width="100%" cellpadding="0" cellspacing="0" border="0"><tr> <form name="EditView" method="POST" action="index.php"> {sugar_csrf_form_token} <input type="hidden" name="module" value="WorkFlowTriggerShells"> <input type="hidden" id='record' name="record" value="{ID}"> <input type="hidden" id='workflow_id' name="workflow_id" value="{WORKFLOW_ID}"> <input type="hidden" id='parent_id' name="parent_id" value="{PARENT_ID}"> <input type="hidden" name="action" value="SaveFilter"> <input type="hidden" name="return_module" value="{RETURN_MODULE}"> <input type="hidden" name="return_id" value="{RETURN_ID}"> <input type="hidden" name="return_action" value="{RETURN_ACTION}"> <input type="hidden" name="sugar_body_only" value="true"> <input type="hidden" id='type' name="type" value="{TYPE}"> <input type="hidden" id='field' name="field" value="{FIELD}"> <input type="hidden" name="frame_type" value="{FRAME_TYPE}"> <input type="hidden" id='rel_module' name="rel_module" value="{REL_MODULE}"> <input type="hidden" id='base_module' name="base_module" value="{BASE_MODULE}"> <td></td></tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td scope="row" colspan="2"><slot>{FILTER_TOP_DISPLAY}</slot></td> </tr> <tr> <td> </td> </tr> <tr> <td colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="0" height="50px"> <tr> <td>{PREV_DISPLAY_TEXT}</td> </tr> <tr id='lang_trigger'> <td><slot>{FILTER_BOTTOM_DISPLAY} <a id='href_trigger' href=# onclick="get_filter_selector('count_trigger', 'trigger_exp_id', 'trigger_lhs_module', 'trigger_lhs_field', 'trigger_rhs_value', 'trigger_operator', 'trigger', '', 'trigger');">{TRIGGER_TEXT}</a> </slot></td> <input type="hidden" id='trigger_lhs_module' name="trigger_lhs_module" value="{TRIGGER_LHS_MODULE}"> <input type="hidden" id='trigger_lhs_field' name="trigger_lhs_field" value="{TRIGGER_LHS_FIELD}"> <input type="hidden" id='trigger_rhs_value' name="trigger_rhs_value" value="{TRIGGER_RHS_VALUE}"> <input type="hidden" id='trigger_exp_id' name="trigger_exp_id" value="{TRIGGER_EXP_ID}"> <input type="hidden" id='trigger_operator' name="trigger_operator" value="{TRIGGER_OPERATOR}"> <input type="hidden" id='trigger_exp_type' name="trigger_exp_type" value="{TRIGGER_EXP_TYPE}"> <input type="hidden" id='default_href_trigger' name="default_href_trigger" value="{MOD.LBL_FIELD}"> </tr> <tr> <td> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td align='right' colspan="2"> <input type='submit' class='button' value='{APP.LBL_SAVE_BUTTON_LABEL}' accessKey="{APP.LBL_SAVE_BUTTON_KEY}" id='save' name='save' title='{APP.LBL_SAVE_BUTTON_LABEL}' onclick="return confirm_safety();"> <input title="{APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="window.close();" type="button" name="button" value=" {APP.LBL_CANCEL_BUTTON_LABEL} "> </td> </tr> </form> </table> <script> {TRIGGER_START_JSCRIPT} {SPECIAL_JAVASCRIPT} </script> <!-- END: main -->