{*------------------------------------------------------------------------------- * Dataface Web Application Framework * Copyright (C) 2005-2006 Steve Hannah (shannah@sfu.ca) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *------------------------------------------------------------------------------- *} {load_record} {use_macro file="Dataface_Main_Template.html"} {fill_slot name="main_section"} {if $ENV.prefs.show_result_controller} {block name="before_details_controller"}
{include file="Dataface_Details_Controller.html"}
{block name="after_details_controller"} {/if} {block name="before_record_heading"} {define_slot name="record_heading"}

{if $ENV.record}{translate id="templates.Dataface_Record.LABEL_CURRENT_RECORD"}Current Record{/translate}: {$ENV.record->getTitle()}{else}No Records Matched your Request{/if}

{/define_slot} {block name="after_record_heading"} {block name="before_record_tabs"} {if $ENV.prefs.show_record_tabs}{record_tabs mincount=2 id="record_tabs" id_prefix="record-tabs-" class="contentViews" selected_action=$ENV.mode} {actions var="menus" category="record_actions"} {if $menus|@count > 0 }
{/if}
{/if} {block name="before_record_content"} {define_slot name="record_content"} Record Content goes here ... {/define_slot} {block name="after_record_content"} {if $ENV.prefs.show_record_tabs}
{/if} {block name="before_record_footer"} {define_slot name="record_footer"}{/define_slot} {block name="after_record_footer"} {/fill_slot} {/use_macro}