From 4df7fc557c522278c36ae2c8789bef9f3509b797 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 12 Aug 2003 09:54:07 +0000 Subject: [PATCH] added copyright and gpl notice removed owl prefix from table aliases --- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php | 38 ++++++++++++++++++++++++++++---------- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkBL.php | 23 +++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc | 21 ++++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc | 37 +++++++++++++++++++++++++++---------- presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php | 35 +++++++++++++++++++++-------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc | 19 ++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php | 22 ++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentUI.inc | 21 +++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php | 18 ++++++++++++++++-- presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentUI.inc | 21 +++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php | 23 ++++++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackBL.php | 31 +++++++++++++++++++++++++------ presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackUI.inc | 26 +++++++++++++++++++++++++- presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc | 29 ++++++++++++++++++++++------- presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php | 36 +++++++++++++++++++++++++++--------- presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc | 31 ++++++++++++++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php | 33 +++++++++++++++++++++++++-------- presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc | 44 ++++++++++++++++++++++++-------------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc | 20 +++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php | 21 ++++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php | 33 +++++++++++++++++++++++++-------- presentation/lookAndFeel/knowledgeTree/documentmanagement/emailUI.inc | 43 ++++++++++++++++++++++++------------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php | 23 +++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataBL.php | 22 ++++++++++++++++++++-- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc | 21 +++++++++++++++++++-- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php | 25 +++++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc | 23 ++++++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc | 23 +++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentBL.php | 21 +++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentUI.inc | 20 +++++++++++++++++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php | 25 ++++++++++++++++++++----- presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc | 41 ++++++++++++++++++++++++----------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseBL.php | 27 ++++++++++++++++++++++----- presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc | 35 ++++++++++++++++++----------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php | 25 +++++++++++++++++++++---- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php | 43 +++++++++++++++++++++++++++++-------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc | 24 +++++++++++++++++++----- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc | 61 ++++++++++++++++++++++++++++++++++++++----------------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentBL.php | 35 +++++++++++++++++++++-------------- presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentUI.inc | 20 +++++++++++++++++--- 40 files changed, 858 insertions(+), 281 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php index 3219386..82a0213 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentBL.php @@ -1,15 +1,33 @@ fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentLink.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("documentUI.inc"); require_once("addDocumentLinkUI.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc index 56fde95..8d099d3 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentLinkUI.inc @@ -2,12 +2,27 @@ /** * $Id$ * - * Presentation logic used to link one document to another + * Presentation logic used to link one document to another. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function getPage($iDocumentID) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc index c2e3966..1bb6e20 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/addDocumentUI.inc @@ -1,20 +1,37 @@ owl_document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); + $oPatternListBox = & new PatternListBox("$default->document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); $oPatternListBox->setIncludeDefaultValue(true); - $oPatternListBox->setFromClause("INNER JOIN $default->owl_folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); + $oPatternListBox->setFromClause("INNER JOIN $default->folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); $oPatternListBox->setPostBackOnChange(true); $oPatternListBox->setOnChangeAction("setActionAndSubmit('" . $_SERVER["PHP_SELF"] . "?fFolderID=$iFolderID" . (isset($iDependantDocumentID) ? "&fDependantDocumentID=$iDependantDocumentID" : "") . "')"); @@ -142,7 +159,7 @@ function getPage($iFolderID, $iDocumentTypeID, $iDependantDocumentID = null, $sM } if ($iDocumentTypeID) { - $sToRender .= "
Document Type
" . lookupName($default->owl_document_types_table, $iDocumentTypeID) . "
"; + $sToRender .= "
Document Type
" . lookupName($default->document_types_table, $iDocumentTypeID) . "
"; $sToRender .= getUploadDocument(); $sToRender .= getMetaDataForm($iFolderID, $iDocumentTypeID); $sActionButtons = "graphicsUrl/widgets/add.gif\" border=\"0\"/>"; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php index 7851d1b..ae6c1fa 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseBL.php @@ -8,24 +8,15 @@ require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTransactio require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("$default->uiDirectory/documentmanagement/browseUI.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); - /** * $Id$ - * + * * This page controls browsing for documents- this can be done either by * folder, category or document type. * The relevant permission checking is performed, calls to the business logic * layer to retrieve the details of the documents to view are made and the user * interface is contructed. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. - * - * @version $Revision$ - * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement - */ - -/* * Querystring variables * --------------------- * fBrowseType - determines whether to browse by (folder, category, documentType) [mandatory] @@ -34,12 +25,28 @@ require_once("$default->fileSystemRoot/presentation/Html.inc"); * fDocumentTypeID - the document type id to browse [optional depending on fBrowseType] * fSortBy - the document attribute to sort the browse results by * fSortDirection - the direction to sort + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ -// ------------------------------- -// page start -// ------------------------------- - // only if we have a valid session if (checkSession()) { // retrieve variables diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc index 2f546ad..f8040e9 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/browseUI.inc @@ -4,17 +4,30 @@ require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("$default->uiDirectory/foldermanagement/folderUI.inc"); require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); require_once("$default->uiDirectory/foldermanagement/addFolderUI.inc"); - /** * $Id$ * * Document browsing page html UI building functions. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ /** diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php index 4d056da..ff03e9e 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentBL.php @@ -2,17 +2,31 @@ /** * $Id$ * - * Business Logic to check in a document + * Business Logic to check in a document. * * Expected form variable: * o $fDocumentID - primary key of document user is checking out * - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement -*/ + * @package documentmanagement + */ require_once("../../../../config/dmsDefaults.php"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentUI.inc index f387e26..344183e 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkInDocumentUI.inc @@ -1,15 +1,28 @@ , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ /** diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php index 667380e..1771c2b 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentBL.php @@ -7,11 +7,25 @@ * Expected form variable: * o $fDocumentID - primary key of document user is checking out * - * Licensed under the GNU GPL. For full terms see the file COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentUI.inc index 3c29039..aa83b92 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/checkOutDocumentUI.inc @@ -1,15 +1,28 @@ , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ /** diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php index 46bdbf7..6d0f368 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationBL.php @@ -1,7 +1,7 @@ fileSystemRoot/lib/email/Email.inc"); require_once("$default->fileSystemRoot/lib/groups/Group.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("documentUI.inc"); require_once("collaborationUI.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackBL.php index a56bf5e..feaa483 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackBL.php @@ -1,14 +1,33 @@ fileSystemRoot/lib/security/permission.inc"); +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/email/Email.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackUI.inc index cd03e21..3e1ac1e 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationRollbackUI.inc @@ -1,5 +1,29 @@ siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc index b2a0315..34b2cbe 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/collaborationUI.inc @@ -1,13 +1,28 @@ owl_users_table", "name", "id", "fUserID"); - $sFromClause = "INNER JOIN $default->owl_users_groups_table AS UGL ON ST.id = UGL.user_id "; + $oPatternListBox = & new PatternListBox("$default->users_table", "name", "id", "fUserID"); + $sFromClause = "INNER JOIN $default->users_groups_table AS UGL ON ST.id = UGL.user_id "; $oPatternListBox->setFromClause($sFromClause); $sWhereClause = "UGL.group_id = $iGroupID"; $oPatternListBox->setWhereClause($sWhereClause); @@ -36,7 +51,7 @@ function getRole($iRoleID) { $oRole = Role::get($iRoleID); return "" . $oRole->getName(); /*global $default; - $oPatternListBox = & new PatternListBox("$default->owl_roles_table", "name", "id", "fRoleID"); + $oPatternListBox = & new PatternListBox("$default->roles_table", "name", "id", "fRoleID"); if (isset($iRoleID)) { $oPatternListBox->setSelectedValue($iRoleID); } diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php index e0522ab..bcb430a 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php @@ -1,12 +1,30 @@ fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/email/Email.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/DependantDocumentInstance.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc index 1e262ce..1cb8ee6 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc @@ -1,5 +1,30 @@ owl_users_table, "Name", "id", "fUserID", "GUL.unit_id = $iUnitID"); + $oPatternListBox = & new PatternListBox($default->users_table, "Name", "id", "fUserID", "GUL.unit_id = $iUnitID"); $sFromClause = "INNER join users_groups_link AS UGL ON UGL.user_id = ST.id " . "INNER JOIN groups_units_link AS GUL ON GUL.group_id = UGL.group_id "; $oPatternListBox->setFromClause($sFromClause); @@ -66,7 +91,7 @@ function getUnitDropDown($iDocumentID, $iUnitID) { if (!isset($iUnitID)) { $iUnitID = -1; } - $oPatternListBox = & new PatternListBox($default->owl_units_table, "Name", "id", "fUnitID"); + $oPatternListBox = & new PatternListBox($default->units_table, "Name", "id", "fUnitID"); $oPatternListBox->setPostBackOnChange(true); $oPatternListBox->setOnChangeAction("setActionAndSubmit('" . $_SERVER["PHP_SELF"] . "?fDocumentID=$iDocumentID')"); if (isset($iUnitID)) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php index f157af3..85308f3 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentBL.php @@ -1,13 +1,30 @@ fileSystemRoot/lib/foldermanagement/Folder.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc index be59176..801a0b2 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/deleteDocumentUI.inc @@ -1,25 +1,29 @@ siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); - $sToRender = "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "
$sHeading
\n"; - return $sToRender; -}*/ + * $Id$ + * + * Presentation information for documentDeleteBL.php. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement + */ function getDocumentPath($iFolderID, $sDocumentName) { global $default; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc index 72b2b2b..8bfd32f 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/documentUI.inc @@ -2,13 +2,27 @@ /** * $Id$ * - * HTML information for document stuff. + * Common document UI functions. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("$default->fileSystemRoot/presentation/lookAndFeel/knowledgeTree/foldermanagement/folderUI.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php index df15947..26ea288 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/downloadBL.php @@ -7,15 +7,30 @@ * Expected form varaibles: * o $fDocumentID - Primary key of document to view * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); -require_once("$default->fileSystemRoot/lib/security/permission.inc"); +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/PhysicalDocumentManager.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTransaction.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php index ca32fcf..2b98c9c 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailBL.php @@ -1,17 +1,34 @@ fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/email/Email.inc"); require_once("$default->fileSystemRoot/lib/users/User.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailUI.inc index defa6e3..a9ed83a 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/emailUI.inc @@ -1,24 +1,29 @@ siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); - $sToRender = "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "
$sHeading
\n"; - return $sToRender; -}*/ + * $Id$ + * + * Business logic to email a link to a document to a colleague. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement + */ function getDocumentPath($oDocument) { global $default; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php index b6d37b1..69f5a78 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyBL.php @@ -9,19 +9,34 @@ * Optional form variables * o fForUpdate - generated when user clicks update on page and results in database update * o fFirstEdit - generated from the document upload page when the user first uploads a document. - * Is used to force the user to enter the necessary generic meta data + * Is used to force the user to enter the necessary generic meta data. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); if (checkSession()) { - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); require_once("$default->fileSystemRoot/lib/subscriptions/SubscriptionEngine.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataBL.php index 821e710..5da1067 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataBL.php @@ -7,15 +7,33 @@ * Optional form variables: * o fFirstTime - set by addDocumentBL on first time uploads and forces the user to * fill out the generic meta data + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); if (checkSession()) { - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternEditableTableSqlQuery.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc index e962548..2addf69 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyGenericMetaDataUI.inc @@ -2,10 +2,27 @@ /** * $Id$ * - * Contains HTML information required to display the generic meta data edit page. + * Contains UI functions to display the generic meta data edit page.. * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function getEditableGenericMetaData($iDocumentID, $iDocumentTypeID) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php index 938a462..1e4796d 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php @@ -2,16 +2,33 @@ /** * $Id$ * - * Business logic to modify type specific meta data for a document + * Business logic to modify type specific meta data for a document. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * @author Rob Cherry, Jam Warehouse South Africa (Pty) Ltd - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); if (checkSession()) { - require_once("$default->fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc index f023a7b..ecc8f95 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc @@ -2,10 +2,27 @@ /** * $Id$ * - * Presentation information used by modifySpecificMetaDataBL.php + * Presentation information used by modifySpecificMetaDataBL.php. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * @author Rob Cherry, Jam Warehouse South Africa (Pty) Ltd - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ function getEditableTypeSpecificMetaData($iDocumentID, $iDocumentTypeID) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc index 7227e24..e7c5d2f 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc @@ -4,10 +4,25 @@ * * Presentation data used to modify documents (will be used by modifyBL.inc) * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function renderDocumentPath($oDocument) { @@ -50,9 +65,9 @@ function renderEditableDocumentData($oDocument, $iDocumentTypeID) { function getDocumentType($iFolderID, $iDocumentTypeID) { global $default; $sWhereClause = "FDL.folder_id = $iFolderID"; - $oPatternListBox = & new PatternListBox("$default->owl_document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); + $oPatternListBox = & new PatternListBox("$default->document_types_table", "name", "id", "fDocumentTypeID",$sWhereClause); $oPatternListBox->setIncludeDefaultValue(false); - $oPatternListBox->setFromClause("INNER JOIN $default->owl_folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); + $oPatternListBox->setFromClause("INNER JOIN $default->folder_doctypes_table AS FDL ON ST.id = FDL.document_type_id"); if (isset($iDocumentTypeID)) { $oPatternListBox->setSelectedValue($iDocumentTypeID); } diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentBL.php index 6e9bf74..62960b8 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentBL.php @@ -1,20 +1,33 @@ , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); -require_once("$default->fileSystemRoot/lib/security/permission.inc"); +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/users/User.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentUI.inc index fe386c2..772770b 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/moveDocumentUI.inc @@ -2,13 +2,27 @@ /** * $Id$ * - * Move document presentation logic. + * Move document presentation functions. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function getConfirmationPage($iFolderID, $iDocumentID) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php index 77f839a..33ba2a6 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php @@ -1,8 +1,7 @@ fileSystemRoot/lib/security/permission.inc"); + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc"); require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentLink.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc index 7baca2e..d0c60ab 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc @@ -1,22 +1,29 @@ siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); - $sToRender = "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "
Unlink document
\n"; - return $sToRender; -}*/ + * $Id$ + * + * Presentation logic for removing a link between two documents. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement + */ function getPage($sParentDocumentName, $sChildDocumentName, $iParentDocumentID) { global $default; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseBL.php index f4977d2..85feb18 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseBL.php @@ -7,8 +7,9 @@ require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentType.inc") require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("$default->uiDirectory/documentmanagement/templateDocumentBrowseUI.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); - /** + * $Id$ + * * This page very closely follows browseBL.php. This page is ONLY used when a user * browses for a template document when setting up document linking in folder * collaboration. This page is launched as a separate window by javascript. The @@ -20,12 +21,28 @@ require_once("$default->fileSystemRoot/presentation/Html.inc"); * links are generated. When clicking on a document link, instead of being taken * to the document, the document values are sent to the parent window and the * window is closed + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ -// ------------------------------- -// page start -// ------------------------------- - // only if we have a valid session if (checkSession()) { require_once("../../../../phpSniff/phpTimer.class.php"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc index 3b25e1f..36b9e04 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/templateDocumentBrowseUI.inc @@ -4,30 +4,31 @@ require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("$default->uiDirectory/foldermanagement/folderUI.inc"); require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); require_once("$default->uiDirectory/foldermanagement/addFolderUI.inc"); - /** * $Id$ * - * Document browsing page html UI building functions. + * Template document browsing page html UI building functions. + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ - * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ - -/*function renderHeading($sHeading) { - global $default; - $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); - $sColor = $default->siteMap->getSectionColour($sSectionName, "th"); - $sToRender = "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "\n"; - $sToRender .= "
$sHeading
\n"; - return $sToRender; -}*/ /** * Generates radio button selects for document browse by type diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php index c76d003..9733f13 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewBL.php @@ -14,14 +14,31 @@ * o fBeginCollaboration - the user selected the 'Begin Collaboration' button * o fFireSubscription - the document has been modified, and a subscription alert must be fired * + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @date 21 January 2003 - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ require_once("../../../../config/dmsDefaults.php"); -require_once("$default->fileSystemRoot/lib/security/permission.inc"); +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/email/Email.inc"); @@ -161,7 +178,7 @@ if (checkSession()) { if ($fSubmit) { // user wishes to publish document - $oWebDocument = WebDocument::get(lookupID($default->owl_web_documents_table, "document_id", $fDocumentID)); + $oWebDocument = WebDocument::get(lookupID($default->web_documents_table, "document_id", $fDocumentID)); $default->log->info("retrieved web document=" . arrayToString($oWebDocument)); if ($oWebDocument) { if ($fWebSiteID) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php index 88f6dae..ebd0359 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryBL.php @@ -1,22 +1,37 @@ fileSystemRoot/lib/security/permission.inc"); +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); require_once("$default->fileSystemRoot/lib/users/User.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc index cc49752..c489aee 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc @@ -5,11 +5,25 @@ * Contains HTML information required to build the document history view page. * Will be used by viewHistoryBL.php * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @date 12 February 2003 - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function getDocumentPath($iFolderID, $sDocumentName) { @@ -23,8 +37,8 @@ function getDocumentPath($iFolderID, $sDocumentName) { function getDocumentHistory($iDocumentID) { global $default; $sQuery = "SELECT DTT.name AS transaction_name, U.name AS user_name, DT.version AS version, DT.comment AS comment, DT.datetime AS datetime " . - "FROM $default->owl_document_transactions_table AS DT INNER JOIN $default->owl_users_table AS U ON DT.user_id = U.id " . - "INNER JOIN $default->owl_transaction_types_table AS DTT ON DTT.id = DT.transaction_id " . + "FROM $default->document_transactions_table AS DT INNER JOIN $default->users_table AS U ON DT.user_id = U.id " . + "INNER JOIN $default->transaction_types_table AS DTT ON DTT.id = DT.transaction_id " . "WHERE DT.document_id = $iDocumentID ORDER BY DT.datetime DESC"; $sql = $default->db; $sToRender = "\n"; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 04a4693..cb0d9c0 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -3,15 +3,30 @@ * $Id$ * * Contains HTML information required to build the document view page. - * Will be used by documentViewBL.php + * Will be used by documentViewBL. * * Variables expected: * o $fDocumentID Primary key of document to view * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ * @author Rob Cherry, Jam Warehouse (Pty) Ltd, South Africa - * @date 21 January 2003 - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ function renderDocumentPath($oDocument, $bDisplayActions = false) { @@ -31,13 +46,13 @@ function renderDocumentPath($oDocument, $bDisplayActions = false) { function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") { global $default; $sQuery = "SELECT D.name, D.modified, DTT.datetime AS created, U.name AS initiator, CONCAT(CONCAT(D.major_version, '.'), D.minor_version) AS version, WDSL.name AS status, DTL.name AS document_type, D.is_checked_out, COALESCE(U2.name, '') AS c_user " . - "FROM $default->owl_documents_table AS D INNER JOIN $default->owl_web_documents_table AS WD ON WD.document_id = D.ID " . - "INNER JOIN $default->owl_web_documents_status_table AS WDSL ON WD.status_id = WDSL.id " . - "INNER JOIN $default->owl_users_table AS U ON U.id = D.creator_id " . - "INNER JOIN $default->owl_document_transactions_table AS DTT ON DTT.document_id = D.id " . - "INNER JOIN $default->owl_transaction_types_table AS TT ON DTT.transaction_id = TT.id " . - "INNER JOIN $default->owl_document_types_table AS DTL ON DTL.id = D.document_type_id " . - "LEFT OUTER JOIN $default->owl_users_table AS U2 ON U2.id = D.checked_out_user_id " . + "FROM $default->documents_table AS D INNER JOIN $default->web_documents_table AS WD ON WD.document_id = D.ID " . + "INNER JOIN $default->web_documents_status_table AS WDSL ON WD.status_id = WDSL.id " . + "INNER JOIN $default->users_table AS U ON U.id = D.creator_id " . + "INNER JOIN $default->document_transactions_table AS DTT ON DTT.document_id = D.id " . + "INNER JOIN $default->transaction_types_table AS TT ON DTT.transaction_id = TT.id " . + "INNER JOIN $default->document_types_table AS DTL ON DTL.id = D.document_type_id " . + "LEFT OUTER JOIN $default->users_table AS U2 ON U2.id = D.checked_out_user_id " . "WHERE D.id = " . $oDocument->getID() . " " . "AND TT.name LIKE 'Create'"; @@ -70,8 +85,8 @@ function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") { function renderGenericMetaData($oDocument, $bEditable) { global $default; $sQuery = "SELECT DF.name AS name, DFL.value as value " . - "FROM $default->owl_documents_table AS D INNER JOIN $default->owl_document_fields_table AS DFL ON D.id = DFL.document_id " . - "INNER JOIN $default->owl_fields_table AS DF ON DF.id = DFL.document_field_id " . + "FROM $default->documents_table AS D INNER JOIN $default->document_fields_link_table AS DFL ON D.id = DFL.document_id " . + "INNER JOIN $default->document_fields_table AS DF ON DF.id = DFL.document_field_id " . "WHERE document_id = " . $oDocument->getID() . " " . "AND DF.is_generic = 1"; $aColumns = array("name", "value"); @@ -127,10 +142,10 @@ function renderTypeSpecificMetaData($oDocument, $bEditable) { function renderEditableDocumentArchiveSettings($oDocument) { global $default; - $sQuery = "SELECT d.id, atl.name, 'Edit' AS edit FROM $default->owl_document_archiving_table AS da " . - "INNER JOIN $default->owl_archiving_settings_table AS ast ON da.archiving_settings_id=ast.id " . - "INNER JOIN $default->owl_archiving_type_lookup_table AS atl ON ast.archiving_type_id=atl.id " . - "INNER JOIN $default->owl_documents_table AS d ON da.document_id=d.id " . + $sQuery = "SELECT d.id, atl.name, 'Edit' AS edit FROM $default->document_archiving_table AS da " . + "INNER JOIN $default->archiving_settings_table AS ast ON da.archiving_settings_id=ast.id " . + "INNER JOIN $default->archiving_type_lookup_table AS atl ON ast.archiving_type_id=atl.id " . + "INNER JOIN $default->documents_table AS d ON da.document_id=d.id " . "WHERE d.id = " . $oDocument->getID(); $aColumns = array("name", "edit"); @@ -148,10 +163,10 @@ function renderEditableDocumentArchiveSettings($oDocument) { function renderNonEditableDocumentArchiveSettings($oDocument) { global $default; - $sQuery = "SELECT d.id, atl.name FROM $default->owl_document_archiving_table AS da " . - "INNER JOIN $default->owl_archiving_settings_table AS ast ON da.archiving_settings_id=ast.id " . - "INNER JOIN $default->owl_archiving_type_lookup_table AS atl ON ast.archiving_type_id=atl.id " . - "INNER JOIN $default->owl_documents_table AS d ON da.document_id=d.id " . + $sQuery = "SELECT d.id, atl.name FROM $default->document_archiving_table AS da " . + "INNER JOIN $default->archiving_settings_table AS ast ON da.archiving_settings_id=ast.id " . + "INNER JOIN $default->archiving_type_lookup_table AS atl ON ast.archiving_type_id=atl.id " . + "INNER JOIN $default->documents_table AS d ON da.document_id=d.id " . "WHERE d.id = " . $oDocument->getID(); $aColumns = array("name"); @@ -186,7 +201,7 @@ function renderDocumentArchiveSettings($oDocument, $bEditable) { function renderEditableDocumentRouting($oDocument) { global $default; $sQuery = "SELECT D.id as document_id, GFAL.id as id, R.name AS role_name, COALESCE(U.Name, 'Not assigned') AS name, GFAL.precedence AS precedence, COALESCE(FURL.active,0) AS active, COALESCE(FURL.done, 0) AS done, 'Edit' as edit " . - "FROM documents AS D INNER JOIN $default->owl_groups_folders_approval_table AS GFAL ON D.folder_id = GFAL.folder_id " . + "FROM documents AS D INNER JOIN $default->groups_folders_approval_table AS GFAL ON D.folder_id = GFAL.folder_id " . "INNER JOIN roles AS R ON GFAL.role_id = R.id " . "LEFT OUTER JOIN folders_users_roles_link AS FURL ON FURL.group_folder_approval_id = GFAL.id AND FURL.document_id = D.id " . "LEFT OUTER JOIN users AS U ON FURL.user_id = U.id " . @@ -243,7 +258,7 @@ function renderEditableDocumentRouting($oDocument) { function renderNonEditableDocumentRouting($oDocument) { global $default; $sQuery = "SELECT D.id as document_id, GFAL.id as id, R.name AS role_name, COALESCE(U.Name, 'Not assigned') AS name, GFAL.precedence AS precedence, COALESCE(FURL.active,0) AS active, COALESCE(FURL.done, 0) AS done " . - "FROM documents AS D INNER JOIN $default->owl_groups_folders_approval_table AS GFAL ON D.folder_id = GFAL.folder_id " . + "FROM documents AS D INNER JOIN $default->groups_folders_approval_table AS GFAL ON D.folder_id = GFAL.folder_id " . "INNER JOIN roles AS R ON GFAL.role_id = R.id " . "LEFT OUTER JOIN folders_users_roles_link AS FURL ON FURL.group_folder_approval_id = GFAL.id AND FURL.document_id = D.id " . "LEFT OUTER JOIN users AS U ON FURL.user_id = U.id " . @@ -599,7 +614,7 @@ function getStatusPage($oDocument, $sStatusMessage) { function getWebPublishPage($oDocument) { global $default; - $oPatternListBox = & new PatternListBox($default->owl_web_sites_table, "web_site_name", "id", "fWebSiteID"); + $oPatternListBox = & new PatternListBox($default->web_sites_table, "web_site_name", "id", "fWebSiteID"); $sToRender .= renderHeading("Document Detail"); $sToRender .= renderDocumentPath($oDocument, false) . "\n\n"; diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentBL.php index 695fa43..cf65b78 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentBL.php @@ -10,30 +10,37 @@ require_once("$default->fileSystemRoot/lib/web/WebSite.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("webDocumentUI.inc"); - /** * $Id$ - * + * * This page displays a web document pending publication and allows the webmaster * to flag the upload to 3rd party website as completed. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. - * - * @version $Revision$ - * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement - */ - -/* * Querystring variables * --------------------- * fWebDocumentID - the web document to process + * + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * @version $Revision$ + * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa + * @package documentmanagement */ -// ------------------------------- -// page start -// ------------------------------- - // only if we have a valid session if (checkSession()) { diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentUI.inc index 8b0ce92..f2b9fa3 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/webDocumentUI.inc @@ -3,13 +3,27 @@ /** * $Id$ * - * Web document presentation. + * Web document presentation functions. * - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * @version $Revision$ * @author Michael Joseph , Jam Warehouse (Pty) Ltd, South Africa - * @package presentation.lookAndFeel.knowledgeTree.documentmanagement + * @package documentmanagement */ /** -- libgit2 0.21.4