{* +--------------------------------------------------------------------+ | CiviCRM version 4.4 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2013 | +--------------------------------------------------------------------+ | 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 | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing group (name and description only) *}
{if $action eq 2} {capture assign=crmURL}{crmURL p="civicrm/group/search" q="reset=1&force=1&context=smog&gid=`$group.id`"}{/capture} {ts 1=$crmURL}You can edit the Name and Description for this group here. Click Contacts in this Group to view, add or remove contacts in this group.{/ts} {else} {ts}Enter a unique name and a description for your new group here. Then click 'Continue' to find contacts to add to your new group.{/ts} {/if}
{include file="CRM/common/formButtons.tpl" location="top"}
{if $group.created_by} {/if} {if $group.modified_by} {/if} {if $form.group_type} {/if}
{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_group' field='title' id=$group.id}{/if} {$form.title.html|crmAddClass:huge} {if $group.saved_search_id} ({ts}Smart Group{/ts}){/if}
{ts}Created By{/ts} {$group.created_by}
{ts}Modified By{/ts} {$group.modified_by}
{$form.description.label} {$form.description.html}
{ts}Group description is displayed when groups are listed in Profiles and Mailing List Subscribe forms.{/ts}
{$form.group_type.label} {$form.group_type.html} {help id="id-group-type" file="CRM/Group/Page/Group.hlp"}
{$form.visibility.label} {$form.visibility.html|crmAddClass:huge} {help id="id-group-visibility" file="CRM/Group/Page/Group.hlp"}
{$form.is_reserved.label} {$form.is_reserved.html} {ts}If reserved, only users with 'administer reserved groups' permission can disable, delete, or change settings for this group. The reserved flag does NOT affect users ability to add or remove contacts from a group.{/ts}
{include file="CRM/Custom/Form/CustomData.tpl"}
{if $parent_groups|@count > 0 or $form.parents.html}

{ts}Parent Groups{/ts} {help id="id-group-parent" file="CRM/Group/Page/Group.hlp"}

{if $parent_groups|@count > 0} {foreach from=$parent_groups item=cgroup key=group_id} {assign var="element_name" value="remove_parent_group_"|cat:$group_id} {/foreach}
  {$form.$element_name.html} {$form.$element_name.label}

{/if}
      {$form.parents.label} {$form.parents.html|crmAddClass:huge}
{/if} {if $form.organization}

{ts}Associated Organization{/ts} {help id="id-group-organization" file="CRM/Group/Page/Group.hlp"}

      {$form.organization.label} {$form.organization.html|crmAddClass:huge}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $action neq 1} {/if} {literal} {/literal}