Commit d7cbe3a4cd6aa024c597a435f96bceb324a490fb

Authored by nbm
1 parent 45c73d22

Moved search from presentation/lookAndFeel/knowledgeTree/ to /


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4497 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/search/advancedSearchBL.php renamed to search/advancedSearchBL.php 100644 โ†’ 100755
... ... @@ -38,10 +38,7 @@ if (checkSession()) {
38 38 require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc");
39 39 require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc");
40 40 require_once("$default->fileSystemRoot/lib/security/Permission.inc");
41   - require_once("$default->fileSystemRoot/presentation/Html.inc");
42 41 require_once("advancedSearchUI.inc");
43   -
44   - require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc");
45 42  
46 43 if (!isset($fStartIndex)) {
47 44 $fStartIndex = 1;
... ...
presentation/lookAndFeel/knowledgeTree/search/advancedSearchUI.inc renamed to search/advancedSearchUI.inc
presentation/lookAndFeel/knowledgeTree/search/advancedSearchUtil.inc renamed to search/advancedSearchUtil.inc
presentation/lookAndFeel/knowledgeTree/search/ajaxBooleanSearch.php renamed to search/ajaxBooleanSearch.php 100644 โ†’ 100755
1 1 <?php
2 2 require_once("../../../../config/dmsDefaults.php");
3   -require_once(KT_DIR . "/presentation/Html.inc");
4 3 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
5 4  
6 5 require_once(KT_LIB_DIR . "/database/dbutil.inc");
... ...
presentation/lookAndFeel/knowledgeTree/search/booleanSearch.php renamed to search/booleanSearch.php 100644 โ†’ 100755
... ... @@ -2,7 +2,6 @@
2 2  
3 3 // boilerplate includes
4 4 require_once("../../../../config/dmsDefaults.php");
5   -require_once(KT_DIR . "/presentation/Html.inc");
6 5 require_once(KT_LIB_DIR . "/templating/templating.inc.php");
7 6 require_once(KT_LIB_DIR . "/database/dbutil.inc");
8 7 require_once(KT_LIB_DIR . "/util/ktutil.inc");
... ... @@ -68,7 +67,7 @@ class BooleanSearchDispatcher extends KTStandardDispatcher {
68 67  
69 68 $collection->addColumn(new SelectionColumn("Browse Selection","selection"));
70 69 $t =& new TitleColumn("Test 1 (title)","title");
71   - $t->setOptions(array('documenturl' => '../documentmanagement/view.php'));
  70 + $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php'));
72 71 $collection->addColumn($t);
73 72 $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime"));
74 73 $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate"));
... ...
presentation/lookAndFeel/knowledgeTree/search/simpleSearch.php renamed to search/simpleSearch.php
... ... @@ -65,7 +65,7 @@ class SimpleSearchDispatcher extends KTStandardDispatcher {
65 65  
66 66 $collection->addColumn(new SelectionColumn("Browse Selection","selection"));
67 67 $t = new TitleColumn("Test 1 (title)","title");
68   - $t->setOptions(array('documenturl' => '../documentmanagement/view.php'));
  68 + $t->setOptions(array('documenturl' => $GLOBALS['KTRootUrl'] . '/view.php'));
69 69 $collection->addColumn($t);
70 70 $collection->addColumn(new DateColumn(_("Created"),"created", "getCreatedDateTime"));
71 71 $collection->addColumn(new DateColumn(_("Last Modified"),"modified", "getLastModifiedDate"));
... ...