From: Kurund Jalmi Date: Tue, 30 Apr 2013 00:41:14 +0000 (-0700) Subject: whitespace fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ab3c83545d592c9e0bd17ede852c91cfe28edf39;p=civicrm-core.git whitespace fixes --- diff --git a/templates/CRM/Admin/Form/Preferences/Display.tpl b/templates/CRM/Admin/Form/Preferences/Display.tpl index 8f5a836c77..048faa642c 100644 --- a/templates/CRM/Admin/Form/Preferences/Display.tpl +++ b/templates/CRM/Admin/Form/Preferences/Display.tpl @@ -25,163 +25,163 @@ *} {* this template is used for editing Site Preferences *}
-
{include file="CRM/common/formButtons.tpl" location="top"}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
{include file="CRM/common/formButtons.tpl" location="top"}
+
{$form.contact_view_options.label}{$form.contact_view_options.html}
 {capture assign=crmURL}{crmURL p='civicrm/admin/setting/component' q='action=add&reset=1'}{/capture}{ts 1=$crmURL}Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site.{/ts}
{$form.contact_edit_options.label} - - - - - -
- {ts}Contact Details{/ts} -
    - {foreach from=$contactBlocks item="title" key="opId"} -
  • {$form.contact_edit_options.$opId.html}
  • - {/foreach} -
-
- {ts}Other Panes{/ts} -
    - {foreach from=$editOptions item="title" key="opId"} -
  • {$form.contact_edit_options.$opId.html}
  • - {/foreach} -
-
-
 {ts}Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.{/ts}
{$form.advanced_search_options.label}{$form.advanced_search_options.html}
 {ts}Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don't track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.{/ts} -
{$form.contact_ajax_check_similar.html} {$form.contact_ajax_check_similar.label}
 {ts}When enabled, checks for contacts with similar names as the user types values into the contact form name fields.{/ts} -
{$form.activity_assignee_notification.html} {$form.activity_assignee_notification.label}
 {ts}When enabled, contacts who are assigned activities will automatically receive an email notification with a copy of the activity.{/ts} -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - {if $form.wysiwyg_input_format.html} - - - - - {/if} - - - - - - - - - - - - - - - - - - - - -
{$form.contact_view_options.label}{$form.contact_view_options.html}
 {capture assign=crmURL}{crmURL p='civicrm/admin/setting/component' q='action=add&reset=1'}{/capture}{ts 1=$crmURL}Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site.{/ts}
{$form.contact_edit_options.label} + + + + + +
+ {ts}Contact Details{/ts} +
    + {foreach from=$contactBlocks item="title" key="opId"} +
  • {$form.contact_edit_options.$opId.html}
  • + {/foreach} +
+
+ {ts}Other Panes{/ts} +
    + {foreach from=$editOptions item="title" key="opId"} +
  • {$form.contact_edit_options.$opId.html}
  • + {/foreach} +
+
+
 {ts}Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.{/ts}
{$form.advanced_search_options.label}{$form.advanced_search_options.html}
 {ts}Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don't track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.{/ts} +
{$form.contact_ajax_check_similar.html} {$form.contact_ajax_check_similar.label}
 {ts}When enabled, checks for contacts with similar names as the user types values into the contact form name fields.{/ts} +
{$form.activity_assignee_notification.html} {$form.activity_assignee_notification.label}
 {ts}When enabled, contacts who are assigned activities will automatically receive an email notification with a copy of the activity.{/ts} +
{$form.activity_assignee_notification_ics.html} {$form.activity_assignee_notification_ics.label}
 {ts}When enabled, the assignee notification sent out above will also include an ical meeting invite.{/ts} -
{$form.activity_assignee_notification_ics.html} {$form.activity_assignee_notification_ics.label}
 {ts}When enabled, the assignee notification sent out above will also include an ical meeting invite.{/ts} +
{$form.user_dashboard_options.label}{$form.user_dashboard_options.html}
 {ts}Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don't want constituents to view their own contribution history, un-check that option.{/ts} -
{$form.editor_id.label}{$form.editor_id.html}
 {ts}Select the HTML WYSIWYG Editor provided for fields that allow HTML formatting. Select 'Textarea' if you don't want to provide a WYSIWYG Editor (users will type text and / or HTML code into plain text fields).{/ts} {help id="id-editor_id"} -
{$form.display_name_format.label}{$form.display_name_format.html}
 {ts}Display name format for individual contact display names.{/ts}
{$form.sort_name_format.label}{$form.sort_name_format.html}
 {ts}Sort name format for individual contact display names.{/ts}
-
{include file="CRM/common/formButtons.tpl" location="bottom"}
+ + {$form.user_dashboard_options.label} + {$form.user_dashboard_options.html} + + +   + {ts}Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don't want constituents to view their own contribution history, un-check that option.{/ts} + + + + {$form.editor_id.label} + {$form.editor_id.html} + + {if $form.wysiwyg_input_format.html} + + {$form.wysiwyg_input_format.label} + + {$form.wysiwyg_input_format.html}{literal}{/literal} +
{ts}You will need to enable and configure several modules if you want to allow users to upload images while using a Drupal Default Editor.{/ts} {docURL page="Configuring CiviCRM to Use the Default Drupal Editor" resource="wiki"} + + + {/if} + +   + {ts}Select the HTML WYSIWYG Editor provided for fields that allow HTML formatting. Select 'Textarea' if you don't want to provide a WYSIWYG Editor (users will type text and / or HTML code into plain text fields).{/ts} {help id="id-editor_id"} + + + + {$form.display_name_format.label} + {$form.display_name_format.html} + + +   + {ts}Display name format for individual contact display names.{/ts} + + + {$form.sort_name_format.label} + {$form.sort_name_format.html} + + +   + {ts}Sort name format for individual contact display names.{/ts} + + +
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if $form.contact_edit_options.html} -{literal} - -{/literal} + items = cj("#contactEditOptions li"); + if ( items.length > 0 ) { + for( var x=0; x < items.length; x++ ) { + var idState = items[x].id.split('-'); + params[x+y+1] = idState[1]; + } + } + cj('#contact_edit_preferences').val( params.toString( ) ); + } + + {/literal} {/if}