From 1c746268f8f7c7048a35c40aaaa73582c0d37707 Mon Sep 17 00:00:00 2001
From: Neil Blakey-Milner
Date: Thu, 2 Feb 2006 09:52:47 +0000
Subject: [PATCH] Generate path-info-lacking friendly URLs.
---
templates/ktcore/authentication/manage.smarty | 2 +-
templates/ktcore/authentication/viewsource.smarty | 4 ++--
templates/ktcore/document/admin/checkoutlisting.smarty | 2 +-
templates/ktcore/document/admin/force_checkin_confirm.smarty | 2 +-
templates/ktcore/documenttypes/list.smarty | 6 +++---
templates/ktcore/fields/list.smarty | 4 ++--
templates/ktcore/metadata/editField.smarty | 4 +---
templates/ktcore/metadata/listFieldsets.smarty | 4 ++--
templates/ktcore/workflow/editState.smarty | 2 +-
templates/ktcore/workflow/listWorkflows.smarty | 4 ++--
templates/ktstandard/action/discussion_thread_list_item.smarty | 2 +-
templates/ktstandard/action/document_links.smarty | 6 +++---
templates/ktstandard/authentication/ldapadduser.smarty | 2 +-
13 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/templates/ktcore/authentication/manage.smarty b/templates/ktcore/authentication/manage.smarty
index 43cd6db..2de06d2 100644
--- a/templates/ktcore/authentication/manage.smarty
+++ b/templates/ktcore/authentication/manage.smarty
@@ -32,7 +32,7 @@ ensure that the Plugin is enabled.{/i18n}
{else}
diff --git a/templates/ktcore/authentication/viewsource.smarty b/templates/ktcore/authentication/viewsource.smarty
index 49eca06..1779532 100644
--- a/templates/ktcore/authentication/viewsource.smarty
+++ b/templates/ktcore/authentication/viewsource.smarty
@@ -8,13 +8,13 @@
{i18n}Provider{/i18n}
{$provider->getName()}
-{i18n}Edit standard configuration{/i18n}
+{i18n}Edit standard configuration{/i18n}
{assign var=provider_stuff value=$provider->showSource($source)}
{if $provider_stuff}
{i18n}Provider configuration{/i18n}
{$provider_stuff}
-{i18n}Edit provider configuration{/i18n}
+{i18n}Edit provider configuration{/i18n}
{/if}
diff --git a/templates/ktcore/document/admin/checkoutlisting.smarty b/templates/ktcore/document/admin/checkoutlisting.smarty
index 6dd400e..f11765a 100644
--- a/templates/ktcore/document/admin/checkoutlisting.smarty
+++ b/templates/ktcore/document/admin/checkoutlisting.smarty
@@ -27,7 +27,7 @@ value=$oDocument->getCheckedOutUserId()}{php}$oUser =
User::get($this->_tpl_vars['iUserId']); if ($oUser) { print
$oUser->getName(); }{/php}
{$oDocument->getDisplayPath()}
- {i18n}force checkin{/i18n}
+ {i18n}force checkin{/i18n}
{/foreach}
diff --git a/templates/ktcore/document/admin/force_checkin_confirm.smarty b/templates/ktcore/document/admin/force_checkin_confirm.smarty
index 688c9bb..e3643cb 100644
--- a/templates/ktcore/document/admin/force_checkin_confirm.smarty
+++ b/templates/ktcore/document/admin/force_checkin_confirm.smarty
@@ -30,6 +30,6 @@
diff --git a/templates/ktcore/documenttypes/list.smarty b/templates/ktcore/documenttypes/list.smarty
index 1f50713..64760b1 100644
--- a/templates/ktcore/documenttypes/list.smarty
+++ b/templates/ktcore/documenttypes/list.smarty
@@ -46,14 +46,14 @@ system.{/i18n}
- Edit
+ Edit
{if $oDocumentType->getDisabled()}
- {i18n}Enable{/i18n}
+ {i18n}Enable{/i18n}
{else}
- {i18n}Disable{/i18n}
+ {i18n}Disable{/i18n}
{/if}
diff --git a/templates/ktcore/fields/list.smarty b/templates/ktcore/fields/list.smarty
index 45a02bb..49a6b3f 100644
--- a/templates/ktcore/fields/list.smarty
+++ b/templates/ktcore/fields/list.smarty
@@ -15,11 +15,11 @@
{foreach from=$fieldsets item=oFieldset}
- {i18n}Delete{/i18n}
+ {i18n}Delete{/i18n}
-
+
{ $oFieldset->getName() }
diff --git a/templates/ktcore/metadata/editField.smarty b/templates/ktcore/metadata/editField.smarty
index 9b047be..21c6171 100644
--- a/templates/ktcore/metadata/editField.smarty
+++ b/templates/ktcore/metadata/editField.smarty
@@ -51,9 +51,7 @@
{if $oField->getHasLookup() and $oField->getHasLookupTree()}
{assign var=iFieldId value=$oField->getId()}
-{i18n}Manage
-lookup tree{/i18n}
+{i18n}Manage lookup tree{/i18n}
{/if}
{if $aEnabledMetadata}
diff --git a/templates/ktcore/metadata/listFieldsets.smarty b/templates/ktcore/metadata/listFieldsets.smarty
index 1fa8e3f..82ab8b1 100644
--- a/templates/ktcore/metadata/listFieldsets.smarty
+++ b/templates/ktcore/metadata/listFieldsets.smarty
@@ -42,10 +42,10 @@
{/if}
- {i18n}Edit{/i18n}
+ {i18n}Edit{/i18n}
- {i18n}Delete{/i18n}
+ {i18n}Delete{/i18n}
diff --git a/templates/ktcore/workflow/editState.smarty b/templates/ktcore/workflow/editState.smarty
index c672649..97b8036 100644
--- a/templates/ktcore/workflow/editState.smarty
+++ b/templates/ktcore/workflow/editState.smarty
@@ -82,7 +82,7 @@ with a specific role (e.g. Manager) or part of a specific group
{foreach from=$aTransitionsTo item=oTransition}
getId()}&fTransitionId={$oTransition->getId()}"
+href="{addQS}action=editTransition&fWorkflowId={$oWorkflow->getId()}&fTransitionId={$oTransition->getId()}{/addQS}"
title="Transition
{$oTransition->getId()}">{$oTransition->getName()|escape}
{/foreach}
diff --git a/templates/ktcore/workflow/listWorkflows.smarty b/templates/ktcore/workflow/listWorkflows.smarty
index d13c731..d6a42f3 100644
--- a/templates/ktcore/workflow/listWorkflows.smarty
+++ b/templates/ktcore/workflow/listWorkflows.smarty
@@ -46,9 +46,9 @@ lifecycle of the document.{/i18n}
{$oWorkflow->getName()}
{if $startId===NULL}Disabled{else}Enabled{/if}
- Edit
+ Edit
- {if $startId!==NULL}Disable
+ {if $startId!==NULL}Disable
{else} {/if}
diff --git a/templates/ktstandard/action/discussion_thread_list_item.smarty b/templates/ktstandard/action/discussion_thread_list_item.smarty
index 3f203c6..c397634 100644
--- a/templates/ktstandard/action/discussion_thread_list_item.smarty
+++ b/templates/ktstandard/action/discussion_thread_list_item.smarty
@@ -1,5 +1,5 @@
- {$first_comment->getSubject()}
+ {$first_comment->getSubject()}
{$creator->getName()}
{$thread->getNumberOfViews()}
{$thread->getNumberOfReplies()}
diff --git a/templates/ktstandard/action/document_links.smarty b/templates/ktstandard/action/document_links.smarty
index 42b4524..bd5ad5a 100644
--- a/templates/ktstandard/action/document_links.smarty
+++ b/templates/ktstandard/action/document_links.smarty
@@ -28,7 +28,7 @@
{assign var="target" value=$link->getChildDocument()}
- Delete
+ Delete
getId()}&qs[action]=main">{$target->getName()}
{$type->getName()}
Linked from this document
@@ -68,7 +68,7 @@
{if $write_permission}
-Add a new link
-Add a new link .
+Add a new link
+Add a new link .
{/if}
diff --git a/templates/ktstandard/authentication/ldapadduser.smarty b/templates/ktstandard/authentication/ldapadduser.smarty
index 3aaa349..bb7e55e 100644
--- a/templates/ktstandard/authentication/ldapadduser.smarty
+++ b/templates/ktstandard/authentication/ldapadduser.smarty
@@ -10,7 +10,7 @@
--
libgit2 0.21.4