From 64c965e31955b47f763ad0ed400eb7aa657a98b7 Mon Sep 17 00:00:00 2001 From: nbm Date: Thu, 20 Oct 2005 08:47:52 +0000 Subject: [PATCH] Don't hard-code the URL, get it from the configuration --- templates/ktcore/document/add.smarty | 2 +- templates/ktcore/import/fs_import.smarty | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/ktcore/document/add.smarty b/templates/ktcore/document/add.smarty index 6b23f70..181def1 100644 --- a/templates/ktcore/document/add.smarty +++ b/templates/ktcore/document/add.smarty @@ -29,7 +29,7 @@ function swapElementFromRequest(elementId, url) { function getMetadataForType(id) { swapElementFromRequest('type_metadata_fields', - 'http://ktcvs.local/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + 'http://{/literal}{$config->get('KnowledgeTree/serverName')}{literal}/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + id); } diff --git a/templates/ktcore/import/fs_import.smarty b/templates/ktcore/import/fs_import.smarty index ac93447..8afe029 100644 --- a/templates/ktcore/import/fs_import.smarty +++ b/templates/ktcore/import/fs_import.smarty @@ -28,7 +28,7 @@ function swapElementFromRequest(elementId, url) { function getMetadataForType(id) { swapElementFromRequest('type_metadata_fields', - 'http://ktcvs.local/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + 'http://{/literal}{$config->get('KnowledgeTree/serverName')}{literal}/presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php?fDocumentTypeID=' + id); } -- libgit2 0.21.4