{*+********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.1 * ("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. *************************************************************************************} {strip}
{assign var=MODULE_MODEL value=Vtiger_Module_Model::getInstance($MODULE)} {assign var=DEFAULT_FILTER_ID value=$MODULE_MODEL->getDefaultCustomFilter()} {if $DEFAULT_FILTER_ID} {assign var=CVURL value="&viewname="|cat:$DEFAULT_FILTER_ID} {assign var=DEFAULT_FILTER_URL value=$MODULE_MODEL->getListViewUrl()|cat:$CVURL} {else} {assign var=DEFAULT_FILTER_URL value=$MODULE_MODEL->getListViewUrlWithAllFilter()} {/if}

 {vtranslate($MODULE, $MODULE)} 

  {$VIEW} 

{if $VIEWID} {foreach item=FILTER_TYPES from=$CUSTOM_VIEWS} {foreach item=FILTERS from=$FILTER_TYPES} {if $FILTERS->get('cvid') eq $VIEWID} {assign var=CVNAME value=$FILTERS->get('viewname')} {break} {/if} {/foreach} {/foreach}

 {$CVNAME} 

{/if}
{if $FIELDS_INFO neq null} {/if}
{/strip}