0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
vtiger
/
5.0.4
/
custom
/
12030300
/
files
/
Smarty
/
templates
/
[
Home
]
File: SimpleDetailView.tpl
{*<!-- /********************************************************************************* ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. * ********************************************************************************/ -->*} <script type='text/javascript' src='include/js/Mail.js'></script> {if $SinglePane_View eq 'true'} {assign var = return_modname value='DetailView'} {else} {assign var = return_modname value='CallRelatedList'} {/if} {if $ACCOUNTID neq ''} {assign var="search_string" value="&fromPotential=true&acc_id=$ACCOUNTID"} {/if} {foreach key=header item=detail from=$RELATEDLISTS} {assign var=rel_mod value=$header} {if $header eq 'Leads'} <table border=0 cellspacing=0 cellpadding=0 width=98% align=center> <tr> <td class="showPanelBg" valign=top width=100%> <div class="small" style="padding:10px" > <table border=0 cellspacing=0 cellpadding=0 width=100% class="small" style="border-bottom:1px solid #999999;padding:0 0 5px 0;"> <tr><td><table> <tr> <!-- sbb: cleaning up the html so this displays properly --> <td colspan="2" valign=bottom><strong>Select Contacts to send email to.</strong></td> </tr> <tr> {*<!-- {if $MODULE eq 'Campaigns' && ($rel_mod eq 'Contacts' || $rel_mod eq 'Leads')}<td>{$APP.LBL_SELECT_BUTTON_LABEL}: <a href="javascript:;" onclick="clear_checked_all('{$rel_mod}');">{$APP.LBL_NONE_NO_LINE}</a>{/if} </td> -->*} {if $detail ne ''} <td align=left style="padding-right:20px;"> <input title="{$APP.LBL_SEND_MAIL_BUTTON}" accessKey="" class="crmbutton small edit" value="{$APP.LBL_SEND_MAIL_BUTTON}" type="button" name="button" onclick="rel_eMail('{$MODULE}',this,'{$rel_mod}')"> </td> <td align=center nowrap>{$detail.navigation.0}</td> {$detail.navigation.1} {/if} </tr> </table></td></tr> </table> {assign var=check_status value=$detail} {if $detail ne ''} <form border="0" action="index.php" method="post" name="form" id="form"> {foreach key=header item=detail from=$detail} {if $header eq 'header'} <table border=0 cellspacing=1 cellpadding=3 width=100% style="background-color:#eaeaea;" class="small"> <tr style="height:25px" bgcolor=white> {if $MODULE eq 'Campaigns' && ($rel_mod eq 'Contacts' || $rel_mod eq 'Leads')} <td class="lvtCol"><input name ="{$rel_mod}_selectall" onclick="rel_toggleSelect(this.checked,'{$rel_mod}_selected_id','{$rel_mod}');" type="checkbox"></td> {/if} {foreach key=header item=headerfields from=$detail} <td class="lvtCol">{$headerfields}</td> {/foreach} </tr> {elseif $header eq 'entries'} {foreach key=header item=detail from=$detail} <tr bgcolor=white> {if $MODULE eq 'Campaigns' && ($rel_mod eq 'Contacts' || $rel_mod eq 'Leads')} <td><input name="{$rel_mod}_selected_id" id="{$header}" value="{$header}" onclick="rel_check_object(this,'{$rel_mod}');" toggleselectall(this.name,="" selectall="" )="" type="checkbox" {$check_status.checked.$header}></td> {/if} {foreach key=header item=listfields from=$detail} <td>{$listfields}</td> {/foreach} </tr> {/foreach} </table> {/if} {/foreach} </form> {else} <table style="background-color:#eaeaea;color:#000000" border="0" cellpadding="3" cellspacing="1" width="100%" class="small"> <tr style="height: 25px;" bgcolor="white"> <td><i>{$APP.LBL_NONE_INCLUDED}</i></td> </tr> </table> {/if} </div> </td></tr> </table> <br><br> { if $MODULE eq 'Campaigns' && ($rel_mod eq 'Contacts' || $rel_mod eq 'Leads')} <script> rel_default_togglestate('{$rel_mod}'); </script> {/if} {/if} {/foreach} {if $MODULE eq 'Leads' or $MODULE eq 'Contacts' or $MODULE eq 'Accounts' or $MODULE eq 'Campaigns'} <form name="SendMail"><div id="sendmail_cont" style="z-index:100001;position:absolute;"></div></form> {/if}