{*------------------------------------------------------------------------------- * 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. *------------------------------------------------------------------------------- *}{if !$ENV.APPLICATION_OBJECT->main_content_only}{define_slot name="doctype_tag"}{/define_slot} {define_slot name="html_tag"}{/define_slot}
{if !$ENV.prefs.no_history} {php} $app =& Dataface_Application::getInstance(); $_SESSION['--redirect'] = $app->url(''); {/php} {/if} {define_slot name="html_head"}{block name="before_left_column"} {define_slot name="left_column"} {if $ENV.prefs.show_record_tree} {block name="before_record_tree"} {load_record var="record"} {include file="RecordNavMenu.html" record=$record} {block name="after_record_tree"} {/if} {if !$ENV.prefs.horizontal_tables_menu and $ENV.prefs.show_tables_menu} {block name="before_nav_menu"} {include file="Dataface_NavMenu.html"} {block name="after_nav_menu"} {/if} {block name="before_application_menu"} {define_slot name="application_menu"}{include file="Dataface_Application_Menu.html"}{/define_slot} {block name="after_application_menu"} {/define_slot} {block name="after_left_column"} |
{block name="before_main_column"}
{define_slot name="main_column"}
{if $back and !$ENV.APPLICATION.hide_back}
{translate id="scripts.GLOBAL.HEADING_ERRORS"}Errors{/translate}
{/if}
{block name="before_main_section"}
{define_slot name="main_section"}
{if $history and !$ENV.APPLICATION.hide_history}
{block name="before_recently_viewed"}
{/if}
{/define_slot}
{translate id="scripts.GLOBAL.LABEL_RECENT_RECORDS"}Recent Records{/translate}:
{block name="after_recently_viewed"}
{/if}
{block name="before_record_content"}
{define_slot name="record_content"}
{$body}
{/define_slot}
{block name="after_record_content"}
{/define_slot}
{block name="after_main_section"}
{if $ENV.prefs.show_table_tabs}
|
{/if}
{if $ENV.APPLICATION_OBJECT->numMessages() > 0 }
{block name="before_message"}