diff --git a/templates/kt3/admin_items.smarty b/templates/kt3/admin_items.smarty index 68e3d23..4b513bb 100644 --- a/templates/kt3/admin_items.smarty +++ b/templates/kt3/admin_items.smarty @@ -1,7 +1,7 @@

{$category.title}

{if ($items === null)} -

No items in the category.

+

{i18n}No items in the category.{/i18n}

{else}
{foreach item=aItem from=$items} @@ -9,4 +9,4 @@
{$aItem.description}
{/foreach}
-{/if} \ No newline at end of file +{/if} diff --git a/templates/kt3/compare_document.smarty b/templates/kt3/compare_document.smarty index bd73b06..b6e4318 100644 --- a/templates/kt3/compare_document.smarty +++ b/templates/kt3/compare_document.smarty @@ -1,6 +1,12 @@ -

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

-

showing comparison between versions {$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} -and {$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()})

+

{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)} -

Please note: the information for version -{$document->getMajorVersionNumber()}.{$document->getMinorVersionNumber()} ({$document->getMetadataVersion()}) -comes from an older version of KnowledgeTree, and may be incorrect. +

{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)} -

Please note: the information for version -{$comparison_document->getMajorVersionNumber()}.{$comparison_document->getMinorVersionNumber()} ({$comparison_document->getMetadataVersion()}) -comes from an older version of KnowledgeTree, and may be incorrect. +

{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} \ No newline at end of file +{/foreach} diff --git a/templates/kt3/document_collection.smarty b/templates/kt3/document_collection.smarty index e89c9dc..764984b 100644 --- a/templates/kt3/document_collection.smarty +++ b/templates/kt3/document_collection.smarty @@ -35,12 +35,13 @@ {/foreach} {else} - No documents or folders available in this location. + {i18n}No documents or folders available in this location.{/i18n} {/if} - {$context->itemCount} items, {$context->batchSize} per page + +{i18n arg_itemCount=$context->itemCount arg_batchSize=$context->batchSize}#itemCount# items, #batchSize# per page{/i18n} {if ($pagecount > 1)} {if ($currentpage == 0)} « prev @@ -65,4 +66,4 @@ - \ No newline at end of file + diff --git a/templates/ktcore/action/addFolder.smarty b/templates/ktcore/action/addFolder.smarty index d0c2401..e379d25 100644 --- a/templates/ktcore/action/addFolder.smarty +++ b/templates/ktcore/action/addFolder.smarty @@ -1,18 +1,21 @@ -

Folders are one way of organising documents +

{i18n}Folders are one way of organising documents in the document management system. Folders provide meaning in the traditional file storage way - through a path through which one will browse that describes the content more specifically as one enters -folders.

+folders.{/i18n}

FIXME

{assign var=iFolderId value=$context->oFolder->getId()} -

If you do not intend to add a folder, you -should cancel -this action.

+{capture assign=link} +{"browse"|generateControllerUrl:"fFolderId=$iFolderId"} +{/capture} +

{i18n arg_link=$link}If you do not intend to +add a folder, you should cancel this +action.{/i18n}

-
Add folder +
{i18n}Add folder{/i18n} {foreach from=$fields item=oWidget } @@ -20,7 +23,7 @@ this action.

{/foreach}
- +
diff --git a/templates/ktcore/action/archive.smarty b/templates/ktcore/action/archive.smarty index 9ea897a..687bae1 100644 --- a/templates/ktcore/action/archive.smarty +++ b/templates/ktcore/action/archive.smarty @@ -1,12 +1,16 @@

FIXME: Descriptive text.

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to archive this document, you should -cancel -the archive.

+{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} + +

{i18n arg_link=$link}If you do not intend to +archive this document, you should cancel the +archive.{/i18n}

-
Archive +
{i18n}Archive{/i18n} {foreach from=$fields item=oWidget } @@ -14,8 +18,8 @@ the archive.

{/foreach}
- - + +
diff --git a/templates/ktcore/action/checkin.smarty b/templates/ktcore/action/checkin.smarty index b86bbde..ecfd8bd 100644 --- a/templates/ktcore/action/checkin.smarty +++ b/templates/ktcore/action/checkin.smarty @@ -1,21 +1,24 @@ -

Checking in a document updates the document -and allows others to check out the document.

+

{i18n}Checking in a document updates the document +and allows others to check out the document.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to edit the document, and you -do not wish to prevent others from changing the document, you should -cancel -this checkout.

+{capture assign=cancellink} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} +

{i18n arg_link=$cancellink}If you do not +intend to edit the document, and you do not wish to prevent others from +changing the document, you should cancel +this checkout.{/i18n}

-
Checkin +
{i18n}Checkin{/i18n} {foreach from=$checkin_fields item=oWidget } {$oWidget->render()} {/foreach}
- +
diff --git a/templates/ktcore/action/checkout.smarty b/templates/ktcore/action/checkout.smarty index 7c6934c..7655118 100644 --- a/templates/ktcore/action/checkout.smarty +++ b/templates/ktcore/action/checkout.smarty @@ -1,23 +1,25 @@ -

Checking out a document reserves it for your +

{i18n}Checking out a document reserves it for your exclusive use. This ensures that you can edit the document without anyone else changing the document and placing it into the document -management system.

+management system.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to edit the document, and you +{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} +

{i18n arg_link=$link}If you do not intend to edit the document, and you do not wish to prevent others from changing the document, you should -cancel -this checkout.

+cancel this checkout.{/i18n}

-
Checkout +
{i18n}Checkout{/i18n} {foreach from=$checkout_fields item=oWidget } {$oWidget->render()} {/foreach}
- +
diff --git a/templates/ktcore/action/checkout_final.smarty b/templates/ktcore/action/checkout_final.smarty index 0f373e0..5fccea7 100644 --- a/templates/ktcore/action/checkout_final.smarty +++ b/templates/ktcore/action/checkout_final.smarty @@ -14,15 +14,18 @@ addLoadEvent(scheduleCheckout); {/capture} {$context->oPage->requireJSStandalone($sJavascript)} -

The document you wish to check out will begin -to download soon. If it does not automatically start to download, you -can use this link -to start it yourself.

+{capture assign=link} +?action=checkout_final&fDocumentId={$context->oDocument->getId()}&reason={$reason|escape} +{/capture} +

{i18n arg_link=$link}The document you wish to +check out will begin to download soon. If it does not automatically +start to download, you can use this link to start +it yourself.{/i18n}

+{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} {assign var=iDocumentId value=$context->oDocument->getId()} -

Once the document has been downloaded, you -should -return -to the document view.

+

{i18n arg_link=$link}Once the document has +been downloaded, you should return to the document +view.{/i18n}

diff --git a/templates/ktcore/action/delete.smarty b/templates/ktcore/action/delete.smarty index bf1f3da..bef3ae9 100644 --- a/templates/ktcore/action/delete.smarty +++ b/templates/ktcore/action/delete.smarty @@ -1,21 +1,23 @@ -

Deleting a document marks it as no longer +

{i18n}Deleting a document marks it as no longer being displayed. The document management system does not remove the -document entirely, and it can be restored at a later stage.

+document entirely, and it can be restored at a later stage.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to delete this document, you should -cancel -the deletion.

+{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} +

{i18n arg_link=$link}If you do not intend to delete this document, you should +cancel the deletion.{/i18n}

-
Delete +
{i18n}Delete{/i18n} {foreach from=$delete_fields item=oWidget } {$oWidget->render()} {/foreach}
- +
diff --git a/templates/ktcore/action/move.smarty b/templates/ktcore/action/move.smarty index 801b059..4030590 100644 --- a/templates/ktcore/action/move.smarty +++ b/templates/ktcore/action/move.smarty @@ -1,13 +1,16 @@ -

Moving a document relocates the document -within the document repository.

+

{i18n}Moving a document relocates the document +within the document repository.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to move this document, you should -cancel -the move.

+{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} +

{i18n arg_link=$link}If you do not intend to +move this document, you should cancel the +move.{/i18n}

-
Move +
{i18n}Move{/i18n} {foreach from=$move_fields item=oWidget } @@ -15,10 +18,10 @@ the move.

{/foreach}
- -

The folder given below is where the document + +

{i18n}The folder given below is where the document is going to be moved to. Use the folder collection and path below to -browse to the folder you wish to move the documents into.

+browse to the folder you wish to move the documents into.{/i18n}

{foreach from=$collection_breadcrumbs item=breadcrumb name=bc} @@ -31,8 +34,8 @@ browse to the folder you wish to move the documents into.

- - + +
diff --git a/templates/ktcore/action/move_final.smarty b/templates/ktcore/action/move_final.smarty index 6e3cac7..0134ec5 100644 --- a/templates/ktcore/action/move_final.smarty +++ b/templates/ktcore/action/move_final.smarty @@ -1,13 +1,16 @@ -

Moving a document relocates the document -within the document repository.

+

{i18n}Moving a document relocates the document +within the document repository.{/i18n}

{assign var=iDocumentId value=$context->oDocument->getId()} -

If you do not intend to move this document, you should -cancel -the move.

+{capture assign=link} +{"viewDocument"|generateControllerUrl:"fDocumentId=$iDocumentId"} +{/capture} +

{i18n arg_link=$link}If you do not intend to +move this document, you should cancel the +move.{/i18n}

-
Move +
{i18n}Move{/i18n} @@ -16,8 +19,8 @@ the move.

{/foreach}
- - + +
diff --git a/templates/ktcore/dashlets/admintutorial.smarty b/templates/ktcore/dashlets/admintutorial.smarty index c898563..ed038e7 100644 --- a/templates/ktcore/dashlets/admintutorial.smarty +++ b/templates/ktcore/dashlets/admintutorial.smarty @@ -1,10 +1,12 @@

KnowledgeTree administrator's Guide

-

If this is your first KnowledgeTree installation, +

{i18n}If this is your first KnowledgeTree installation, or if you've just upgraded from KnowledgeTree 2.x, we've put together some information -which might help you get to grips with the new system.

+which might help you get to grips with the new system.{/i18n}

FIXME This currently doesn't work.

-Read the admin introduction. | -Find out what's different in KT 3. | -Don't show me this again. +{i18n}Read the admin introduction.{/i18n} | +{i18n}Find out what's different in KT 3.{/i18n} | +{i18n}Don't show me this again.{/i18n} diff --git a/templates/ktcore/dashlets/beta1info.smarty b/templates/ktcore/dashlets/beta1info.smarty index 15f3beb..ae1f0bc 100644 --- a/templates/ktcore/dashlets/beta1info.smarty +++ b/templates/ktcore/dashlets/beta1info.smarty @@ -1,7 +1,9 @@ -

Welcome to the KnowledgeTree 3 Beta

-

If this is your first KnowledgeTree installation, +

{i18n}Welcome to the KnowledgeTree 3 Beta{/i18n}

+

{i18n}If this is your first KnowledgeTree installation, or if you've just upgraded from KnowledgeTree 2.x, we've put together some information -which might help you get to grips with the new system.

+which might help you get to grips with the new system.{/i18n}

-What's a Beta? | -Help! Something went wrong! +{i18n}What's a Beta?{/i18n} | +{i18n}Help! Something went wrong!{/i18n} diff --git a/templates/ktcore/dashlets/checkedout.smarty b/templates/ktcore/dashlets/checkedout.smarty index 1c5be2b..bee9963 100644 --- a/templates/ktcore/dashlets/checkedout.smarty +++ b/templates/ktcore/dashlets/checkedout.smarty @@ -1,14 +1,14 @@ -

Your Checked-out Documents

-

Since a document +

{i18n}Your Checked-out Documents{/i18n}

+

{i18n}Since a document which is checked out cannot be modified by anyone else, it is important to check them back in as soon as you have made -the apppriate changes.

+the apppriate changes.{/i18n}

{if (!empty($documents))}
{foreach item=oDocument from=$documents} -
{$oDocument->getName()} | View Document
+
{$oDocument->getName()} | {i18n}View Document{/i18n}
{/foreach} {else} -

You have no documents which are currently checked out.

-{/if} \ No newline at end of file +

{i18n}You have no documents which are currently checked out.{/i18n}

+{/if} diff --git a/templates/ktcore/dashlets/notifications.smarty b/templates/ktcore/dashlets/notifications.smarty index 59e6e05..7beb749 100644 --- a/templates/ktcore/dashlets/notifications.smarty +++ b/templates/ktcore/dashlets/notifications.smarty @@ -1,4 +1,4 @@ -

Items that require your attention

+

{i18n}Items that require your attention{/i18n}

{if (!empty($notifications))}
{foreach item=oNotification from=$notifications} @@ -6,5 +6,5 @@ {/foreach}
{else} -

No items require your attention.

-{/if} \ No newline at end of file +

{i18n}No items require your attention.{/i18n}

+{/if} diff --git a/templates/ktcore/dashlets/usertutorial.smarty b/templates/ktcore/dashlets/usertutorial.smarty index 5b04f50..bad1281 100644 --- a/templates/ktcore/dashlets/usertutorial.smarty +++ b/templates/ktcore/dashlets/usertutorial.smarty @@ -1,6 +1,6 @@ -

Crash Course in KnowledgeTree

-

New to Document Management, or to -KnowledgeTree™ 3? We've written some quick documentation

+

{i18n}Crash Course in KnowledgeTree{/i18n}

+

{i18n}New to Document Management, or to +KnowledgeTree™ 3? We've written some quick documentation{/i18n}

FIXME This currently doesn't work.

diff --git a/templates/ktcore/document/add.smarty b/templates/ktcore/document/add.smarty index 030ff3e..4d5fbf0 100644 --- a/templates/ktcore/document/add.smarty +++ b/templates/ktcore/document/add.smarty @@ -55,10 +55,10 @@ addLoadEvent(startupMetadata); {/capture} {$context->oPage->requireJSStandalone($sJavascript)} -

Add a document

+

{i18n}Add a document{/i18n}

-
Add a document +
{i18n}Add a document{/i18n} @@ -78,6 +78,6 @@ addLoadEvent(startupMetadata);
- +
diff --git a/templates/ktcore/document/admin/archivedlist.smarty b/templates/ktcore/document/admin/archivedlist.smarty index 9730fb3..92211cc 100644 --- a/templates/ktcore/document/admin/archivedlist.smarty +++ b/templates/ktcore/document/admin/archivedlist.smarty @@ -1,9 +1,10 @@ -

Archived Documents

+

{i18n}Archived Documents{i18n}

-

In order to keep the documents which are visible useful +

{i18n}In order to keep the documents which are visible useful to end users, it is possible to archive old documents. Users who want to see these old documents need to request their restoration - these requests -will typically be done within the system, and will generate a notification to you. +will typically be done within the system, and will generate a +notification to you.{/i18n}

FIXME this aspect of the UI is unuseable. @@ -21,8 +22,8 @@ with LIVE turned off.)

  - Document Name - Location + {i18n}Document Name{/i18n} + {i18n}Location{/i18n} @@ -36,11 +37,11 @@ with LIVE turned off.)

- +
{else} -

No documents are marked as archived.

-{/if} \ No newline at end of file +

{i18n}No documents are marked as archived.{/i18n}

+{/if} diff --git a/templates/ktcore/document/admin/checkoutlisting.smarty b/templates/ktcore/document/admin/checkoutlisting.smarty index e9b8207..209429c 100644 --- a/templates/ktcore/document/admin/checkoutlisting.smarty +++ b/templates/ktcore/document/admin/checkoutlisting.smarty @@ -1,15 +1,16 @@ -

Checked Out Documents

-

If a checked-out document has been lost, or the user -who checked a document out has not checked it back in, it may be necessary -to override the "checked-out" status of a document. Use the force checkin -action in the listing below to override the checked-out status.

+

{i18n}Checked Out Documents{/i18n}

+

{i18n}If a checked-out document has been +lost, or the user who checked a document out has not checked it back in, +it may be necessary to override the "checked-out" status of a document. +Use the force checkin action in the listing below to +override the checked-out status.{/i18n}

{if (count($documents) !== 0)} - - + + @@ -19,7 +20,7 @@ action in the listing below to override the checked-out status.

- + {/foreach} @@ -27,6 +28,6 @@ action in the listing below to override the checked-out status.

DocumentLocation{i18n}Document{/i18n}{i18n}Location{/i18n}  
{$oDocument->getName()} {$oDocument->getDisplayPath()}force checkin{i18n}force checkin{/i18n}
{else}
-

No documents are currently checked out.

+

{i18n}No documents are currently checked out.{/i18n}

{/if} diff --git a/templates/ktcore/document/admin/dearchiveconfirmlist.smarty b/templates/ktcore/document/admin/dearchiveconfirmlist.smarty index 06d2bb8..2a835e5 100644 --- a/templates/ktcore/document/admin/dearchiveconfirmlist.smarty +++ b/templates/ktcore/document/admin/dearchiveconfirmlist.smarty @@ -1,6 +1,8 @@ -

Confirm De-archival

+

{i18n}Confirm De-archival{/i18n}

-

Note please confirm that you want to restore these documents from an archived state.

+

{i18n}Note{/i18n}: {i18n}please +confirm that you want to restore these documents from an archived +state.{/i18n}

{if (!empty($documents))} @@ -11,9 +13,8 @@ - - - + + @@ -26,10 +27,10 @@
Document NameLocation{i18n}Document Name{/i18n}{i18n}Location{/i18n}
- +
{else} -

No documents were selected.

-{/if} \ No newline at end of file +

{i18n}No documents were selected.{/i18n}

+{/if} diff --git a/templates/ktcore/document/admin/deletedlist.smarty b/templates/ktcore/document/admin/deletedlist.smarty index dfb97b1..8dfe2a3 100644 --- a/templates/ktcore/document/admin/deletedlist.smarty +++ b/templates/ktcore/document/admin/deletedlist.smarty @@ -1,9 +1,9 @@ -

Deleted Documents

+

{i18n}Deleted Documents{/i18n}

-

Documents which are deleted by users are hidden from view, +

{i18n}Documents which are deleted by users are hidden from view, but still available for restoration. Since this consumes system resources, it is possible to expunge these documents. Alternatively, you -can restore them as necessary.

+can restore them as necessary.{/i18n}

FIXME its probably very useful to add more information about the documents below - e.g. when was it deleted (last modified?)

@@ -20,8 +20,8 @@ more information about the documents below - e.g. when was it deleted (last modi   - Document Name - Location + {i18n}Document Name{/i18n} + {i18n}Location{/i18n} @@ -35,11 +35,11 @@ more information about the documents below - e.g. when was it deleted (last modi
- +
{else} -

No documents are marked as deleted.

-{/if} \ No newline at end of file +

{i18n}No documents are marked as deleted.{/i18n}

+{/if} diff --git a/templates/ktcore/document/admin/expungeconfirmlist.smarty b/templates/ktcore/document/admin/expungeconfirmlist.smarty index 5e0bf4f..4006d4f 100644 --- a/templates/ktcore/document/admin/expungeconfirmlist.smarty +++ b/templates/ktcore/document/admin/expungeconfirmlist.smarty @@ -1,6 +1,7 @@

Confirm Expunge

-

Note please confirm that you want to delete these documents.

+

{i18n}Note{/i18n}: {i18n}please +confirm that you want to delete these documents.{/i18n}

{if (!empty($documents))} @@ -12,8 +13,8 @@ - Document Name - Location + {i18n}Document Name{/i18n} + {i18n}Location{/i18n} @@ -26,11 +27,11 @@
- +
{else} -

No documents were selected.

-{/if} \ No newline at end of file +

{i18n}No documents were selected.{/i18n}

+{/if} diff --git a/templates/ktcore/document/admin/force_checkin_confirm.smarty b/templates/ktcore/document/admin/force_checkin_confirm.smarty index cbee5dc..e6f8b17 100644 --- a/templates/ktcore/document/admin/force_checkin_confirm.smarty +++ b/templates/ktcore/document/admin/force_checkin_confirm.smarty @@ -1,23 +1,23 @@ -

Confirm Forced Check-in

-

Please confirm that this is the document that you wish to checkin.

+

{i18n}Confirm Forced Check-in{/i18n}

+

{i18n}Please confirm that this is the document that you wish to checkin.{/i18n}

Document Details

@@ -114,18 +114,18 @@ value="{$iGroupID}"> - + { /if } -

User permissions

+

{i18n}User permissions{/i18n}

- + { foreach item=oPerm from=$permissions } { /foreach } @@ -139,9 +139,9 @@ value="{$iGroupID}"> { assign var=iPermID value=$oPerm->getID() } { assign var=bHasPerm value=$aMapPermissionUser[$iPermID][$iUserID] } { if $bHasPerm } - + { else } - + { /if } { /foreach } diff --git a/templates/ktcore/folder/bulkImport.smarty b/templates/ktcore/folder/bulkImport.smarty index 53965e8..2053d4e 100644 --- a/templates/ktcore/folder/bulkImport.smarty +++ b/templates/ktcore/folder/bulkImport.smarty @@ -45,12 +45,12 @@ addLoadEvent(startupMetadata); {$context->oPage->requireJSStandalone($sJavascript)} -
Bulk import -

The bulk import facility allows for a number +

{i18n}Bulk import{/i18n} +

{i18n}The bulk import facility allows for a number of documents to be added to the document management system easily. Provide a path on the server, and all documents and folders within that path will be added to the document management -system.

+system.{/i18n}

@@ -70,6 +70,6 @@ system.

- +
diff --git a/templates/ktcore/folder/bulkUpload.smarty b/templates/ktcore/folder/bulkUpload.smarty index 6dd1f17..ebbe1f8 100644 --- a/templates/ktcore/folder/bulkUpload.smarty +++ b/templates/ktcore/folder/bulkUpload.smarty @@ -45,12 +45,12 @@ addLoadEvent(startupMetadata); {$context->oPage->requireJSStandalone($sJavascript)}
-
Bulk import -

The bulk upload facility allows for a number +

{i18n}Bulk import{/i18n} +

{i18n}The bulk upload facility allows for a number of documents to be added to the document management system. Provide an archive (ZIP) file from your local computer, and all documents and folders within that archive will be added to the document -management system.

+management system.{/i18n}

@@ -70,6 +70,6 @@ management system.

- +
diff --git a/templates/ktcore/folder/permissions.smarty b/templates/ktcore/folder/permissions.smarty index 68b2a9c..2362d20 100644 --- a/templates/ktcore/folder/permissions.smarty +++ b/templates/ktcore/folder/permissions.smarty @@ -23,15 +23,17 @@ td.false { background-color: #ffaaaa; text-align: centre } {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Iter.js')} {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/DOM.js')} -

Folder permissions

+

{i18n}Folder permissions{/i18n}

{ if $edit } { /if } @@ -67,13 +69,13 @@ td.false { background-color: #ffaaaa; text-align: centre } { if $inherited } -Inherited from {$inherited} +{i18n}Inherited from:{/i18n} {$inherited} [Copy] +href="{$smarty.server.PHP_SELF}?action=copyPermissions&fFolderId={$iFolderId}">{i18n}Copy{/i18n}] { else } [Use -parent's permissions] +href="{$smarty.server.PHP_SELF}?action=inheritPermissions&fFolderId={$iFolderId}">{i18n}Use +parent's permissions{/i18n}] { /if } @@ -113,7 +115,7 @@ value="{$iGroupId}">
User{i18n}User{/i18n}{$oPerm->sHumanName}True{i18n}True{/i18n}False{i18n}False{/i18n}
- +
{ /if } @@ -124,8 +126,8 @@ value="{$iGroupId}"> - - + + {foreach from=$permissions item=oPerm} {/foreach} @@ -144,9 +146,9 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme {foreach from=$permissions item=oPerm} {assign var=bHasPerm value=$oPerm->getId()|in_array:$aPermissions} { if $bHasPerm } - + { else } - + { /if } {/foreach} @@ -156,15 +158,15 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme { /if } { if $edit } -

Add a new dynamic permission

+

{i18n}Add a new dynamic permission{/i18n}

GroupCondition{i18n}Group{/i18n}{i18n}Condition{/i18n}{$oPerm->sHumanName}True{i18n}True{/i18n}False{i18n}False{/i18n}
- - + + {foreach from=$permissions item=oPerm} {/foreach} @@ -181,7 +183,7 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme
GroupCondition{i18n}Group{/i18n}{i18n}Condition{/i18n}{$oPerm->sHumanName}
- + { /if } @@ -191,7 +193,7 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme - + { foreach item=oPerm from=$permissions } { /foreach } @@ -205,9 +207,9 @@ $this->assign("aPermissions", $this->_tpl_vars['oDynamicCondition']->getAssignme { assign var=iPermId value=$oPerm->getId() } { assign var=bHasPerm value=$aMapPermissionUser[$iPermId][$iUserId] } { if $bHasPerm } - + { else } - + { /if } { /foreach } diff --git a/templates/ktcore/manage_permissions.smarty b/templates/ktcore/manage_permissions.smarty index 7dbb7be..b830a7b 100644 --- a/templates/ktcore/manage_permissions.smarty +++ b/templates/ktcore/manage_permissions.smarty @@ -1,10 +1,10 @@ -

Existing permissions

+

{i18n}Existing permissions{/i18n}

FIXME add a useful explanation about permissions.

-Create a new permission +{i18n}Create a new permission{/i18n} @@ -14,7 +14,7 @@ {/foreach}
- +
@@ -24,9 +24,9 @@
User{i18n}User{/i18n}{$oPerm->sHumanName}True{i18n}True{/i18n}False{i18n}False{/i18n}
- - - + + + { foreach item=oPerm from=$permissions } @@ -39,14 +39,16 @@ { if $oPerm->bBuiltIn == true } { else } { /if } diff --git a/templates/ktcore/principals/addgroup.smarty b/templates/ktcore/principals/addgroup.smarty index 7ef749d..3a98a2a 100644 --- a/templates/ktcore/principals/addgroup.smarty +++ b/templates/ktcore/principals/addgroup.smarty @@ -1,19 +1,19 @@ -

Create a new Group

+

{i18n}Create a new Group{/i18n}

-

Create a new group.

+

{i18n}Create a new group.{/i18n}

- Change Group Details + {i18n}Change Group Details{i18n}

FIXME brief overview of group editing.

{foreach item=oWidget from=$add_fields} {$oWidget->render()} {/foreach}
- \ No newline at end of file + diff --git a/templates/ktcore/principals/adduser.smarty b/templates/ktcore/principals/adduser.smarty index 86a2c61..d4b3024 100644 --- a/templates/ktcore/principals/adduser.smarty +++ b/templates/ktcore/principals/adduser.smarty @@ -1,41 +1,42 @@ -

Add a user

+

{i18n}Add a user{/i18n}

FIXME brief overview of user management.

{if $authentication_sources} -
Add a user from an authentication source +
{i18n}Add a user from an authentication source{/i18n} -

Instead of manually creating the user within +

{i18n}Instead of manually creating the user within the document management system, the user can be found within an authentication source (such as an LDAP directory) that has already been configured. This ensures that the user is correctly set up with limited intervention from the administrator, and that the user will not need to -remember an additional password for the document management system.

+remember an additional password for the document management +system.{/i18n}

{entity_select name="source_id" entities=$authentication_sources}
- +

-

Alternatively, you can manually create a user -within KnowledgeTree below.

+

{i18n}Alternatively, you can manually create a user +within KnowledgeTree below.{/i18n}

{/if}
- Create a new user + {i18n}Create a new user{/i18n} {foreach item=oWidget from=$add_fields} {$oWidget->render()} {/foreach}
diff --git a/templates/ktcore/principals/editgroup.smarty b/templates/ktcore/principals/editgroup.smarty index 3191b66..132ba1a 100644 --- a/templates/ktcore/principals/editgroup.smarty +++ b/templates/ktcore/principals/editgroup.smarty @@ -1,19 +1,20 @@

Edit Group Details

-

Change the system's information about group {$edit_group->getName()}

+

{i18n arg_name=$edit_group->getName()}Change +the system's information about group #name{/i18n}

- Change Group Details + {i18n}Change Group Details{/i18n}

FIXME brief overview of group editing.

{foreach item=oWidget from=$edit_fields} {$oWidget->render()} {/foreach}
- \ No newline at end of file + diff --git a/templates/ktcore/principals/edituser.smarty b/templates/ktcore/principals/edituser.smarty index 4db6e00..a8697cf 100644 --- a/templates/ktcore/principals/edituser.smarty +++ b/templates/ktcore/principals/edituser.smarty @@ -1,27 +1,28 @@ -

Edit User Details

+

{i18n}Edit User Details{/i18n}

- Change User Details + {i18n}Change User Details{/i18n}

FIXME brief overview of user editing.

{foreach item=oWidget from=$edit_fields} {$oWidget->render()} {/foreach}
{assign var=provider_stuff value=$provider->showUserSource($edit_user, $source)} {if $provider_stuff} -
Authentication -

{$edit_user->getName()}'s authentication is -handled by the {$provider->getName()}.

+
{i18n}Authentication{/i18n} +

{i18n arg_name=$edit_user->getName() +arg_provider=$provider->getName()}#name#'s authentication is +handled by the #provider#.{/i18n}

{$provider_stuff}
{/if} diff --git a/templates/ktcore/principals/groupadmin.smarty b/templates/ktcore/principals/groupadmin.smarty index 6fcd468..6f18e5a 100644 --- a/templates/ktcore/principals/groupadmin.smarty +++ b/templates/ktcore/principals/groupadmin.smarty @@ -1,4 +1,4 @@ -

Group Administration

+

{i18n}Group Administration{/i18n}

FIXME Overview of groups.

@@ -8,18 +8,18 @@
-Search for groups -

Since there may be many groups in the system, please -type a few letters from the group's name to begin. -Alternatively, view all groups (note that this may be -very slow if you have many groups.

+{i18n}Search for groups{/i18n} +

{i18n}Since there may be many groups in the +system, please type a few letters from the group's name to begin. +Alternatively, view all groups (note that this +may be very slow if you have many groups.{/i18n}

{foreach item=oWidget from=$search_fields} {$oWidget->render()} {/foreach}
- +
@@ -27,12 +27,12 @@ very slow if you have many groups.

PermissionHuman NameDelete{i18n}Permission{/i18n}{i18n}Display Name{/i18n}{i18n}Delete{/i18n}
- Built-in + {i18n}Built-in{/i18n} - Delete Permission + {$i18n}Delete Permission{/i18n}
- - - - - - + + + + + + @@ -41,22 +41,26 @@ very slow if you have many groups.

{foreach item=oGroup from=$search_results} - - - - - + + + + {/foreach} {else} {/if} -
Group NameUnit NameEditManage UsersManage sub-groupsDelete{i18n}Group Name{/i18n}{i18n}Unit Name{/i18n}{i18n}Edit{/i18n}{i18n}Manage Users{/i18n}{i18n}Manage sub-groups{/i18n}{i18n}Delete{/i18n}
{$oGroup->getName()}{if (!$oGroup->hasUnit())}not part of a unit{else} + {if (!$oGroup->hasUnit())}{i18n}not part of a unit{/i18n}{else} {$context->_getUnitName($oGroup)} {/if}EditManage UsersManage sub-groupsDelete{i18n}Edit{/i18n}{i18n}Manage Users{/i18n}{i18n}Manage sub-groups{/i18n}{i18n}Delete{/i18n}
-

No search specified, or no results for your search.

+

{i18n}No search specified, or no results for your search.{/i18n}

\ No newline at end of file + diff --git a/templates/ktcore/principals/groups_managesubgroups.smarty b/templates/ktcore/principals/groups_managesubgroups.smarty index 2010c13..f588b37 100644 --- a/templates/ktcore/principals/groups_managesubgroups.smarty +++ b/templates/ktcore/principals/groups_managesubgroups.smarty @@ -1,4 +1,4 @@ -

Manage Sub-Groups in {$edit_group->getName()}

+

{i18n arg_name=$edit_group->getName()}Manage Sub-Groups in #name#{/i18n}

{$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} @@ -19,15 +19,15 @@ side-effects to this when used by unitAdmins.

- Change Sub-Groups in {$edit_group->getName()} -

Select the groups which should be part of this group. FIXME this helptext is v. awkward.

+ {i18n arg_name=$edit_group->getName()}Change Sub-Groups in #name#{/i18n} +

{i18n}Select the groups which should be part of this group.{/i18n} FIXME this helptext is v. awkward.

- + - + @@ -53,19 +53,19 @@ side-effects to this when used by unitAdmins.

- -
Available Groups{i18n}Available Groups{/i18n}  Assigned Groups{i18n}Assigned Groups{/i18n}
+   +
- \ No newline at end of file + diff --git a/templates/ktcore/principals/groups_manageusers.smarty b/templates/ktcore/principals/groups_manageusers.smarty index 727a150..c3cc1e3 100644 --- a/templates/ktcore/principals/groups_manageusers.smarty +++ b/templates/ktcore/principals/groups_manageusers.smarty @@ -1,4 +1,4 @@ -

Manage Users in {$edit_group->getName()}

+

{i18n arg_name=$edit_group->getName()}Manage Users in #name#{/i18n}

{$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} @@ -17,15 +17,15 @@
- Change Users in {$edit_group->getName()} -

Select the users which should be part of this group. FIXME this helptext is v. awkward.

+ {i18n arg_name=$edit_group->getName()}Manage Users in #name#{/i18n} +

{i18n}Select the users which should be part of this group.{/i18n} FIXME this helptext is v. awkward.

- + - + @@ -50,19 +50,19 @@ - -
Available Users{i18n}Available Users{/i18n}  Member users{i18n}Member users{/i18n}
+   +
- \ No newline at end of file + diff --git a/templates/ktcore/principals/orgadmin.smarty b/templates/ktcore/principals/orgadmin.smarty index 66a8319..e30f290 100644 --- a/templates/ktcore/principals/orgadmin.smarty +++ b/templates/ktcore/principals/orgadmin.smarty @@ -1,4 +1,4 @@ -

Orgnisation Administration

+

{i18n}Orgnisation Administration{/i18n}

FIXME Overview of Organisations.

@@ -6,7 +6,7 @@
-Change organisation details +{i18n}Change organisation details{/i18n} asd @@ -18,7 +18,7 @@ asd {/foreach}
- +
@@ -28,17 +28,17 @@ asd - - + + {foreach item=oOrg from=$org_list} - + {/foreach} -
Organisation NameEdit{i18n}Organisation Name{/i18n}{i18n}Edit{/i18n}
{$oOrg->getName()}Edit{i18n}Edit{/i18n}
\ No newline at end of file + diff --git a/templates/ktcore/principals/password.smarty b/templates/ktcore/principals/password.smarty index 46b6207..bd3a3f5 100644 --- a/templates/ktcore/principals/password.smarty +++ b/templates/ktcore/principals/password.smarty @@ -6,17 +6,17 @@
- Your Details + {i18n}Your Details{/i18n} {foreach item=oWidget from=$edit_fields} {$oWidget->render()} {/foreach}
- \ No newline at end of file + diff --git a/templates/ktcore/principals/preferences.smarty b/templates/ktcore/principals/preferences.smarty index bd3fa00..a1c219a 100644 --- a/templates/ktcore/principals/preferences.smarty +++ b/templates/ktcore/principals/preferences.smarty @@ -1,23 +1,23 @@

Preferences

-

From here you can adjust certain basic preferences about -how you work with KnowledgeTree.

+

{i18n}From here you can adjust certain basic +preferences about how you work with KnowledgeTree.{/i18n}

- Your Details + {i18n}Your Details{/i18n} {foreach item=oWidget from=$edit_fields} {$oWidget->render()} {/foreach}
-
\ No newline at end of file + diff --git a/templates/ktcore/principals/roleadmin.smarty b/templates/ktcore/principals/roleadmin.smarty index 08c3f3b..990916a 100644 --- a/templates/ktcore/principals/roleadmin.smarty +++ b/templates/ktcore/principals/roleadmin.smarty @@ -1,4 +1,4 @@ -

Role Administration

+

{i18n}Role Administration{/i18n}

FIXME Overview of roles.

@@ -9,7 +9,7 @@
- Add a Role + {i18n}Add a Role{/i18n} @@ -18,7 +18,7 @@ {/foreach}
- +
@@ -27,7 +27,7 @@
- Change a role's details + {i18n}Change a role's details{/i18n} @@ -37,9 +37,8 @@ {/foreach}
@@ -49,9 +48,9 @@ - - - + + + @@ -59,14 +58,14 @@ {foreach item=oRole from=$roles} - - + + {/foreach} {else} - + {/if} -
Role NameEditDelete{i18n}Role Name{/i18n}{i18n}Edit{/i18n}{i18n}Delete{/i18n}
{$oRole->getName()}EditDelete{i18n}Edit{/i18n}{i18n}Delete{/i18n}

There are currently no roles created within the system.

{i18n}There are currently no roles created within the system.{/i18n}

\ No newline at end of file + diff --git a/templates/ktcore/principals/unitadmin.smarty b/templates/ktcore/principals/unitadmin.smarty index 8c687a9..19ff80f 100644 --- a/templates/ktcore/principals/unitadmin.smarty +++ b/templates/ktcore/principals/unitadmin.smarty @@ -1,4 +1,4 @@ -

Unit Administration

+

{i18n}Unit Administration{/i18n}

FIXME Overview of units.

@@ -6,7 +6,7 @@
-Add a unit +{i18n}Add a unit{/i18n} @@ -15,7 +15,7 @@ {/foreach}
- +
@@ -24,7 +24,7 @@
-Change a unit's details +{i18n}Change a unit's details{/i18n} @@ -34,7 +34,7 @@ {/foreach}
- +
@@ -45,18 +45,19 @@ - - - + + + {foreach item=oUnit from=$unit_list} - - + + {/foreach} -
Unit NameEditManage Members{i18n}Unit Name{/i18n}{i18n}Edit{/i18n}{i18n}Manage Members{/i18n}
{$oUnit->getName()}Edit{i18n}Edit{/i18n}
\ No newline at end of file + diff --git a/templates/ktcore/principals/updatepassword.smarty b/templates/ktcore/principals/updatepassword.smarty index 21898c1..90f57bf 100644 --- a/templates/ktcore/principals/updatepassword.smarty +++ b/templates/ktcore/principals/updatepassword.smarty @@ -1,18 +1,18 @@ -

Change User's Password

+

{i18n}Change User's Password{/i18n}

- Change User's Password -

Change the user's password.

+ {i18n}Change User's Password{/i18n} +

{i18n}Change the user's password.{/i18n}

{foreach item=oWidget from=$edit_fields} {$oWidget->render()} {/foreach}
diff --git a/templates/ktcore/principals/useradmin.smarty b/templates/ktcore/principals/useradmin.smarty index 8f286f5..a11f80f 100644 --- a/templates/ktcore/principals/useradmin.smarty +++ b/templates/ktcore/principals/useradmin.smarty @@ -5,23 +5,25 @@ -

Add UserAdd a new user.

+

Add User{i18n}Add a new user{/i18n}.

Search for users -

Since there may be many users in the system, please +

{i18n}Since there may be many users in the system, please select a group from the list below, or type a few letters from the person's username to begin. Alternatively, view all users (note that this may be -very slow if you have many users.

+very slow if you have many users.{/i18n}

{foreach item=oWidget from=$search_fields} {$oWidget->render()} {/foreach}
- +
@@ -29,11 +31,11 @@ very slow if you have many users.

- - - - - + + + + + @@ -43,16 +45,21 @@ very slow if you have many users.

- - - + + + {/foreach} {else} {/if} @@ -60,4 +67,4 @@ very slow if you have many users.

--> -
NameUsernameEditDeleteGroup Memberships{i18n}Name{/i18n}{i18n}Username{/i18n}{i18n}Edit{/i18n}{i18n}Delete{/i18n}{i18n}Group Memberships{/i18n}
{$oUser->getName()} {$oUser->getUsername()}EditDeleteGroups{i18n}Edit{/i18n}{i18n}Delete{/i18n}{i18n}Groups{/i18n}
-

No search specified, or no results for your search. Please choose some criteria from the list above to find users.

+

+{i18n} +No search specified, or no results for your search. Please choose some +criteria from the list above to find users. +{/i18n} +

\ No newline at end of file + diff --git a/templates/ktcore/principals/usergroups.smarty b/templates/ktcore/principals/usergroups.smarty index 706032b..5d01196 100644 --- a/templates/ktcore/principals/usergroups.smarty +++ b/templates/ktcore/principals/usergroups.smarty @@ -1,4 +1,4 @@ -

Change {$edit_user->getName()}'s Groups

+

{i18n arg_name=$edit_user->getName()}Change #name#'s Groups{/i18n}

{$context->oPage->requireJSResource('thirdpartyjs/OptionTransfer.js')} {$context->oPage->requireJSResource('thirdpartyjs/MochiKit/Base.js')} @@ -19,15 +19,16 @@ side-effects to this when used by unitAdmins.

- Change {$edit_user->getName()}'s Groups -

Select the groups which should contain this user. FIXME this helptext is v. awkward.

+ {i18n arg_name=$edit_user->getName()}Change #name#'s Groups{/i18n} +

{i18n}Select the groups which should +contain this user.{/i18n} FIXME this helptext is v. awkward.

- + - + @@ -53,19 +54,19 @@ side-effects to this when used by unitAdmins.

- -
Available Groups{i18n}Available Groups{/i18n}  Assigned Groups{i18n}Assigned Groups{/i18n}
+   +
- \ No newline at end of file + diff --git a/templates/ktcore/search/administration/conditions.smarty b/templates/ktcore/search/administration/conditions.smarty index ecd766d..7a2dff1 100644 --- a/templates/ktcore/search/administration/conditions.smarty +++ b/templates/ktcore/search/administration/conditions.smarty @@ -1,20 +1,20 @@ -

Conditions

+

{i18n}Conditions{/i18n}

-

Create a new condition

+

{i18n}Create a new condition{/i18n}

- +
{if $conditions} -

Edit existing conditions

+

{i18n}Edit existing conditions{/i18n}

{entity_radios entities=$conditions name="fSavedSearchId" assign=aRadios} {foreach from=$aRadios item=sRadio} {$sRadio}
{/foreach} - +
{/if} diff --git a/templates/ktcore/search/administration/savedsearches.smarty b/templates/ktcore/search/administration/savedsearches.smarty index 96c7b63..f27acd6 100644 --- a/templates/ktcore/search/administration/savedsearches.smarty +++ b/templates/ktcore/search/administration/savedsearches.smarty @@ -1,23 +1,23 @@ -

Saved searches

+

{i18n}Saved searches{/i18n}

-

Create a new saved search

+

{i18n}Create a new saved search{/i18n}

- +
{if $saved_searches} -

Edit existing saved searches

+

{i18n}Edit existing saved searches{/i18n}

{entity_radios entities=$saved_searches name="fSavedSearchId" assign=aRadios} {foreach from=$aRadios item=sRadio} {$sRadio}
{/foreach} - +
-

Run a saved search

+

{i18n}Run a saved search{/i18n}

@@ -25,7 +25,7 @@ {foreach from=$aRadios item=sRadio} {$sRadio}
{/foreach} - +
{/if}