diff --git a/code/web/interface/plugins/function.translate.php b/code/web/interface/plugins/function.translate.php index adae62c740..317118c890 100644 --- a/code/web/interface/plugins/function.translate.php +++ b/code/web/interface/plugins/function.translate.php @@ -1,5 +1,5 @@ $param) { if (is_numeric($index)) { $replacementValues[$index] = $param; } } - return $translator->translate($params['text'], $defaultText, $replacementValues, $inAttribute, $isPublicFacing, $isAdminFacing, $isMetadata, $isAdminEnteredData, $translateParameters); + return $translator->translate($params['text'], $defaultText, $replacementValues, $inAttribute, $isPublicFacing, $isAdminFacing, $isMetadata, $isAdminEnteredData, $translateParameters, $escape); } else { return $translator->translate($params, null, [], false); } diff --git a/code/web/interface/themes/responsive/Admin/propertiesList.tpl b/code/web/interface/themes/responsive/Admin/propertiesList.tpl index 9ea089261b..21cd2b2618 100644 --- a/code/web/interface/themes/responsive/Admin/propertiesList.tpl +++ b/code/web/interface/themes/responsive/Admin/propertiesList.tpl @@ -209,8 +209,8 @@ {/if} {if !empty($canExportToCSV) && !empty($dataList)}
- - + +
{/if} {if !empty($canAddNew)} diff --git a/code/web/interface/themes/responsive/Search/Recommend/TopFacets.tpl b/code/web/interface/themes/responsive/Search/Recommend/TopFacets.tpl index 6bacdf33c5..239c3efe58 100644 --- a/code/web/interface/themes/responsive/Search/Recommend/TopFacets.tpl +++ b/code/web/interface/themes/responsive/Search/Recommend/TopFacets.tpl @@ -15,7 +15,7 @@ {translate text=$thisFacet.value|escape inAttribute=true isPublicFacing=true}
- {translate text=$thisFacet.display|escape isPublicFacing=true} + {translate text=$thisFacet.display isPublicFacing=true}
({translate text=Remove isPublicFacing=true})
@@ -29,7 +29,7 @@ {translate text='Filter Format by %1%' 1=$thisFacet.value translateParameters=true isPublicFacing=true inAttribute=true}
- {translate text=$thisFacet.display|escape isPublicFacing=true}{if $facetCountsToShow == 1 || ($facetCountsToShow == 2 && empty($thisFacet.countIsApproximate))}
({if !empty($thisFacet.countIsApproximate)}{/if}{$thisFacet.count|number_format:0:".":","}){/if} + {translate text=$thisFacet.display isPublicFacing=true}{if $facetCountsToShow == 1 || ($facetCountsToShow == 2 && empty($thisFacet.countIsApproximate))}
({if !empty($thisFacet.countIsApproximate)}{/if}{$thisFacet.count|number_format:0:".":","}){/if}
@@ -45,9 +45,9 @@
{foreach from=$cluster.list item=thisFacet name="narrowLoop"} {if !empty($thisFacet.isApplied)} - + {else} - + {/if} {/foreach}
diff --git a/code/web/interface/themes/responsive/Search/Recommend/dropDownFacet.tpl b/code/web/interface/themes/responsive/Search/Recommend/dropDownFacet.tpl index 41ad97c130..748dd8557e 100644 --- a/code/web/interface/themes/responsive/Search/Recommend/dropDownFacet.tpl +++ b/code/web/interface/themes/responsive/Search/Recommend/dropDownFacet.tpl @@ -5,6 +5,6 @@ {/if} {foreach from=$cluster.list item=thisFacet name="narrowLoop"} - + {/foreach} \ No newline at end of file diff --git a/code/web/interface/themes/responsive/Search/Recommend/multiSelectFacet.tpl b/code/web/interface/themes/responsive/Search/Recommend/multiSelectFacet.tpl index cc647c7943..5605147d38 100644 --- a/code/web/interface/themes/responsive/Search/Recommend/multiSelectFacet.tpl +++ b/code/web/interface/themes/responsive/Search/Recommend/multiSelectFacet.tpl @@ -12,7 +12,7 @@
{/foreach} @@ -38,7 +38,7 @@ {/strip} @@ -60,7 +60,7 @@
{/foreach} diff --git a/code/web/interface/themes/responsive/Search/Recommend/standardFacet.tpl b/code/web/interface/themes/responsive/Search/Recommend/standardFacet.tpl index fa195e2856..0d2715d4fc 100644 --- a/code/web/interface/themes/responsive/Search/Recommend/standardFacet.tpl +++ b/code/web/interface/themes/responsive/Search/Recommend/standardFacet.tpl @@ -9,9 +9,9 @@