diff --git a/templates/ktcore/document/metadata_history.smarty b/templates/ktcore/document/metadata_history.smarty
index 7ebb61f..43e3d32 100644
--- a/templates/ktcore/document/metadata_history.smarty
+++ b/templates/ktcore/document/metadata_history.smarty
@@ -1,4 +1,4 @@
-
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Version History{/i18n}:
{$document->getName()}
+
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Version History{/i18n}:
{$document->getName()|sanitize}
{i18n}This page lists versions of document metadata and allows you to compare a metadata version with the current metadata content.{/i18n}
@@ -27,9 +27,9 @@
{if ($document->getMetadataVersion() == $oVersion->getMetadataVersion())}
{i18n}current version{/i18n}
{else}
- {i18n}compare with current{/i18n}
+ {i18n}compare with current{/i18n}
{/if}
-
+
{if (count($versions) == 1)}
—
@@ -41,5 +41,5 @@
{/foreach}
-
+
diff --git a/templates/ktcore/document/ownershipchangeaction.smarty b/templates/ktcore/document/ownershipchangeaction.smarty
index 99abeeb..a53c161 100644
--- a/templates/ktcore/document/ownershipchangeaction.smarty
+++ b/templates/ktcore/document/ownershipchangeaction.smarty
@@ -1,3 +1,3 @@
- get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Change Ownership{/i18n}: {$context->oDocument->getName()}
+ get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Change Ownership{/i18n}: {$context->oDocument->getName()|sanitize}
{$form->render()}
diff --git a/templates/ktcore/document/resolved_permissions_user.smarty b/templates/ktcore/document/resolved_permissions_user.smarty
index eeae1e2..9c830e4 100644
--- a/templates/ktcore/document/resolved_permissions_user.smarty
+++ b/templates/ktcore/document/resolved_permissions_user.smarty
@@ -1,12 +1,12 @@
- get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Resolved permissions per user{/i18n}: {$context->oDocument->getName()}
+ get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Resolved permissions per user{/i18n}: {$context->oDocument->getName()|sanitize}
{i18n}This page shows the permissions that
individual users have on this document. Only the users which have permissions
-assigned are shown.{/i18n}
+assigned are shown.{/i18n}
{i18n}Users may have permissions on this
document due to membership of a group, or fulfilling a specific role on
-this document.{/i18n}
+this document.{/i18n}
{if (empty($users)) }
{i18n}No users have permissions on this item.{/i18n}
diff --git a/templates/ktcore/document/transaction_history.smarty b/templates/ktcore/document/transaction_history.smarty
index d332515..bbbffe1 100644
--- a/templates/ktcore/document/transaction_history.smarty
+++ b/templates/ktcore/document/transaction_history.smarty
@@ -1,4 +1,4 @@
- get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Transaction History{/i18n}: {$document->getName()}
+ get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Transaction History{/i18n}: {$document->getName()|sanitize}
{i18n}This page provides details of all activities that have been carried out on the document.{/i18n}
@@ -20,10 +20,10 @@
| {$aTransactionRow.user_name} |
{i18n}{$aTransactionRow.transaction_name}{/i18n} |
{$aTransactionRow.datetime} |
- {$aTransactionRow.version} |
-
+ {$aTransactionRow.version} |
+
{/foreach}
-
+
diff --git a/templates/ktcore/document/view.smarty b/templates/ktcore/document/view.smarty
index 12cfe65..fcaba86 100644
--- a/templates/ktcore/document/view.smarty
+++ b/templates/ktcore/document/view.smarty
@@ -1,4 +1,4 @@
-
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Details{/i18n}:
{$context->oDocument->getName()}
+
get("ui/morphTo")}/title_bullet.png{else}{$rootUrl}/resources/graphics/title_bullet.png{/if}"/>{i18n}Document Details{/i18n}:
{$context->oDocument->getName()|sanitize}
{if ($document->getIsCheckedOut() == 1)}
{capture assign=checkout_user}{$sCheckoutUser}{/capture}
@@ -9,18 +9,18 @@
{else}
{if ($canCheckin)}
-{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#, but you
+{i18n arg_checkoutuser=$checkout_user}This document is currently checked out by #checkoutuser#, but you
have sufficient priviledges to cancel their checkout.{/i18n}
{else}
- {i18n arg_checkoutuser=$checkout_user arg_appname="$appname"}This document is currently checked out by #checkoutuser#. You cannot make
+ {i18n arg_checkoutuser=$checkout_user arg_appname="$appname"}This document is currently checked out by #checkoutuser#. You cannot make
changes until that user checks it in. If you have urgent modifications to make, please
contact your #appname# Administrator.{/i18n}
{/if}
{/if}
-{/if}
+{/if}
{if ($document->getImmutable() == true)}