Commit 45f6b174b542dc6e67512fc58fa6093a4540ae7a

Authored by bshuttle
1 parent c34281b3

there as historical - tidy them into a new location.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5816 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/kt3/compare_document.smarty deleted
1 -<h2>{i18n}Version Comparison{/i18n}: {$document->getName()}</h2>  
2 -{capture assign=from}  
3 -<strong>{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()}</strong> ({$document->getMetadataVersion()})  
4 -{/capture}  
5 -{capture assign=to}  
6 -<strong>{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()}</strong> ({$comparison_document->getMetadataVersion()})  
7 -{/capture}  
8 -<p class="descriptiveText">  
9 -{i18n arg_from=$from arg_to=$to}showing comparison between versions #from# and #to#{/i18n}</p>  
10 -  
11 -<!--  
12 - its possible that one of the versions isn't "real"  
13 - and it isn't entirely clear how to show that to the  
14 - user in the best possible way.  
15 --->  
16 -  
17 -{if ($document_data.is_manufactured)}  
18 -<p class="descriptiveText"><strong class="ktInlineError">{i18n}Please  
19 -note{/i18n}:</strong> {i18n arg_version=$from}the information for version  
20 -#version# comes from an older version of KnowledgeTree and may be  
21 -incorrect.{/i18n}  
22 -{/if}  
23 -  
24 -{if ($comparison_data.is_manufactured)}  
25 -<p class="descriptiveText"><strong class="ktInlineError">{i18n}Please  
26 -note{/i18n}:</strong> {i18n arg_version=$to}the information for version  
27 -#version# comes from an older version of KnowledgeTree and may be  
28 -incorrect.{/i18n}  
29 -{/if}  
30 -  
31 -{foreach item=oFieldset from=$fieldsets}  
32 -{$oFieldset->renderComparison($document_data, $comparison_data)}  
33 -{/foreach}  
templates/kt3/document/metadata_history.smarty deleted
1 -<h2>{i18n}Version History{/i18n}: {$document->getName()}</h2>  
2 -  
3 -<p class="descriptiveText">{i18n}This page lists versions of document metadata and allows you to compare a metadata version with the current metadata content.{/i18n}</p>  
4 -  
5 -  
6 - <table class="document_history" summary="{i18n}Document History for KnowledgeTree New UI Presentation{/i18n}" cellspacing="0">  
7 -  
8 - <thead>  
9 - <tr>  
10 - <th class="username">{i18n}User{/i18n}</th>  
11 - <th class="date">{i18n}Metadata Version{/i18n}</th>  
12 - <th class="date">{i18n}Content Version{/i18n}</th>  
13 - <th class="compare">{i18n}Compare with Current{/i18n}</th>  
14 - <th class="compare">{i18n}Compare with Other Version{/i18n}</th>  
15 -  
16 - </tr>  
17 - </thead>  
18 - <tbody>  
19 - {foreach item=oVersion from=$versions}  
20 - <tr class="{cycle options=even,odd}">  
21 - <td class="username">{$context->getUserForId($oVersion->getVersionCreatorId())}</td>  
22 - <td class="date">{$oVersion->getMetadataVersion()}</td>  
23 -{capture assign=version}{$oVersion->getMajorVersionNumber()}.{$oVersion->getMinorVersionNumber()}{/capture}  
24 -{capture assign=versionid}{$oVersion->getContentVersionId()}{/capture}  
25 - <td class="date"><a href="{$downloadaction->getURL()}&version={$versionid}">{$version}</a></td>  
26 - <td class="compare">  
27 - {if ($document->getMetadataVersion() == $oVersion->getMetadataVersion())}  
28 - <strong>{i18n}current version{/i18n}</strong>  
29 - {else}  
30 - <a href="{addQS}action=viewComparison&fDocumentId={$document->getId()}&fBaseVersion={$oVersion->getMetadataVersionId()}&fComparisonVersion={$oVersion->getCurrentMetadataVersionId()}{/addQS}">{i18n}compare with current{/i18n}</a></td>  
31 - {/if}  
32 - </td>  
33 - <td>  
34 - {if (count($versions) == 1)}  
35 - &mdash;  
36 - {else}  
37 - <a href="{addQS}action=startComparison&fDocumentId={$document->getId()}&fComparisonVersion={$oVersion->getCurrentMetadataVersionId()}{/addQS}">{i18n}compare with other version{/i18n}</a>  
38 - {/if}  
39 - </td>  
40 - </tr>  
41 - {/foreach}  
42 - </tbody>  
43 -  
44 - </table>  
templates/kt3/view_document_history.smarty deleted
1 -<h2>{i18n}Transaction History{/i18n}: {$document->getName()}</h2>  
2 -  
3 -<p class="descriptiveText">{i18n}This page provides details of all activities that have been carried out on the document.{/i18n}</p>  
4 -  
5 -  
6 - <table class="document_history" summary="{i18n}Document History for KnowledgeTree New UI Presentation{/i18n}" cellspacing="0">  
7 -  
8 - <thead>  
9 - <tr>  
10 - <th class="username">{i18n}User{/i18n}</th>  
11 - <th class="action">{i18n}Action{/i18n}</th>  
12 - <th class="date">{i18n}Date{/i18n}</th>  
13 - <th class="contentversion">{i18n}Content version{/i18n}</th>  
14 - <th class="comment">{i18n}Comment{/i18n}</th>  
15 - </tr>  
16 - </thead>  
17 - <tbody>  
18 - {foreach item=aTransactionRow from=$transactions}  
19 - <tr class="{cycle options=even,odd}">  
20 - <td class="username">{$aTransactionRow.user_name}</td>  
21 - <td class="action">{$aTransactionRow.transaction_name}</td>  
22 - <td class="date">{$aTransactionRow.datetime}</td>  
23 - <td class="contentversion">{$aTransactionRow.version}</td>  
24 - <td class="comment">{$aTransactionRow.comment}</td>  
25 - </tr>  
26 - {/foreach}  
27 - </tbody>  
28 -  
29 - </table>