Commit ed0b5953817720b497b008cc7726f3e0660448e2
1 parent
4c77b470
added copyright and gpl notice
removed owl prefix from table aliases git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2580 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
21 changed files
with
469 additions
and
138 deletions
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for adding a Org | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Add document type. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 11 | 29 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); |
| 12 | 30 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCreate.inc"); |
| 13 | 31 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTypeFieldLink.inc"); |
| 14 | -require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 32 | +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 15 | 33 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); |
| 16 | 34 | require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); |
| 17 | 35 | require_once("$default->fileSystemRoot/presentation/lookAndFeel/knowledgeTree/foldermanagement/folderUI.inc"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeFieldsLinkBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for adding a Org | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Add a link between a document type and document field UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 11 | 29 | |
| 12 | 30 | global $default; |
| ... | ... | @@ -17,7 +35,7 @@ if (checkSession()) { |
| 17 | 35 | require_once("addDocTypeFieldsLinkUI.inc"); |
| 18 | 36 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentField.inc"); |
| 19 | 37 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTypeFieldLink.inc"); |
| 20 | - require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 38 | + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 21 | 39 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); |
| 22 | 40 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); |
| 23 | 41 | require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc"); |
| ... | ... | @@ -69,7 +87,7 @@ if (checkSession()) { |
| 69 | 87 | |
| 70 | 88 | } else if (isset($fDocTypeID)){ |
| 71 | 89 | if (isset($fFromList)){ |
| 72 | - $sNewTableName = $default->owl_fields_table; | |
| 90 | + $sNewTableName = $default->document_fields_table; | |
| 73 | 91 | $sNewDisplayColumn = "name"; |
| 74 | 92 | $sNewValueColumn = "id"; |
| 75 | 93 | $sNewSelectName = "fFieldID"; | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeFieldsLinkUI.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information for adding a Org | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 10 | - | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Add a link between a document type and document field UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 11 | 28 | function getOptionPage($fDocTypeID = null){ |
| 12 | 29 | global $default; |
| 13 | 30 | |
| ... | ... | @@ -80,7 +97,7 @@ function getFirstPage($sHtmlListBox = null, $iDocTypeID, $bIsNew = null) { |
| 80 | 97 | $sToRender .= "<table>\n"; |
| 81 | 98 | |
| 82 | 99 | if ($bIsNew) { |
| 83 | - $sNewTableName = $default->owl_data_types_table; | |
| 100 | + $sNewTableName = $default->data_types_table; | |
| 84 | 101 | $sNewDisplayColumn = "name"; |
| 85 | 102 | $sNewValueColumn = "name"; |
| 86 | 103 | $sNewSelectName = "fDataType"; | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeSuccess.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information when adding a Org is successful | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 10 | - | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Successfully added a document type. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 11 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 12 | 29 | |
| 13 | 30 | global $default; | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/addDocTypeUI.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information for adding a Org | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Add document type UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | // get add pages |
| 11 | 29 | function getPage() { |
| 12 | 30 | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/editDocTypeBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for editing a documentType | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Edit document type. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 11 | 29 | |
| 12 | 30 | if (checkSession()) { |
| 13 | 31 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); |
| 14 | 32 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternEditableListFromQuery.inc"); |
| 15 | 33 | require_once("editDocTypeUI.inc"); |
| 16 | - require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 34 | + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 17 | 35 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentType.inc"); |
| 18 | 36 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentField.inc"); |
| 19 | 37 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTypeFieldLink.inc"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/editDocTypeFieldsBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for editing a documentType | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Edit document type fields. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 11 | 29 | |
| 12 | 30 | if (checkSession()) { |
| 13 | 31 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); |
| 14 | 32 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternEditableListFromQuery.inc"); |
| 15 | 33 | require_once("editDocTypeFieldsUI.inc"); |
| 16 | - require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 34 | + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 17 | 35 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentType.inc"); |
| 18 | 36 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentField.inc"); |
| 19 | 37 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentTypeFieldLink.inc"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/editDocTypeFieldsUI.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information for renaming a DocType | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Edit document type fields UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 10 | 27 | |
| 11 | 28 | // if its the manual edit page..then display normally |
| 12 | 29 | function getDetailsPage($iDocTypeID) { | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/editDocTypeUI.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information for renaming a DocType | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Edit document type UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 10 | 27 | |
| 11 | 28 | // if its the manual edit page..then display normally |
| 12 | 29 | function getEditPage($iDocTypeID) { |
| ... | ... | @@ -164,10 +181,10 @@ function getEditPageFail() { |
| 164 | 181 | function getDocTypeDisplay($oDocType) { |
| 165 | 182 | global $default; |
| 166 | 183 | if (!isset($oDocType)) { |
| 167 | - $oPatternListBox = & new PatternListBox($default->owl_document_types_table, "name", "id", "fDocTypeID"); | |
| 184 | + $oPatternListBox = & new PatternListBox($default->document_types_table, "name", "id", "fDocTypeID"); | |
| 168 | 185 | // only restrict doc type editing for non sys admins |
| 169 | 186 | if (!Permission::userIsSystemAdministrator()) { |
| 170 | - $oPatternListBox->setFromClause("LEFT OUTER JOIN $default->owl_documents_table D on ST.id=D.document_type_id"); | |
| 187 | + $oPatternListBox->setFromClause("LEFT OUTER JOIN $default->documents_table D on ST.id=D.document_type_id"); | |
| 171 | 188 | $oPatternListBox->setWhereClause("ISNULL(D.id)"); |
| 172 | 189 | } |
| 173 | 190 | $oPatternListBox->setPostBackOnChange(true); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/listDocTypesBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for listing Document Types | |
| 4 | -* | |
| 5 | -* @author Omar Rahbeeni | |
| 6 | -* @date 19 May 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * List document types. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 10 | 27 | |
| 11 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 12 | 29 | require_once("$default->fileSystemRoot/lib/users/User.inc"); |
| 13 | -require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 30 | +require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 14 | 31 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); |
| 15 | 32 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternTableSqlQuery.inc"); |
| 16 | 33 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/listDocTypesUI.inc
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* Presentation information for listing Document Types | |
| 4 | -* | |
| 5 | -* @author Omar Rahbeeni | |
| 6 | -* @date 19 May 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * List document types UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 10 | 27 | |
| 11 | 28 | function getDocumentTypes() { |
| 12 | 29 | global $default; |
| 13 | 30 | |
| 14 | 31 | $sQuery = "SELECT id as DocTypeID, name as DocTypeName, " . |
| 15 | 32 | "'Edit', 'Delete', 'Edit Fields' " . |
| 16 | - "FROM " . $default->owl_document_types_table . " " . | |
| 33 | + "FROM " . $default->document_types_table . " " . | |
| 17 | 34 | "ORDER BY name"; |
| 18 | 35 | |
| 19 | 36 | $aColumns = array("DocTypeName", "Edit", "Delete", "Edit Fields"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/removeDocTypeBL.php
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | -* BL information for adding a DocType | |
| 4 | -* | |
| 5 | -* @author Mukhtar Dharsey | |
| 6 | -* @date 5 February 2003 | |
| 7 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 8 | -* | |
| 9 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Remove a document type. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 10 | 28 | require_once("../../../../../config/dmsDefaults.php"); |
| 11 | 29 | |
| 12 | 30 | if (checkSession()) { |
| 13 | 31 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); |
| 14 | 32 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternEditableListFromQuery.inc"); |
| 15 | 33 | require_once("removeDocTypeUI.inc"); |
| 16 | - require_once("$default->fileSystemRoot/lib/security/permission.inc"); | |
| 34 | + require_once("$default->fileSystemRoot/lib/security/Permission.inc"); | |
| 17 | 35 | require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentType.inc"); |
| 18 | 36 | require_once("$default->fileSystemRoot/presentation/webpageTemplate.inc"); |
| 19 | 37 | require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/doctypemanagement/removeDocTypeUI.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | -* Presentation information for Deleting a DocType | |
| 5 | -* | |
| 6 | -* @author Mukhtar Dharsey | |
| 7 | -* @date 5 February 2003 | |
| 8 | -* @package presentation.lookAndFeel.knowledgeTree. | |
| 9 | -* | |
| 10 | -*/ | |
| 3 | + * $Id$ | |
| 4 | + * | |
| 5 | + * Remove a document type UI functions. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 22 | + * | |
| 23 | + * @version $Revision$ | |
| 24 | + * @author Mukhtar Dharsey, Jam Warehouse (Pty) Ltd, South Africa | |
| 25 | + * @package administration.doctypemanagement | |
| 26 | + */ | |
| 27 | + | |
| 11 | 28 | // gets the delete stuff |
| 12 | 29 | function getDeletePage($iDocTypeID) { |
| 13 | 30 | global $default; |
| ... | ... | @@ -86,8 +103,8 @@ function getDeleteFailPage() { |
| 86 | 103 | function getDocTypeDisplay($oDocType) { |
| 87 | 104 | global $default; |
| 88 | 105 | if (!isset($oDocType)) { |
| 89 | - $oPatternListBox = & new PatternListBox($default->owl_document_types_table, "name", "id", "fDocTypeID"); | |
| 90 | - $oPatternListBox->setFromClause("LEFT OUTER JOIN $default->owl_documents_table D on ST.id=D.document_type_id"); | |
| 106 | + $oPatternListBox = & new PatternListBox($default->document_types_table, "name", "id", "fDocTypeID"); | |
| 107 | + $oPatternListBox->setFromClause("LEFT OUTER JOIN $default->documents_table D on ST.id=D.document_type_id"); | |
| 91 | 108 | $oPatternListBox->setWhereClause("ISNULL(D.id)"); |
| 92 | 109 | $oPatternListBox->setIncludeDefaultValue(true); |
| 93 | 110 | $oPatternListBox->setPostBackOnChange(true); | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/archivedDocumentsUI.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 4 | + * | |
| 6 | 5 | * This page holds all presentation code for displaying document archiving searching. |
| 7 | 6 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/expungeDeletedDocumentsBL.php
| ... | ... | @@ -11,13 +11,26 @@ require_once("$default->fileSystemRoot/lib/web/WebDocument.inc"); |
| 11 | 11 | require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); |
| 12 | 12 | require_once("expungeDeletedDocumentsUI.inc"); |
| 13 | 13 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 14 | - | |
| 15 | 14 | /** |
| 16 | 15 | * $Id$ |
| 17 | - * | |
| 16 | + * | |
| 18 | 17 | * Business logic for expunging deleted documents. |
| 19 | 18 | * |
| 20 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 19 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 20 | + * | |
| 21 | + * This program is free software; you can redistribute it and/or modify | |
| 22 | + * it under the terms of the GNU General Public License as published by | |
| 23 | + * the Free Software Foundation; either version 2 of the License, or | |
| 24 | + * (at your option) any later version. | |
| 25 | + * | |
| 26 | + * This program is distributed in the hope that it will be useful, | |
| 27 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 28 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 29 | + * GNU General Public License for more details. | |
| 30 | + * | |
| 31 | + * You should have received a copy of the GNU General Public License | |
| 32 | + * along with this program; if not, write to the Free Software | |
| 33 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | 34 | * |
| 22 | 35 | * @version $Revision$ |
| 23 | 36 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| ... | ... | @@ -53,7 +66,7 @@ if (checkSession()) { |
| 53 | 66 | $aDocuments[$i]->cleanupDocumentData($fDocumentIDs[$i]); |
| 54 | 67 | |
| 55 | 68 | // delete the corresponding web document entry |
| 56 | - $oWebDocument = WebDocument::get(lookupID($default->owl_web_documents_table, "document_id", $fDocumentIDs[$i])); | |
| 69 | + $oWebDocument = WebDocument::get(lookupID($default->web_documents_table, "document_id", $fDocumentIDs[$i])); | |
| 57 | 70 | $oWebDocument->delete(); |
| 58 | 71 | |
| 59 | 72 | // store an expunge transaction | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/expungeDeletedDocumentsUI.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 6 | - * This page holds all presentation code for expunging documents pages. | |
| 7 | 4 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 5 | + * This page holds all presentation code for expunging documents pages. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/listDeletedDocumentsBL.php
| ... | ... | @@ -9,13 +9,26 @@ require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); |
| 9 | 9 | |
| 10 | 10 | require_once("listDeletedDocumentsUI.inc"); |
| 11 | 11 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 12 | - | |
| 13 | 12 | /** |
| 14 | 13 | * $Id$ |
| 15 | - * | |
| 14 | + * | |
| 16 | 15 | * Business logic for listing deleted documents. |
| 17 | 16 | * |
| 18 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 17 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 18 | + * | |
| 19 | + * This program is free software; you can redistribute it and/or modify | |
| 20 | + * it under the terms of the GNU General Public License as published by | |
| 21 | + * the Free Software Foundation; either version 2 of the License, or | |
| 22 | + * (at your option) any later version. | |
| 23 | + * | |
| 24 | + * This program is distributed in the hope that it will be useful, | |
| 25 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 26 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 27 | + * GNU General Public License for more details. | |
| 28 | + * | |
| 29 | + * You should have received a copy of the GNU General Public License | |
| 30 | + * along with this program; if not, write to the Free Software | |
| 31 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | 32 | * |
| 20 | 33 | * @version $Revision$ |
| 21 | 34 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/listDeletedDocumentsUI.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 6 | - * This page holds all presentation code for displaying deleted documents management pages. | |
| 7 | 4 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 5 | + * This page holds all presentation code for displaying deleted documents management pages. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/manageArchivedDocumentsBL.php
| ... | ... | @@ -14,13 +14,26 @@ require_once("$default->uiDirectory/search/advancedSearchUI.inc"); |
| 14 | 14 | require_once("$default->uiDirectory/search/advancedSearchUtil.inc"); |
| 15 | 15 | require_once("archivedDocumentsUI.inc"); |
| 16 | 16 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 17 | - | |
| 18 | 17 | /** |
| 19 | 18 | * $Id$ |
| 20 | - * | |
| 19 | + * | |
| 21 | 20 | * Business logic for searching archived documents |
| 22 | 21 | * |
| 23 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 22 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 23 | + * | |
| 24 | + * This program is free software; you can redistribute it and/or modify | |
| 25 | + * it under the terms of the GNU General Public License as published by | |
| 26 | + * the Free Software Foundation; either version 2 of the License, or | |
| 27 | + * (at your option) any later version. | |
| 28 | + * | |
| 29 | + * This program is distributed in the hope that it will be useful, | |
| 30 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 31 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 32 | + * GNU General Public License for more details. | |
| 33 | + * | |
| 34 | + * You should have received a copy of the GNU General Public License | |
| 35 | + * along with this program; if not, write to the Free Software | |
| 36 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 24 | 37 | * |
| 25 | 38 | * @version $Revision$ |
| 26 | 39 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa |
| ... | ... | @@ -139,10 +152,10 @@ function searchForDocuments($sMetaTagIDs, $sSQLSearchString, $sStatus = "Live") |
| 139 | 152 | global $default; |
| 140 | 153 | $aDocuments = array(); |
| 141 | 154 | $sQuery = "SELECT DISTINCT D.id " . |
| 142 | - "FROM $default->owl_documents_table AS D INNER JOIN document_fields_link AS DFL ON DFL.document_id = D.id " . | |
| 143 | - "INNER JOIN $default->owl_fields_table AS DF ON DF.id = DFL.document_field_id " . | |
| 155 | + "FROM $default->documents_table AS D INNER JOIN document_fields_link AS DFL ON DFL.document_id = D.id " . | |
| 156 | + "INNER JOIN $default->document_fields_table AS DF ON DF.id = DFL.document_field_id " . | |
| 144 | 157 | "INNER JOIN $default->search_permissions_table AS SDUL ON SDUL.document_id = D.ID " . |
| 145 | - "INNER JOIN $default->owl_status_table AS SL on D.status_id=SL.id " . | |
| 158 | + "INNER JOIN $default->status_table AS SL on D.status_id=SL.id " . | |
| 146 | 159 | "WHERE DF.ID IN ($sMetaTagIDs) " . |
| 147 | 160 | "AND (" . $sSQLSearchString . ") " . |
| 148 | 161 | "AND SL.name='$sStatus' " . | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/restoreDeletedDocumentBL.php
| ... | ... | @@ -11,13 +11,26 @@ require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); |
| 11 | 11 | require_once("$default->fileSystemRoot/presentation/lookAndFeel/knowledgeTree/foldermanagement/folderUI.inc"); |
| 12 | 12 | require_once("restoreDeletedDocumentsUI.inc"); |
| 13 | 13 | require_once("$default->fileSystemRoot/presentation/Html.inc"); |
| 14 | - | |
| 15 | 14 | /** |
| 16 | 15 | * $Id$ |
| 17 | - * | |
| 16 | + * | |
| 18 | 17 | * Business logic for restoring deleted documents. |
| 19 | 18 | * |
| 20 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 19 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 20 | + * | |
| 21 | + * This program is free software; you can redistribute it and/or modify | |
| 22 | + * it under the terms of the GNU General Public License as published by | |
| 23 | + * the Free Software Foundation; either version 2 of the License, or | |
| 24 | + * (at your option) any later version. | |
| 25 | + * | |
| 26 | + * This program is distributed in the hope that it will be useful, | |
| 27 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 28 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 29 | + * GNU General Public License for more details. | |
| 30 | + * | |
| 31 | + * You should have received a copy of the GNU General Public License | |
| 32 | + * along with this program; if not, write to the Free Software | |
| 33 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 21 | 34 | * |
| 22 | 35 | * @version $Revision$ |
| 23 | 36 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |
presentation/lookAndFeel/knowledgeTree/administration/documentmanagement/restoreDeletedDocumentsUI.inc
| 1 | 1 | <?php |
| 2 | - | |
| 3 | 2 | /** |
| 4 | 3 | * $Id$ |
| 5 | - * | |
| 6 | - * This page holds all presentation code for expunging documents pages. | |
| 7 | 4 | * |
| 8 | - * Licensed under the GNU GPL. For full terms see the file DOCS/COPYING. | |
| 5 | + * This page holds all presentation code for expunging documents pages. | |
| 6 | + * | |
| 7 | + * Copyright (c) 2003 Jam Warehouse http://www.jamwarehouse.com | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify | |
| 10 | + * it under the terms of the GNU General Public License as published by | |
| 11 | + * the Free Software Foundation; either version 2 of the License, or | |
| 12 | + * (at your option) any later version. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, | |
| 15 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 | + * GNU General Public License for more details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program; if not, write to the Free Software | |
| 21 | + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 9 | 22 | * |
| 10 | 23 | * @version $Revision$ |
| 11 | 24 | * @author Michael Joseph <michael@jamwarehouse.com>, Jam Warehouse (Pty) Ltd, South Africa | ... | ... |