{* $Id: reports.tpl 1860 2006-05-24 10:37:40Z imac $ *} {capture name="mainbox"} {**} {if $reports} {capture name="tabsbox"} {foreach from=$reports item=report} {if $report.tables} {else}
{$lang.text_no_items_defined|replace:'[items]':$lang.charts}
{/if} {/foreach} {/capture} {include file="common_templates/tabsbox.tpl" tabs=$page_sections js_switch="Y" content=$smarty.capture.tabsbox} {else}
{$lang.text_no_items_defined|replace:'[items]':$lang.reports}
{/if} {/capture} {include file="common_templates/mainbox.tpl" title=$lang.reports content=$smarty.capture.mainbox}