0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
vtiger
/
5.0.4
/
custom
/
12120000
/
files
/
Smarty
/
templates
/
[
Home
]
File: SimpleListView.tpl
<script language="JavaScript" type="text/javascript" src="include/js/ListView.js"></script> <script language="JavaScript" type="text/javascript" src="modules/{$MODULE}/{$MODULE}.js"></script> <script language="JavaScript" type="text/javascript" src="include/js/general.js"></script> <script type='text/javascript' src='include/js/Mail.js'></script> <div id="ListViewContents" class="small" style="width:100%;position:relative;"> <form border="0" action="index.php" method="post" name="form" id="form"> <input name="idlist" id="idlist" type="hidden"> <input name="action" type="hidden"> <input name="allids" type="hidden" id="allids" value="{$ALLIDS}"> <input name="selectedboxes" id="selectedboxes" type="hidden" value="{$SELECTEDIDS}"> <input name="allselectedboxes" id="allselectedboxes" type="hidden" value="{$ALLSELECTEDIDS}"> <input name="current_page_boxes" id="current_page_boxes" type="hidden" value="{$CURRENT_PAGE_BOXES}"> <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> <td colspan="2" valign=bottom><strong>Select Contacts to send email to.</strong></td> </tr> <tr> {if $LISTENTITY ne ''} <td align=left style="padding-right:20px;"> {foreach key=button_check item=button_label from=$BUTTONS} {if $button_check eq 's_mail'} <input class="crmbutton small edit" type="button" value="{$button_label}" onclick="return eMail('{$MODULE}',this);"/> <SELECT NAME="viewname" id="viewname" class="small" style="display:none;" onchange="showDefaultCustomView(this,'{$MODULE}','{$CATEGORY}')">{$CUSTOMVIEW_OPTION}</SELECT> {/if} {/foreach} </td> <!-- Record Counts --> <td class="small" nowrap>{$RECORD_COUNTS}</td> {/if} </tr> </table></td></tr> </table> {assign var=check_status value=$LISTENTITY} <table border=0 cellspacing=1 cellpadding=3 width=100% class="lvt small"> <!-- Table Headers --> <tr> <td class="lvtCol"><input type="checkbox" name="selectall" onClick=toggleSelect_ListView(this.checked,"selected_id")></td> {foreach name="listviewforeach" item=header from=$LISTHEADER} <td class="lvtCol">{$header}</td> {/foreach} </tr> <!-- Table Contents --> {foreach item=entity key=entity_id from=$LISTENTITY} <tr bgcolor=white onMouseOver="this.className='lvtColDataHover'" onMouseOut="this.className='lvtColData'" id="row_{$entity_id}"> <td width="2%"><input type="checkbox" NAME="selected_id" id="{$entity_id}" value= '{$entity_id}' onClick="check_object(this)"></td> {foreach item=data from=$entity} <td>{$data}</td> {/foreach} </tr> {foreachelse} <!-- deleted chunk --> {/foreach} </table> </div> </td></tr></table> </form> </div> {if $MODULE eq 'Leads' or $MODULE eq 'Contacts' or $MODULE eq 'Accounts'} <form name="SendMail"><div id="sendmail_cont" style="z-index:100001;position:absolute;"></div></form> {/if}