From 45f6b174b542dc6e67512fc58fa6093a4540ae7a Mon Sep 17 00:00:00 2001 From: bshuttle Date: Wed, 16 Aug 2006 10:16:38 +0000 Subject: [PATCH] there as historical - tidy them into a new location. --- templates/kt3/compare_document.smarty | 33 --------------------------------- templates/kt3/document/metadata_history.smarty | 44 -------------------------------------------- templates/kt3/view_document_history.smarty | 29 ----------------------------- 3 files changed, 0 insertions(+), 106 deletions(-) delete mode 100644 templates/kt3/compare_document.smarty delete mode 100644 templates/kt3/document/metadata_history.smarty delete mode 100644 templates/kt3/view_document_history.smarty diff --git a/templates/kt3/compare_document.smarty b/templates/kt3/compare_document.smarty deleted file mode 100644 index b811dda..0000000 --- a/templates/kt3/compare_document.smarty +++ /dev/null @@ -1,33 +0,0 @@ -

{i18n}Version Comparison{/i18n}: {$document->getName()}

-{capture assign=from} -{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} ({$document->getMetadataVersion()}) -{/capture} -{capture assign=to} -{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()}) -{/capture} -

-{i18n arg_from=$from arg_to=$to}showing comparison between versions #from# and #to#{/i18n}

- - - -{if ($document_data.is_manufactured)} -

{i18n}Please -note{/i18n}: {i18n arg_version=$from}the information for version -#version# comes from an older version of KnowledgeTree and may be -incorrect.{/i18n} -{/if} - -{if ($comparison_data.is_manufactured)} -

{i18n}Please -note{/i18n}: {i18n arg_version=$to}the information for version -#version# comes from an older version of KnowledgeTree and may be -incorrect.{/i18n} -{/if} - -{foreach item=oFieldset from=$fieldsets} -{$oFieldset->renderComparison($document_data, $comparison_data)} -{/foreach} diff --git a/templates/kt3/document/metadata_history.smarty b/templates/kt3/document/metadata_history.smarty deleted file mode 100644 index 8b913e1..0000000 --- a/templates/kt3/document/metadata_history.smarty +++ /dev/null @@ -1,44 +0,0 @@ -

{i18n}Version History{/i18n}: {$document->getName()}

- -

{i18n}This page lists versions of document metadata and allows you to compare a metadata version with the current metadata content.{/i18n}

- - - - - - - - - - - - - - - - {foreach item=oVersion from=$versions} - - - -{capture assign=version}{$oVersion->getMajorVersionNumber()}.{$oVersion->getMinorVersionNumber()}{/capture} -{capture assign=versionid}{$oVersion->getContentVersionId()}{/capture} - - - {/if} - - - - {/foreach} - - -
{i18n}User{/i18n}{i18n}Metadata Version{/i18n}{i18n}Content Version{/i18n}{i18n}Compare with Current{/i18n}{i18n}Compare with Other Version{/i18n}
{$context->getUserForId($oVersion->getVersionCreatorId())}{$oVersion->getMetadataVersion()}{$version} - {if ($document->getMetadataVersion() == $oVersion->getMetadataVersion())} - {i18n}current version{/i18n} - {else} - {i18n}compare with current{/i18n} - {if (count($versions) == 1)} - — - {else} - {i18n}compare with other version{/i18n} - {/if} -
diff --git a/templates/kt3/view_document_history.smarty b/templates/kt3/view_document_history.smarty deleted file mode 100644 index 6b623db..0000000 --- a/templates/kt3/view_document_history.smarty +++ /dev/null @@ -1,29 +0,0 @@ -

{i18n}Transaction History{/i18n}: {$document->getName()}

- -

{i18n}This page provides details of all activities that have been carried out on the document.{/i18n}

- - - - - - - - - - - - - - - {foreach item=aTransactionRow from=$transactions} - - - - - - - - {/foreach} - - -
{i18n}User{/i18n}{i18n}Action{/i18n}{i18n}Date{/i18n}{i18n}Content version{/i18n}{i18n}Comment{/i18n}
{$aTransactionRow.user_name}{$aTransactionRow.transaction_name}{$aTransactionRow.datetime}{$aTransactionRow.version}{$aTransactionRow.comment}
-- libgit2 0.21.4