From 06a8e7e398293495ee026035214e75125f10dacb Mon Sep 17 00:00:00 2001
From: larssandergreen
{include file="CRM/Grant/Form/Task.tpl"}
- {elseif $action eq 4 } + {elseif $action eq 4} {include file="CRM/Grant/Form/GrantView.tpl"} {else} diff --git a/ext/civigrant/templates/CRM/Grant/Form/Selector.tpl b/ext/civigrant/templates/CRM/Grant/Form/Selector.tpl index c4911193ed..be64bb0d67 100644 --- a/ext/civigrant/templates/CRM/Grant/Form/Selector.tpl +++ b/ext/civigrant/templates/CRM/Grant/Form/Selector.tpl @@ -15,7 +15,7 @@| {$form.toggleSelect.html} | {/if} {foreach from=$columnHeaders item=header} @@ -35,8 +35,8 @@ {foreach from=$rows item=row}|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {$form.$cbName.html} | {/if} diff --git a/ext/civigrant/templates/CRM/Grant/Form/Task.tpl b/ext/civigrant/templates/CRM/Grant/Form/Task.tpl index fa60b22d74..7f674842a2 100644 --- a/ext/civigrant/templates/CRM/Grant/Form/Task.tpl +++ b/ext/civigrant/templates/CRM/Grant/Form/Task.tpl @@ -10,7 +10,7 @@ {if $totalSelectedGrants} {ts 1=$totalSelectedGrants}Number of selected grants: %1{/ts} {/if} -{if $rows } +{if $rows}
| {$form.toggleSelect.html} | {foreach from=$columnHeaders item=header} - {if ($header.sort eq 'activity_id') or ($header.sort eq 'case_id') } - {elseif ($header.sort eq 'sort_name') or ($header.sort eq 'activity_status_id') or ($header.sort eq 'activity_type_id') or ($header.sort eq 'activity_subject') or ($header.sort eq 'source_contact') or ($header.SORT eq 'activity_date') or ($header.name eq null) } + {if ($header.sort eq 'activity_id') or ($header.sort eq 'case_id')} + {elseif ($header.sort eq 'sort_name') or ($header.sort eq 'activity_status_id') or ($header.sort eq 'activity_type_id') or ($header.sort eq 'activity_subject') or ($header.sort eq 'source_contact') or ($header.SORT eq 'activity_date') or ($header.name eq null)}{if $header.sort} {assign var='key' value=$header.sort} @@ -81,13 +81,13 @@ {assign var=cbName value=$row.checkbox} | {$form.$cbName.html} | {foreach from=$columnHeaders item=header} - {if ($header.sort eq 'sort_name') or ($header.sort eq 'activity_status_id') or ($header.sort eq 'activity_type_id') or ($header.sort eq 'activity_subject') or ($header.sort eq 'source_contact') or ($header.SORT eq 'activity_date') or ($header.name eq null) } + {if ($header.sort eq 'sort_name') or ($header.sort eq 'activity_status_id') or ($header.sort eq 'activity_type_id') or ($header.sort eq 'activity_subject') or ($header.sort eq 'source_contact') or ($header.SORT eq 'activity_date') or ($header.name eq null)} {assign var=fName value=$header.sort} {if $fName eq 'sort_name'}{$row.sort_name} | {elseif $fName eq 'activity_subject'}
- {if $row.case_id }
+ {if $row.case_id}
{else}
diff --git a/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl b/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
index 1c58d077f2..8a80e9d2ed 100644
--- a/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
+++ b/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
@@ -37,7 +37,7 @@
{* @TODO: This is confusing - the variable `table` is already set and used above, and now we set it again to something that is technically different but has the same value, except on a blank form where it doesn't exist, but effectively then is the same value that it already has which is ''. So do we need this line even? *}
{if $form.table.value && (array_key_exists(0, $form.table.value))}{assign var=table value=$form.table.value.0}{/if}
{assign var=text value=$form.text.value}
-{if !empty($summary.Contact) }
+{if !empty($summary.Contact)}
{* Search request has returned 1 or more matching rows. Display results. *}
{/if}
-{if !empty($summary.Activity) }
+{if !empty($summary.Activity)}
{ts}Contacts{/ts} @@ -75,7 +75,7 @@
{* Search request has returned 1 or more matching rows. Display results. *}
@@ -115,7 +115,7 @@
|
{if $allowFileSearch}{$row.fileHtml} | {/if}
- {if $row.case_id }
+ {if $row.case_id}
{else}
@@ -138,7 +138,7 @@
{/if}
-{if !empty($summary.Case) }
+{if !empty($summary.Case)}
{* Search request has returned 1 or more matching rows. Display results. *}
{/if}
-{if !empty($summary.Contribution) }
+{if !empty($summary.Contribution)}
{ts}Cases{/ts} @@ -195,7 +195,7 @@
{* Search request has returned 1 or more matching rows. Display results. *}
@@ -249,7 +249,7 @@
{/if}
-{if !empty($summary.Participant) }
+{if !empty($summary.Participant)}
{* Search request has returned 1 or more matching rows. *}
@@ -305,7 +305,7 @@
{/if}
-{if !empty($summary.Membership) }
+{if !empty($summary.Membership)}
{* Search request has returned 1 or more matching rows. *}
@@ -362,7 +362,7 @@
{/if}
-{if !empty($summary.File) }
+{if !empty($summary.File)}
{* Search request has returned 1 or more matching rows. *}
diff --git a/templates/CRM/Activity/Form/Activity.tpl b/templates/CRM/Activity/Form/Activity.tpl
index f554bff1b4..bde0f91cb4 100644
--- a/templates/CRM/Activity/Form/Activity.tpl
+++ b/templates/CRM/Activity/Form/Activity.tpl
@@ -11,7 +11,7 @@
{if $action eq 4}
{else}
- {if $activityTypeDescription }
+ {if $activityTypeDescription}
{$activityTypeDescription}
{/if}
@@ -28,7 +28,7 @@
|
|---|