Commit 2c644240315ae8199f8d6e8d851028ffe8c8e997
1 parent
86976ef0
Fixed stupid error
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1184 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
22 additions
and
28 deletions
config/dmsDefaults.php
| ... | ... | @@ -37,8 +37,6 @@ require_once("environment.php"); |
| 37 | 37 | $default->owl_sessions_table = "active_sessions"; |
| 38 | 38 | // document type fields |
| 39 | 39 | $default->owl_fields_table = "document_fields"; |
| 40 | -//data type table | |
| 41 | -$default->owl_data_types_table = "data_types"; | |
| 42 | 40 | // links document |
| 43 | 41 | $default->owl_document_fields_table = "document_fields_link"; |
| 44 | 42 | // meta data value lookup table |
| ... | ... | @@ -109,6 +107,8 @@ $default->owl_web_sites_table = "web_sites"; |
| 109 | 107 | $default->owl_words_lookup_table = "words_lookup"; |
| 110 | 108 | //stores help text |
| 111 | 109 | $default->owl_help_table = "help"; |
| 110 | +//link folders to doc types | |
| 111 | +$default->owl_folder_doctypes_table = "folder_doctypes_link"; | |
| 112 | 112 | |
| 113 | 113 | // Change this to reflect the authentication method you are using |
| 114 | 114 | //require_once("$default->fileSystemRoot/lib/LDAPAuthenticator.inc"); |
| ... | ... | @@ -136,24 +136,26 @@ $default->siteMap->addPage("dashboard", "/presentation/lookAndFeel/knowledgeTree |
| 136 | 136 | |
| 137 | 137 | //pages for manage documents section |
| 138 | 138 | $default->siteMap->addDefaultPage("browse", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php", "Manage Documents", Guest, "browse documents"); |
| 139 | -// folder pages | |
| 139 | +$default->siteMap->addPage("viewDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php", "Manage Documents", Guest, "View Document", false); | |
| 140 | +$default->siteMap->addPage("deleteDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php", "Manage Documents", User, "Delete document", false); | |
| 141 | +$default->siteMap->addPage("viewHistory", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php", "Manage Documents", User, "View Document History", false); | |
| 142 | +$default->siteMap->addPage("modifyDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php", "Manage Documents", User, "Modify Document", false); | |
| 143 | +$default->siteMap->addPage("emailDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php", "Manage Documents", User, "Email A Document", false); | |
| 144 | + | |
| 140 | 145 | $default->siteMap->addPage("addFolder", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderBL.php", "Manage Documents", User, "Add A Folder"); |
| 146 | +$default->siteMap->addPage("addFolderDocType", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderDocTypeBL.php", "Manage Documents", User, ""); | |
| 147 | +$default->siteMap->addPage("deleteFolderDocType", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/deleteFolderDocTypeBL.php", "Manage Documents", User, ""); | |
| 141 | 148 | $default->siteMap->addPage("editFolder", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/editBL.php", "Manage Documents", UnitAdmin, "Modify Folder Properties"); |
| 142 | 149 | $default->siteMap->addPage("deleteFolder", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/deleteFolderBL.php", "Manage Documents", UnitAdmin, "Delete A Folder"); |
| 143 | -$default->siteMap->addPage("addDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php", "Manage Documents", User, "Add A Document"); | |
| 144 | 150 | $default->siteMap->addPage("moveFolder", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveFolder.php", "Manage Documents", UnitAdmin, "Move A Folder", false); |
| 151 | + | |
| 152 | +$default->siteMap->addPage("addDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php", "Manage Documents", User, "Add A Document"); | |
| 153 | +$default->siteMap->addPage("modifyDocumentRouting", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php", "Manage Documents", User, ""); | |
| 145 | 154 | $default->siteMap->addPage("modifyFolderCollaboration", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/collaborationBL.php", "Manage Documents", User, "", false); |
| 146 | 155 | $default->siteMap->addPage("addFolderCollaboration", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/addFolderCollaborationBL.php", "Manage Documents", User, "", false); |
| 147 | 156 | $default->siteMap->addPage("deleteFolderCollaboration", "/presentation/lookAndFeel/knowledgeTree/foldermanagement/deleteFolderCollaborationBL.php", "Manage Documents", User, "", false); |
| 148 | -$default->siteMap->addPage("addSubscription", "/presentation/lookAndFeel/knowledgeTree/subscriptions/addSubscriptionBL.php", "Manage Documents", User, "Add Folder Subscription"); | |
| 149 | -$default->siteMap->addPage("removeSubscription", "/presentation/lookAndFeel/knowledgeTree/subscriptions/removeSubscriptionBL.php", "Manage Documents", User, "Remove Folder Subscription"); | |
| 150 | -// document actions | |
| 151 | -$default->siteMap->addPage("viewDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php", "Manage Documents", Guest, "View Document", false); | |
| 152 | -$default->siteMap->addPage("deleteDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php", "Manage Documents", User, "Delete document", false); | |
| 153 | -$default->siteMap->addPage("viewHistory", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php", "Manage Documents", User, "View Document History", false); | |
| 154 | -$default->siteMap->addPage("modifyDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php", "Manage Documents", User, "Modify Document", false); | |
| 155 | -$default->siteMap->addPage("emailDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php", "Manage Documents", User, "Email A Document", false); | |
| 156 | -$default->siteMap->addPage("modifyDocumentRouting", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php", "Manage Documents", User, "Modify Document Routing", false); | |
| 157 | + | |
| 158 | +// check in / check out | |
| 157 | 159 | $default->siteMap->addPage("checkOutDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php", "Manage Documents", User, "Check Out Document", false); |
| 158 | 160 | $default->siteMap->addPage("checkInDocument", "/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php", "Manage Documents", User, "Check In Document", false); |
| 159 | 161 | |
| ... | ... | @@ -202,24 +204,16 @@ $default->siteMap->addPage("addUsersToGroup", "/tests/groups/adduser.php", "User |
| 202 | 204 | //document type management |
| 203 | 205 | $default->siteMap->addPage("doctype", "/presentation/lookAndFeel/knowledgeTree/administration/admin.php?sectionName=documentTypeAdministration", "doctypeAdministration", SysAdmin, "Document Type Management"); |
| 204 | 206 | $default->siteMap->addPage("docfield", "/presentation/lookAndFeel/knowledgeTree/administration/admin.php?sectionName=documentFieldAdministration", "doctypeAdministration", SysAdmin, "Document Field Management"); |
| 205 | -$default->siteMap->addPage("assignDocTypeToField", "/presentation/lookAndFeel/knowledgeTree/administration/doctypefieldmanagement/assignDocTypeToFieldBL.php", "doctypeAdministration", SysAdmin, "Assign Document Type To Field"); | |
| 206 | -$default->siteMap->addPage("removeDocTypeFromField", "/presentation/lookAndFeel/knowledgeTree/administration/doctypefieldmanagement/removeDocTypeFromFieldBL.php", "doctypeAdministration", SysAdmin, "Remove Document Type From Field"); | |
| 207 | 207 | |
| 208 | 208 | // document type stuff |
| 209 | - | |
| 210 | 209 | $default->siteMap->addPage("addDocType", "/presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeBL.php", "documentTypeAdministration", SysAdmin, "Add a Document Type"); |
| 211 | 210 | $default->siteMap->addPage("addDocTypeSuccess", "/presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeSuccess.php", "documentTypeAdministration", SysAdmin, "Add a Document Type success", False); |
| 212 | 211 | $default->siteMap->addPage("editDocType", "/presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/editDocTypeBL.php", "documentTypeAdministration", SysAdmin, "Edit a Document Type"); |
| 213 | 212 | $default->siteMap->addPage("removeDocType", "/presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/removeDocTypeBL.php", "documentTypeAdministration", SysAdmin, "Remove a Document Type"); |
| 213 | +// doc field stuff | |
| 214 | +$default->siteMap->addPage("addDocField", "/presentation/lookAndFeel/knowledgeTree/administration/admin.php", "documentFieldAdministration", SysAdmin, "Add a Document Field"); | |
| 214 | 215 | |
| 215 | -//doc field stuff | |
| 216 | -$default->siteMap->addPage("addDocField", "/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/addDocFieldBL.php", "documentFieldAdministration", SysAdmin, "Add a Document Field"); | |
| 217 | -$default->siteMap->addPage("addDocFieldSuccess", "/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/addDocFieldSuccess.php", "documentFieldAdministration", SysAdmin, "Add a Document Field", false); | |
| 218 | -$default->siteMap->addPage("editDocField", "/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/editDocFieldBL.php", "documentFieldAdministration", SysAdmin, "Edit a Document Field"); | |
| 219 | -$default->siteMap->addPage("removeDocField", "/presentation/lookAndFeel/knowledgeTree/administration/docfieldmanagement/removeDocFieldBL.php", "documentFieldAdministration", SysAdmin, "Remove a Document Field"); | |
| 220 | -/*************************/ | |
| 221 | - | |
| 222 | -//rolemanagement | |
| 216 | +// rolemanagement | |
| 223 | 217 | $default->siteMap->addPage("addRole", "/presentation/lookAndFeel/knowledgeTree/administration/rolemanagement/addRoleBL.php", "roleAdministration", SysAdmin, "Add New Role"); |
| 224 | 218 | $default->siteMap->addPage("editRole", "/presentation/lookAndFeel/knowledgeTree/administration/rolemanagement/editRoleBL.php", "roleAdministration", SysAdmin, "Edit Role Properties"); |
| 225 | 219 | $default->siteMap->addPage("editRoleSuccess", "/presentation/lookAndFeel/knowledgeTree/administration/rolemanagement/editRoleSuccess.php", "roleAdministration", SysAdmin, "Edit Role Properties", false); |
| ... | ... | @@ -232,12 +226,12 @@ $default->siteMap->addPage("editLink", "/presentation/lookAndFeel/knowledgeTree/ |
| 232 | 226 | $default->siteMap->addPage("removeLink", "/presentation/lookAndFeel/knowledgeTree/administration/linkmanagement/removeLinkBL.php", "linkAdministration", SysAdmin, "Remove a Link"); |
| 233 | 227 | |
| 234 | 228 | // pages for subscriptions section |
| 235 | -$default->siteMap->addDefaultPage("manageSubscriptions", "/presentation/lookAndFeel/knowledgeTree/subscriptions/manageSubscriptionsBL.php", "Subscriptions", User, "Manage Subscriptions"); | |
| 236 | -$default->siteMap->addPage("viewAlert", "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php", "Subscriptions", User, "View Subscription Alerts", false); | |
| 229 | +$default->siteMap->addDefaultPage("subscriptions", "/subscriptions.php", "Subscriptions", Guest, "SubScriptions"); | |
| 230 | +$default->siteMap->addPage("viewAlert", "/presentation/lookAndFeel/knowledgeTree/subscriptions/viewAlertBL.php", "Subscriptions", User, "Subscriptions", false); | |
| 237 | 231 | |
| 238 | 232 | // pages for advanced search section |
| 239 | -$default->siteMap->addDefaultPage("advancedSearch", "/search.php", "Advanced Search", Guest, "Advanced Search", false); | |
| 240 | -$default->siteMap->addDefaultPage("standardSearch", "/presentation/lookAndFeel/knowledgeTree/search/standardSearchBL.php", "Standard Search", Guest, "Standard Search", false); | |
| 233 | +$default->siteMap->addDefaultPage("advancedSearch", "/presentation/lookAndFeel/knowledgeTree/search/advancedSearchBL.php", "Advanced Search", Guest, "Advanced Search", true); | |
| 234 | +$default->siteMap->addPage("standardSearch", "/presentation/lookAndFeel/knowledgeTree/search/standardSearchBL.php", "Standard Search", Guest, "Standard Search", false); | |
| 241 | 235 | |
| 242 | 236 | // pages for prefs section |
| 243 | 237 | $default->siteMap->addPage("viewPreferences", "/preferences.php", "Preferences", User, "View Preferences", false); | ... | ... |