{/if}
- {$row.title}
+ {$row.title|escape}
|
{/if}
@@ -141,9 +141,9 @@
{/if}
{if !is_array($row.other)}
- {$row.other}
+ {$row.other|escape}
{elseif $row.other.fileName}
- {$row.other.fileName}
+ {$row.other.fileName|escape}
{else}
{', '|implode:$row.other}
{/if}
@@ -165,15 +165,15 @@
{strip}
{if $row.title|substr:0:5 == "Email" OR
$row.title|substr:0:7 == "Address"}
-
+
{else}
-
+
{/if}
{* @TODO check if this is ever an array or a fileName? *}
{if !is_array($row.main)}
- {$row.main}
+ {$row.main|escape}
{elseif $row.main.fileName}
- {$row.main.fileName}
+ {$row.main.fileName|escape}
{else}
{', '|implode:$row.main}
{/if}
@@ -224,9 +224,9 @@
{if !is_array($row.main)}
- {$row.main}
+ {$row.main|escape}
{elseif $row.main.fileName}
- {$row.main.fileName}
+ {$row.main.fileName|escape}
{else}
{', '|implode:$row.main}
{/if}
@@ -331,7 +331,7 @@
}
// Update operation description
- var operation_description = "{/literal}{ts}add{/ts}{literal}";
+ var operation_description = "{/literal}{ts escape='js'}add{/ts}{literal}";
var add_new_check_length = this_controls.find(".location_operation_checkbox input:checked").length;
if (mainBlock != false) {
if (add_new_check_length > 0) {
diff --git a/hrjobcontract/templates/CRM/Hrjobcontract/Import/Form/MapTable.tpl b/hrjobcontract/templates/CRM/Hrjobcontract/Import/Form/MapTable.tpl
index 42d1b904c5b..97e38f99d83 100644
--- a/hrjobcontract/templates/CRM/Hrjobcontract/Import/Form/MapTable.tpl
+++ b/hrjobcontract/templates/CRM/Hrjobcontract/Import/Form/MapTable.tpl
@@ -52,7 +52,7 @@
{section name=rows loop=$rowDisplayCount}
{assign var="j" value=$smarty.section.rows.index}
- {$dataValues[$j][$i]} |
+ {$dataValues[$j][$i]|escape} |
{/section}
{* Display mapper |