{* +--------------------------------------------------------------------+ | CiviCRM version 4.5 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2014 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM 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 Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {if !$printOnly} {* NO print section starts *} {if $criteriaForm}
{* criteria section starts *}
{ts}Report Criteria{/ts}
{* search section starts *} {include file="CRM/Report/Form/Criteria.tpl"}
{* search div section ends *}
{* criteria section ends *} {/if} {if $instanceForm OR $instanceFormError} {* settings section starts *}
{if $mode eq 'template'}{ts}Create Report{/ts}{else}{ts}Report Settings{/ts}{/if}
{include file="CRM/Report/Form/Instance.tpl"} {assign var=save value="_qf_"|cat:$form.formName|cat:"_submit_save"} {assign var=next value="_qf_"|cat:$form.formName|cat:"_submit_next"}
{$form.$save.html} {if $mode neq 'template' && $form.$next} {$form.$next.html} {/if}
{if $updateReportButton}
{$form.$save.html} {if $mode neq 'template' && $form.$next} {* Removed Save a Copy button here since user doesn't have chance to set a new title. *} {ts}To save a copy with updated criteria click Report Settings above and update the Report Title. Then click Save a Copy.{/ts} {/if}
{/if} {/if} {* settings section ends *} {/if} {* NO print section ends *}