[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
1 {*<!--/************************************************************************************ 2 * The contents of this file are subject to the vtiger CRM Public License Version 1.1 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 ************************************************************************************/-->*} 9 10 {strip} 11 <form method="POST" action="javascript:void(0);" style="display:inline;" name="relationship"> 12 {if $LINKEDTO} 13 <table width="100%" cellpadding="2px" cellspacing=0 border=0> 14 <tr> 15 <td width="4px"><input type="radio" name="_mlinkto" value="{$LINKEDTO.record}"></td> 16 <td>{$LINKEDTO.detailviewlink}</td> 17 <td>{vtranslate($LINKEDTO.module, $moduleName)}</td> 18 </tr> 19 <tr> 20 <td align="center" colspan="3"> 21 {if $LINK_TO_AVAILABLE_ACTIONS|count neq 0} 22 <select class="small" onchange="MailManager.mail_associate_actions(this.form);" name="_mlinktotype" id="_mlinktotype"> 23 <option value="" class="mm_blur">{vtranslate('LBL_ACTIONS',$MODULE)}</option> 24 {foreach item=moduleName from=$LINK_TO_AVAILABLE_ACTIONS} 25 <option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option> 26 {/foreach} 27 </select> 28 {/if} 29 </td> 30 </tr> 31 </table> 32 {/if} 33 34 {if $LOOKUPS} 35 {assign var="LOOKRECATLEASTONE" value=false} 36 37 <table width="100%" cellpadding=3 cellspacing=0 border=0> 38 {foreach item=RECORDS key=MODULE from=$LOOKUPS} 39 {foreach item=RECORD from=$RECORDS} 40 {assign var="LOOKRECATLEASTONE" value=true} 41 <tr> 42 <td> 43 <input type="radio" name="_mlinkto" value="{$RECORD.id}" style="align: absmiddle;"> 44 </td> 45 <td align=left> 46 <a target="_blank" href='index.php?module={$MODULE}&view=Detail&record={$RECORD.id}'>{$RECORD.label|textlength_check}</a> 47 </td> 48 <td align=right> 49 {assign var=RECORD_MODNAME value=$MODULES.$MODULE.name} 50 {assign var="SINGLE_MODLABEL" value="SINGLE_$RECORD_MODNAME"} 51 {vtranslate($SINGLE_MODLABEL, $MODULE)} 52 </td> 53 </tr> 54 {/foreach} 55 {/foreach} 56 57 {if $LOOKRECATLEASTONE} 58 <tr> 59 <td colspan="3" align="center"> 60 {if $LINK_TO_AVAILABLE_ACTIONS|count neq 0} 61 <select class="small" onchange="MailManager.mail_associate_actions(this.form);" name="_mlinktotype" id="_mlinktotype"> 62 <option value="" class="mm_blur">{vtranslate('LBL_ACTIONS',$MODULE)}</option> 63 {foreach item=moduleName from=$LINK_TO_AVAILABLE_ACTIONS} 64 <option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName",'MailManager')}</option> 65 {/foreach} 66 </select> 67 {/if} 68 </td> 69 </tr> 70 {else} 71 <tr> 72 <td align="center" colspan=3> 73 {vtranslate('LBL_No_Matching_Record_Found','MailManager')}<br/> 74 {if $ALLOWED_MODULES|count neq 0} 75 <select class="small" onchange="MailManager.mail_associate_create_wizard(this.form);" name="_mlinktotype" id="_mlinktotype"> 76 <option value="" class="mm_blur">{vtranslate('LBL_ACTIONS','MailManager')}</option> 77 {foreach item=moduleName from=$ALLOWED_MODULES} 78 <option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option> 79 {/foreach} 80 </select> 81 {/if} 82 </td> 83 </tr> 84 {/if} 85 </table> 86 {else} 87 {if $LINKEDTO eq ""} 88 <table width="100%" cellpadding=0 cellspacing=0 border=0> 89 <tr> 90 <td align="center" colspan=3> 91 {vtranslate('LBL_No_Matching_Record_Found','MailManager')}<br/> 92 {if $ALLOWED_MODULES|count neq 0} 93 <select class="small" onchange="MailManager.mail_associate_create_wizard(this.form);" name="_mlinktotype" id="_mlinktotype"> 94 <option value="" class="mm_blur">{vtranslate('LBL_ACTIONS','MailManager')}</option> 95 {foreach item=moduleName from=$ALLOWED_MODULES} 96 <option value="{$moduleName}">{vtranslate("LBL_MAILMANAGER_ADD_$moduleName", 'MailManager')}</option> 97 {/foreach} 98 </select> 99 {/if} 100 </td> 101 </tr> 102 </table> 103 {/if} 104 {/if} 105 <input type="hidden" class="small" name="_folder" value="{$FOLDER}"> 106 <input type="hidden" class="small" name="_msgno" value="{$MSGNO}"> 107 </form> 108 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |