Commit 08cb82b00c8dcc78fc6bb6c24b19d3ce6a5c77f0
1 parent
a52131c9
Merged in from DEV trunk...
KTS-2800 "Dashlets display with horizontal lines between text" Fixed. Changed the style overflow and padding Committed By:Yusuf Davids Reviewed By:Jalaloedien Abrahams KTS-2859 "Unable to upload files in Windows XP and Windows 2003 - seemingly an MS Word issue only." Fixed. Add "call " in front of the command passed to exec(). Committed by: Megan Watson Reviewed By: Conrad Vermeulen Updated License Headers to 2008 and corrected some incorrect headers. Committed By: Kevin Fourie Reviewed By: Conrad Vermeulen Merge of Bryn Divey's work on Conditional Metadata into DEV branch. Committed By: Kevin Fourie Reviewed By: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@7936 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
410 changed files
with
1551 additions
and
1175 deletions
about.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
action.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
admin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/automated_upgrade.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/cleanup.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/expungeall.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/recreateIndexes.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/scheduler.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/storageverification.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/upgrade/pre-upgrade-3.0b3.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/upgrade/upgrade-to-2.0.6.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/win32/installScheduler.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/win32/schedulerService.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/win32/schedulerServiceStatus.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
bin/win32/uninstallScheduler.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
browse.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
config/dmsDefaults.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
config/siteMap.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
config/tableMappings.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
control.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
dashboard.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
examples/fieldsynchronisation/syncFieldFromLDAP.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
help.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktapi/KTAPIConstants.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktapi/KTAPIDocument.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktapi/KTAPIFolder.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktapi/KTAPISession.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktapi/ktapi.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebdav/index.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebdav/ktwebdav.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebdav/lib/KTWebDAVServer.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/KTDownloadManager.inc.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/KTUploadManager.inc.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/download.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/download_cleanup.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/index.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/upload.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/upload_cleanup.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwebservice/webservice.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
ktwsapi/delphi/examples/KTWSAPIExamples.dpr
| 1 | -{ | |
| 2 | - Copyright (c) 2007, The Jam Warehouse Software (Pty) Ltd. | |
| 3 | - | |
| 4 | - All rights reserved. | |
| 5 | - | |
| 6 | - Redistribution and use in source and binary forms, with or without | |
| 7 | - modification, are permitted provided that the following conditions are met: | |
| 8 | - | |
| 9 | - i) Redistributions of source code must retain the above copyright notice, | |
| 10 | - this list of conditions and the following disclaimer. | |
| 11 | - ii) Redistributions in binary form must reproduce the above copyright | |
| 12 | - notice, this list of conditions and the following disclaimer in the | |
| 13 | - documentation and/or other materials provided with the distribution. | |
| 14 | - iii) Neither the name of the The Jam Warehouse Software (Pty) Ltd nor the | |
| 15 | - names of its contributors may be used to endorse or promote products | |
| 16 | - derived from this software without specific prior written permission. | |
| 17 | - | |
| 18 | - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 19 | - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 20 | - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 21 | - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | |
| 22 | - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
| 23 | - EXEMPLARY, OR CONSEQUENTIAL DAMAGES ( INCLUDING, BUT NOT LIMITED TO, | |
| 24 | - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
| 25 | - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
| 26 | - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ( INCLUDING | |
| 27 | - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
| 28 | - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 29 | -} | |
| 30 | - | |
| 31 | -{* | |
| 32 | - This is a Delphi port of the php api for KnowledgeTree WebService. | |
| 33 | - | |
| 34 | - @Author Bjarte Kalstveit Vebjรธrnsen <bjarte@macaos.com> | |
| 35 | - @Version 1.0 BKV 24.09.2007 Initial revision | |
| 36 | -*} | |
| 37 | - | |
| 38 | - | |
| 39 | -program KTWSAPIExamples; | |
| 40 | - | |
| 41 | -uses | |
| 42 | - Forms, | |
| 43 | - uFolderContentExample in 'uFolderContentExample.pas' {FolderContentExample}, | |
| 44 | - uwebservice in '..\uwebservice.pas', | |
| 45 | - uktwsapi in '..\uktwsapi.pas', | |
| 46 | - uPHPserialize in '..\uPHPserialize.pas'; | |
| 47 | - | |
| 48 | -{$R *.res} | |
| 49 | - | |
| 50 | -begin | |
| 51 | - Application.Initialize; | |
| 52 | - Application.CreateForm(TFolderContentExample, FolderContentExample); | |
| 53 | - Application.Run; | |
| 54 | -end. | |
| 55 | - | |
| 1 | +{ | |
| 2 | + Copyright (c) 2008, The Jam Warehouse Software (Pty) Ltd. | |
| 3 | + | |
| 4 | + All rights reserved. | |
| 5 | + | |
| 6 | + Redistribution and use in source and binary forms, with or without | |
| 7 | + modification, are permitted provided that the following conditions are met: | |
| 8 | + | |
| 9 | + i) Redistributions of source code must retain the above copyright notice, | |
| 10 | + this list of conditions and the following disclaimer. | |
| 11 | + ii) Redistributions in binary form must reproduce the above copyright | |
| 12 | + notice, this list of conditions and the following disclaimer in the | |
| 13 | + documentation and/or other materials provided with the distribution. | |
| 14 | + iii) Neither the name of the The Jam Warehouse Software (Pty) Ltd nor the | |
| 15 | + names of its contributors may be used to endorse or promote products | |
| 16 | + derived from this software without specific prior written permission. | |
| 17 | + | |
| 18 | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
| 19 | + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
| 20 | + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
| 21 | + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | |
| 22 | + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | |
| 23 | + EXEMPLARY, OR CONSEQUENTIAL DAMAGES ( INCLUDING, BUT NOT LIMITED TO, | |
| 24 | + PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR | |
| 25 | + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | |
| 26 | + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ( INCLUDING | |
| 27 | + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
| 28 | + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 29 | +} | |
| 30 | + | |
| 31 | +{* | |
| 32 | + This is a Delphi port of the php api for KnowledgeTree WebService. | |
| 33 | + | |
| 34 | + @Author Bjarte Kalstveit Vebjรฏยฟยฝrnsen <bjarte@macaos.com> | |
| 35 | + @Version 1.0 BKV 24.09.2007 Initial revision | |
| 36 | +*} | |
| 37 | + | |
| 38 | + | |
| 39 | +program KTWSAPIExamples; | |
| 40 | + | |
| 41 | +uses | |
| 42 | + Forms, | |
| 43 | + uFolderContentExample in 'uFolderContentExample.pas' {FolderContentExample}, | |
| 44 | + uwebservice in '..\uwebservice.pas', | |
| 45 | + uktwsapi in '..\uktwsapi.pas', | |
| 46 | + uPHPserialize in '..\uPHPserialize.pas'; | |
| 47 | + | |
| 48 | +{$R *.res} | |
| 49 | + | |
| 50 | +begin | |
| 51 | + Application.Initialize; | |
| 52 | + Application.CreateForm(TFolderContentExample, FolderContentExample); | |
| 53 | + Application.Run; | |
| 54 | +end. | |
| 55 | + | ... | ... |
ktwsapi/php/examples/ktws_eg_add_document.php
ktwsapi/php/examples/ktws_eg_anonymous.php
ktwsapi/php/examples/ktws_eg_checkin.php
ktwsapi/php/examples/ktws_eg_create_folder.php
ktwsapi/php/examples/ktws_eg_doc_info.php
ktwsapi/php/examples/ktws_eg_folder_listing.php
ktwsapi/php/ktwsapi.inc.php
ktwsapi/php/ktwsapi_cfg.inc.php
lib/Log.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/actionregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/bulkaction.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/documentaction.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/documentviewlet.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/entitylist.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/folderaction.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/actions/portletregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/alert/delivery/EmailAlert.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/alert/delivery/SMSAlert.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/Authenticator.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/DBAuthenticator.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/authenticationprovider.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/authenticationproviderregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/authenticationsource.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/authenticationutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/builtinauthenticationprovider.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/interceptor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/interceptorinstances.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/authentication/interceptorregistry.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/BrowseColumns.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/Criteria.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/DocumentCollection.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/PartialQuery.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/browseutil.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/columnentry.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/columnregistry.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/browse/criteriaregistry.php
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | /* |
| 4 | 4 | * KnowledgeTree Open Source Edition |
| 5 | 5 | * Document Management Made Simple |
| 6 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 6 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 7 | 7 | * |
| 8 | 8 | * This program is free software; you can redistribute it and/or modify it under |
| 9 | 9 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/cache/cache.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/config/config.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dashboard/DashletDisables.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dashboard/Notification.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dashboard/NotificationRegistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dashboard/dashlet.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dashboard/dashletregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/database/datetime.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/database/dbcompat.inc
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/database/dbutil.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/database/lookup.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/database/sqlfile.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/discussions/DiscussionComment.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/discussions/DiscussionThread.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/dispatcher.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/Document.inc
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentField.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentFieldLink.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentLink.inc
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentTransaction.inc
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentTransactionType.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/DocumentType.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/LinkType.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/MDTree.inc
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/MetaData.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/PhysicalDocumentManager.inc
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/documentcontentversion.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/documentcore.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/documentmetadataversion.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/documentutil.inc.php
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | * |
| 10 | 10 | * KnowledgeTree Open Source Edition |
| 11 | 11 | * Document Management Made Simple |
| 12 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 12 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 13 | 13 | * |
| 14 | 14 | * This program is free software; you can redistribute it and/or modify it under |
| 15 | 15 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/documentmanagement/observers.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/email/Email.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/filelike/filelike.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/filelike/filelikeutil.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/filelike/fsfilelike.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/filelike/stringfilelike.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/foldermanagement/Folder.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/foldermanagement/PhysicalFolderManagement.inc
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/foldermanagement/compressionArchiveUtil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/foldermanagement/foldertransaction.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/foldermanagement/folderutil.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/groups/Group.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/groups/GroupUtil.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/help/help.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/help/helpentity.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/help/helpreplacement.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/i18n/i18n.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/i18n/i18nregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/i18n/i18nutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/import/bulkimport.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/import/fsimportstorage.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/import/importstorage.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/import/zipimportstorage.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/ktentity.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/metadata/fieldbehaviour.inc.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/metadata/fieldset.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/metadata/fieldsetregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -97,12 +97,53 @@ class KTFieldsetRegistry { |
| 97 | 97 | |
| 98 | 98 | // FIXME delegate. |
| 99 | 99 | $oFieldset =& $fieldsetOrType; |
| 100 | - if ($oFieldset->getIsConditional()) { | |
| 101 | - return PEAR::raiseError(_kt("Conditional Fieldsets are not yet implemented")); | |
| 102 | - } else { | |
| 100 | + | |
| 103 | 101 | $widgets = array(); |
| 104 | 102 | $fields = $oFieldset->getFields(); |
| 105 | 103 | |
| 104 | + if ($oFieldset->getIsConditional()) { | |
| 105 | + $iMasterId = $oFieldset->getMasterFieldId(); | |
| 106 | + | |
| 107 | + $oMasterField = DocumentField::get($iMasterId); | |
| 108 | + | |
| 109 | + $newfields = array(); | |
| 110 | + $newfields[] = $oMasterField; | |
| 111 | + foreach($fields as $oField) { | |
| 112 | + if($oField->getId() != $iMasterId) { | |
| 113 | + $newfields[] = $oField; | |
| 114 | + } | |
| 115 | + } | |
| 116 | + | |
| 117 | + foreach ($newfields as $oField) { | |
| 118 | + $fname = 'metadata_' . $oField->getId(); | |
| 119 | + $value = null; | |
| 120 | + | |
| 121 | + if (!is_null($oDocument)) { | |
| 122 | + $oFL = DocumentFieldLink::getByDocumentAndField($oDocument, $oField); | |
| 123 | + if (!is_null($oFL) && (!PEAR::isError($oFL))) { | |
| 124 | + $value = $oFL->getValue(); | |
| 125 | + } | |
| 126 | + } | |
| 127 | + | |
| 128 | + $widgets[] = $this->oWF->get('ktcore.widgets.conditionalselection', | |
| 129 | + array( | |
| 130 | + 'label' => $oField->getName(), | |
| 131 | + 'required' => $oField->getIsMandatory(), | |
| 132 | + 'name' => $fname, | |
| 133 | + 'value' => $value, | |
| 134 | + 'description' => $oField->getDescription(), | |
| 135 | + 'vocab' => MetaData::getEnabledByDocumentField($oField), | |
| 136 | + 'id_method' => 'getName', | |
| 137 | + 'label_method' => 'getName', | |
| 138 | + 'unselected_label' => _kt("No selection."), | |
| 139 | + 'simple_select' => false, | |
| 140 | + 'master' => ($oField->getId() == $iMasterId), | |
| 141 | + 'masterid' => $iMasterId, | |
| 142 | + 'fieldset' => $oFieldset->getId(), | |
| 143 | + 'field' => $oField->getId(), | |
| 144 | + )); | |
| 145 | + } | |
| 146 | + } else { | |
| 106 | 147 | foreach ($fields as $oField) { |
| 107 | 148 | |
| 108 | 149 | $fname = 'metadata_' . $oField->getId(); |
| ... | ... | @@ -165,13 +206,17 @@ class KTFieldsetRegistry { |
| 165 | 206 | } |
| 166 | 207 | } |
| 167 | 208 | |
| 168 | - return array($this->oWF->get('ktcore.widgets.fieldset',array( | |
| 209 | + | |
| 210 | + } | |
| 211 | + | |
| 212 | + return array($this->oWF->get('ktcore.widgets.fieldset', | |
| 213 | + array( | |
| 169 | 214 | 'label' => $oFieldset->getName(), |
| 170 | 215 | 'description' => $oFieldset->getDescription(), |
| 171 | 216 | 'name' => $sContainerName, |
| 172 | 217 | 'widgets' => $widgets, |
| 173 | 218 | ))); |
| 174 | - } | |
| 219 | + | |
| 175 | 220 | } |
| 176 | 221 | |
| 177 | 222 | |
| ... | ... | @@ -184,7 +229,26 @@ class KTFieldsetRegistry { |
| 184 | 229 | // FIXME delegate. |
| 185 | 230 | $oFieldset =& $fieldsetOrType; |
| 186 | 231 | if ($oFieldset->getIsConditional()) { |
| 187 | - return PEAR::raiseError(_kt("Conditional Fieldsets are not yet implemented")); | |
| 232 | + $validators = array(); | |
| 233 | + $fields = $oFieldset->getFields(); | |
| 234 | + | |
| 235 | + if ($bIncludeAuto) { | |
| 236 | + $widgets = $this->widgetsForFieldset($oFieldset, $sContainerName, $sDocument); | |
| 237 | + $validators = kt_array_merge($validators, $widgets[0]->getValidators()); | |
| 238 | + } | |
| 239 | + | |
| 240 | + foreach ($fields as $oField) { | |
| 241 | + $fname = 'metadata_' . $oField->getId(); | |
| 242 | + | |
| 243 | + // Change back to 'membership' | |
| 244 | + $validators[] = $this->oVF->get('ktcore.validators.membership', | |
| 245 | + array( | |
| 246 | + 'test' => $fname, | |
| 247 | + 'output' => $fname, | |
| 248 | + 'vocab' => MetaData::getEnabledValuesByDocumentField($oField), | |
| 249 | + 'id_method' => 'getName', | |
| 250 | + )); | |
| 251 | + } | |
| 188 | 252 | } else { |
| 189 | 253 | $validators = array(); |
| 190 | 254 | $fields = $oFieldset->getFields(); |
| ... | ... | @@ -243,13 +307,14 @@ class KTFieldsetRegistry { |
| 243 | 307 | } |
| 244 | 308 | } |
| 245 | 309 | |
| 246 | - return array($this->oVF->get('ktcore.validators.fieldset',array( | |
| 310 | + } | |
| 311 | + return array($this->oVF->get('ktcore.validators.fieldset', | |
| 312 | + array( | |
| 247 | 313 | 'test' => $sContainerName, |
| 248 | 314 | 'output' => $sContainerName, |
| 249 | 315 | 'validators' => $validators, |
| 250 | 316 | ))); |
| 251 | 317 | } |
| 252 | 318 | } |
| 253 | -} | |
| 254 | 319 | |
| 255 | 320 | ?> | ... | ... |
lib/metadata/metadatautil.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/metadata/valueinstance.inc.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/mime.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permission.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissionassignment.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissiondescriptor.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissiondynamiccondition.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissionlookup.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissionlookupassignment.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissionobject.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/permissions/permissionutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/KTAdminNavigation.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/pageregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/plugin.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/pluginentity.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/pluginregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/plugins/pluginutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/roles/Role.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/roles/documentroleallocation.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/roles/roleallocation.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/search/savedsearch.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/search/searchutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/security/Permission.inc
| ... | ... | @@ -10,7 +10,7 @@ |
| 10 | 10 | * |
| 11 | 11 | * KnowledgeTree Open Source Edition |
| 12 | 12 | * Document Management Made Simple |
| 13 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 13 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 14 | 14 | * |
| 15 | 15 | * This program is free software; you can redistribute it and/or modify it under |
| 16 | 16 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/session/Session.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/session/SiteMap.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/session/control.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/storage/ondiskhashedstoragemanager.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/storage/ondiskpathstoragemanager.inc.php
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | * |
| 15 | 15 | * KnowledgeTree Open Source Edition |
| 16 | 16 | * Document Management Made Simple |
| 17 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 17 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 18 | 18 | * |
| 19 | 19 | * This program is free software; you can redistribute it and/or modify it under |
| 20 | 20 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/storage/storagemanager.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/subscriptions/Subscription.inc
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | /* |
| 3 | 3 | * KnowledgeTree Open Source Edition |
| 4 | 4 | * Document Management Made Simple |
| 5 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 5 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 6 | 6 | * |
| 7 | 7 | * This program is free software; you can redistribute it and/or modify it under |
| 8 | 8 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/subscriptions/SubscriptionConstants.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/subscriptions/SubscriptionManager.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/subscriptions/subscriptions.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/templating/kt3template.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/templating/smartytemplate.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/templating/template.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/templating/templating.inc.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/triggers/triggerregistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/unitmanagement/Unit.inc
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/upgrades/Ini.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/upgrades/UpgradeFunctions.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/upgrades/UpgradeItems.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/upgrades/upgrade.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/users/User.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/users/userhistory.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/util/KTStopwords.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/util/ktutil.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -283,11 +283,12 @@ class KTUtil { |
| 283 | 283 | if ($sAppend) { |
| 284 | 284 | $sCmd .= " >> " . escapeshellarg($sAppend); |
| 285 | 285 | } |
| 286 | - if (OS_WINDOWS) { | |
| 287 | - $sCmd = "start /b \"kt\" " . $sCmd; | |
| 288 | - } | |
| 286 | + | |
| 289 | 287 | $sPopen = KTUtil::arrayGet($aOptions, 'popen'); |
| 290 | 288 | if ($sPopen) { |
| 289 | + if (OS_WINDOWS) { | |
| 290 | + $sCmd = "start /b \"kt\" " . $sCmd; | |
| 291 | + } | |
| 291 | 292 | return popen($sCmd, $sPopen); |
| 292 | 293 | } |
| 293 | 294 | |
| ... | ... | @@ -296,6 +297,9 @@ class KTUtil { |
| 296 | 297 | $aOutput = array(); |
| 297 | 298 | $iRet = ''; |
| 298 | 299 | |
| 300 | + if(OS_WINDOWS){ | |
| 301 | + $sCmd = 'call '.$sCmd; | |
| 302 | + } | |
| 299 | 303 | exec($sCmd, $aOutput, $iRet); |
| 300 | 304 | $aRet['ret'] = $iRet; |
| 301 | 305 | $aRet['out'] = $aOutput; | ... | ... |
lib/util/legacy.inc
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/util/sanitize.inc
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/validation/basevalidator.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/validation/customerrorhandler.php
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * | |
| 4 | - * The contents of this file are subject to the KnowledgeTree Public | |
| 5 | - * License Version 1.1.2 ("License"); You may not use this file except in | |
| 6 | - * compliance with the License. You may obtain a copy of the License at | |
| 7 | - * http://www.knowledgetree.com/KPL | |
| 8 | - * | |
| 9 | - * Software distributed under the License is distributed on an "AS IS" | |
| 10 | - * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. | |
| 11 | - * See the License for the specific language governing rights and | |
| 12 | - * limitations under the License. | |
| 13 | - * | |
| 14 | - * All copies of the Covered Code must include on each user interface screen: | |
| 15 | - * (i) the "Powered by KnowledgeTree" logo and | |
| 16 | - * (ii) the KnowledgeTree copyright notice | |
| 17 | - * in the same form as they appear in the distribution. See the License for | |
| 18 | - * requirements. | |
| 19 | - * | |
| 20 | - * The Original Code is: KnowledgeTree Open Source | |
| 21 | - * | |
| 22 | - * The Initial Developer of the Original Code is The Jam Warehouse Software | |
| 23 | - * (Pty) Ltd, trading as KnowledgeTree. | |
| 24 | - * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright | |
| 25 | - * (C) 2007 The Jam Warehouse Software (Pty) Ltd; | |
| 26 | - * All Rights Reserved. | |
| 27 | - * Contributor( s): ______________________________________ | |
| 28 | - * | |
| 29 | - */ | |
| 30 | - require_once('config/dmsDefaults.php'); | |
| 31 | - require_once(KT_LIB_DIR.'/Log.inc'); | |
| 32 | - | |
| 33 | - class KTCustomErrorHandler | |
| 34 | - { | |
| 35 | - // {{{ initCustomErrorHandler() | |
| 36 | - function initCustomErrorHandler () | |
| 37 | - { | |
| 38 | - return $oCustomErrorHandler =& new KTCustomErrorHandler; | |
| 39 | - } | |
| 40 | - // }}} | |
| 41 | - | |
| 42 | - // {{{ logError() | |
| 43 | - function logError($oError) | |
| 44 | - | |
| 45 | - { | |
| 46 | - global $default; | |
| 47 | - | |
| 48 | - $sErrorType = ''; | |
| 49 | - if(substr($oError->toString(),1,2) == 'db') | |
| 50 | - { | |
| 51 | - $sErrorType = 'database_error'; | |
| 52 | - } | |
| 53 | - else | |
| 54 | - { | |
| 55 | - $sErrorType = 'unknown_error'; | |
| 56 | - } | |
| 57 | - | |
| 58 | - | |
| 59 | - $default->log->error($oError->toString()); | |
| 60 | - | |
| 61 | - } | |
| 62 | - } | |
| 63 | - ?> | |
| 64 | 1 | \ No newline at end of file |
| 2 | +<?php | |
| 3 | +/** | |
| 4 | + * $Id: $ | |
| 5 | + * | |
| 6 | + * KnowledgeTree Open Source Edition | |
| 7 | + * Document Management Made Simple | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * | |
| 10 | + * This program is free software; you can redistribute it and/or modify it under | |
| 11 | + * the terms of the GNU General Public License version 3 as published by the | |
| 12 | + * Free Software Foundation. | |
| 13 | + * | |
| 14 | + * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 15 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 16 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 17 | + * details. | |
| 18 | + * | |
| 19 | + * You should have received a copy of the GNU General Public License | |
| 20 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 21 | + * | |
| 22 | + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 23 | + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 24 | + * | |
| 25 | + * The interactive user interfaces in modified source and object code versions | |
| 26 | + * of this program must display Appropriate Legal Notices, as required under | |
| 27 | + * Section 5 of the GNU General Public License version 3. | |
| 28 | + * | |
| 29 | + * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 30 | + * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 31 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 32 | + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 33 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 34 | + * copyright notice. | |
| 35 | + * Contributor( s): ______________________________________ | |
| 36 | + */ | |
| 37 | + require_once('config/dmsDefaults.php'); | |
| 38 | + require_once(KT_LIB_DIR.'/Log.inc'); | |
| 39 | + | |
| 40 | + class KTCustomErrorHandler | |
| 41 | + { | |
| 42 | + // {{{ initCustomErrorHandler() | |
| 43 | + function initCustomErrorHandler () | |
| 44 | + { | |
| 45 | + return $oCustomErrorHandler =& new KTCustomErrorHandler; | |
| 46 | + } | |
| 47 | + // }}} | |
| 48 | + | |
| 49 | + // {{{ logError() | |
| 50 | + function logError($oError) | |
| 51 | + | |
| 52 | + { | |
| 53 | + global $default; | |
| 54 | + | |
| 55 | + $sErrorType = ''; | |
| 56 | + if(substr($oError->toString(),1,2) == 'db') | |
| 57 | + { | |
| 58 | + $sErrorType = 'database_error'; | |
| 59 | + } | |
| 60 | + else | |
| 61 | + { | |
| 62 | + $sErrorType = 'unknown_error'; | |
| 63 | + } | |
| 64 | + | |
| 65 | + | |
| 66 | + $default->log->error($oError->toString()); | |
| 67 | + | |
| 68 | + } | |
| 69 | + } | |
| 70 | + ?> | ... | ... |
lib/validation/customerrorviewer.inc.php
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * | |
| 4 | - * The contents of this file are subject to the KnowledgeTree Public | |
| 5 | - * License Version 1.1.2 ("License"); You may not use this file except in | |
| 6 | - * compliance with the License. You may obtain a copy of the License at | |
| 7 | - * http://www.knowledgetree.com/KPL | |
| 8 | - * | |
| 9 | - * Software distributed under the License is distributed on an "AS IS" | |
| 10 | - * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. | |
| 11 | - * See the License for the specific language governing rights and | |
| 12 | - * limitations under the License. | |
| 13 | - * | |
| 14 | - * All copies of the Covered Code must include on each user interface screen: | |
| 15 | - * (i) the "Powered by KnowledgeTree" logo and | |
| 16 | - * (ii) the KnowledgeTree copyright notice | |
| 17 | - * in the same form as they appear in the distribution. See the License for | |
| 18 | - * requirements. | |
| 19 | - * | |
| 20 | - * The Original Code is: KnowledgeTree Open Source | |
| 21 | - * | |
| 22 | - * The Initial Developer of the Original Code is The Jam Warehouse Software | |
| 23 | - * (Pty) Ltd, trading as KnowledgeTree. | |
| 24 | - * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright | |
| 25 | - * (C) 2007 The Jam Warehouse Software (Pty) Ltd; | |
| 26 | - * All Rights Reserved. | |
| 27 | - * Contributor( s): ______________________________________ | |
| 28 | - * | |
| 29 | - */ | |
| 30 | - require_once(KT_LIB_DIR.'/validation/customerrorhandler.php'); | |
| 31 | - | |
| 32 | - class KTCustomErrorViewer | |
| 33 | - { | |
| 34 | - // {{{ initCustomErrorViewer() | |
| 35 | - function initCustomErrorViewer() | |
| 36 | - { | |
| 37 | - return $oCustomViewer =& new KTCustomErrorViewer; | |
| 38 | - } | |
| 39 | - //}}} | |
| 40 | - | |
| 41 | - //{{{ getCustomErrorConfigSetting() | |
| 42 | - function getCustomErrorConfigSetting() | |
| 43 | - { | |
| 44 | - $oKTConfig =& KTConfig::getSingleton(); | |
| 45 | - $sCustomErrorCheck = $oKTConfig->get('CustomErrorMessages/customerrormessages'); | |
| 46 | - return $sCustomErrorCheck; | |
| 47 | - } | |
| 48 | - //}}} | |
| 49 | - | |
| 50 | - //{{{ getCustomErrorHandlerSetting() | |
| 51 | - function getCustomErrorHandlerSetting() | |
| 52 | - { | |
| 53 | - $oKTConfig =& KTConfig::getSingleton(); | |
| 54 | - $sCustomErrorCheck = $oKTConfig->get('CustomErrorMessages/customerrorhandler'); | |
| 55 | - return $sCustomErrorCheck; | |
| 56 | - } | |
| 57 | - //}}} | |
| 58 | - | |
| 59 | - // {{{ getCustomErrorRedirectPage() | |
| 60 | - function getCustomErrorRedirectPage () | |
| 61 | - { | |
| 62 | - $oKTErrorConfig =& KTConfig::getSingleton(); | |
| 63 | - $sCustomErrorPage = $oKTErrorConfig->get('CustomErrorMessages/customerrorpagepath'); | |
| 64 | - | |
| 65 | - //if a filname is specified in the config.ini file make it into a url | |
| 66 | - if (substr($sCustomErrorPage, 0, 4) != 'http') | |
| 67 | - { | |
| 68 | - | |
| 69 | - $sCustomErrorPage = 'http://'.$_SERVER['HTTP_HOST'].'/'.$sCustomErrorPage; | |
| 70 | - | |
| 71 | - } | |
| 72 | - | |
| 73 | - //checking if file exists | |
| 74 | - //curl options will return the page header, we can then check for an http error | |
| 75 | - $CurlSession = curl_init(); | |
| 76 | - curl_setopt($CurlSession, CURLOPT_URL, $sCustomErrorPage); | |
| 77 | - curl_setopt($CurlSession, CURLOPT_HEADER, true); | |
| 78 | - curl_setopt($CurlSession, CURLOPT_NOBODY, true); | |
| 79 | - curl_setopt($CurlSession, CURLOPT_RETURNTRANSFER, true); | |
| 80 | - $data = curl_exec($CurlSession); | |
| 81 | - curl_close($CurlSession); | |
| 82 | - preg_match("/HTTP\/1\.[1|0]\s(\d{3})/",$data,$matches); | |
| 83 | - | |
| 84 | - //checking for http error - if the retunr code isn't 200 then we have an error | |
| 85 | - //on an error we return 0 | |
| 86 | - if ($matches[1] != '200') | |
| 87 | - { | |
| 88 | - //if file does not exist return error code of 0 | |
| 89 | - return '0'; | |
| 90 | - } | |
| 91 | - else | |
| 92 | - { | |
| 93 | - //if file exists return error page address | |
| 94 | - return $sCustomErrorPage; | |
| 95 | - | |
| 96 | - } | |
| 97 | - } | |
| 98 | - // }}} | |
| 99 | - | |
| 100 | - // {{{ customErrorPageRedirect() | |
| 101 | - function doCustomErrorPageRedirect($CustomErrorPage, $oError = null) | |
| 102 | - { | |
| 103 | - $sErrorMessage = ''; | |
| 104 | - if($oError != null) | |
| 105 | - { | |
| 106 | - //call error handler | |
| 107 | - | |
| 108 | - $aErrorMessage = array (); | |
| 109 | - $aErrorMessage['Error_MessageOne'] = $oError->getMessage(); | |
| 110 | - $aErrorMessage['Error_MessageTwo'] = $oError->getUserInfo(); | |
| 111 | - //echo '<pre>'; | |
| 112 | - //print_r($aErrorMessage); | |
| 113 | - //echo '</pre>'; | |
| 114 | - //exit; | |
| 115 | - $customErrorHandler = KTCustomErrorHandler::initCustomErrorHandler(); | |
| 116 | - $customErrorHandler->logError($oError); | |
| 117 | - } | |
| 118 | - | |
| 119 | - $ErrorPageCurlSession = curl_init($CustomErrorPage); | |
| 120 | - //curl_setopt($ErrorPageCurlSession, CURLOPT_SSL_VERIFYPEER, false); | |
| 121 | - curl_setopt($ErrorPageCurlSession, CURLOPT_POST, true); | |
| 122 | - curl_setopt($ErrorPageCurlSession, CURLOPT_POSTFIELDS, $aErrorMessage); | |
| 123 | - $ErrorPageSent = curl_exec($ErrorPageCurlSession); | |
| 124 | - curl_close($ErrorPageCurlSession); | |
| 125 | - | |
| 126 | - } | |
| 127 | - // }}} | |
| 128 | - } | |
| 129 | - ?> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * $Id: $ | |
| 4 | + * | |
| 5 | + * KnowledgeTree Open Source Edition | |
| 6 | + * Document Management Made Simple | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify it under | |
| 10 | + * the terms of the GNU General Public License version 3 as published by the | |
| 11 | + * Free Software Foundation. | |
| 12 | + * | |
| 13 | + * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | + * details. | |
| 17 | + * | |
| 18 | + * You should have received a copy of the GNU General Public License | |
| 19 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | + * | |
| 21 | + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | + * | |
| 24 | + * The interactive user interfaces in modified source and object code versions | |
| 25 | + * of this program must display Appropriate Legal Notices, as required under | |
| 26 | + * Section 5 of the GNU General Public License version 3. | |
| 27 | + * | |
| 28 | + * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | + * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | + * Contributor( s): ______________________________________ | |
| 35 | + */ | |
| 36 | + require_once(KT_LIB_DIR.'/validation/customerrorhandler.php'); | |
| 37 | + | |
| 38 | + class KTCustomErrorViewer | |
| 39 | + { | |
| 40 | + // {{{ initCustomErrorViewer() | |
| 41 | + function initCustomErrorViewer() | |
| 42 | + { | |
| 43 | + return $oCustomViewer =& new KTCustomErrorViewer; | |
| 44 | + } | |
| 45 | + //}}} | |
| 46 | + | |
| 47 | + //{{{ getCustomErrorConfigSetting() | |
| 48 | + function getCustomErrorConfigSetting() | |
| 49 | + { | |
| 50 | + $oKTConfig =& KTConfig::getSingleton(); | |
| 51 | + $sCustomErrorCheck = $oKTConfig->get('CustomErrorMessages/customerrormessages'); | |
| 52 | + return $sCustomErrorCheck; | |
| 53 | + } | |
| 54 | + //}}} | |
| 55 | + | |
| 56 | + //{{{ getCustomErrorHandlerSetting() | |
| 57 | + function getCustomErrorHandlerSetting() | |
| 58 | + { | |
| 59 | + $oKTConfig =& KTConfig::getSingleton(); | |
| 60 | + $sCustomErrorCheck = $oKTConfig->get('CustomErrorMessages/customerrorhandler'); | |
| 61 | + return $sCustomErrorCheck; | |
| 62 | + } | |
| 63 | + //}}} | |
| 64 | + | |
| 65 | + // {{{ getCustomErrorRedirectPage() | |
| 66 | + function getCustomErrorRedirectPage () | |
| 67 | + { | |
| 68 | + $oKTErrorConfig =& KTConfig::getSingleton(); | |
| 69 | + $sCustomErrorPage = $oKTErrorConfig->get('CustomErrorMessages/customerrorpagepath'); | |
| 70 | + | |
| 71 | + //if a filname is specified in the config.ini file make it into a url | |
| 72 | + if (substr($sCustomErrorPage, 0, 4) != 'http') | |
| 73 | + { | |
| 74 | + | |
| 75 | + $sCustomErrorPage = 'http://'.$_SERVER['HTTP_HOST'].'/'.$sCustomErrorPage; | |
| 76 | + | |
| 77 | + } | |
| 78 | + | |
| 79 | + //checking if file exists | |
| 80 | + //curl options will return the page header, we can then check for an http error | |
| 81 | + $CurlSession = curl_init(); | |
| 82 | + curl_setopt($CurlSession, CURLOPT_URL, $sCustomErrorPage); | |
| 83 | + curl_setopt($CurlSession, CURLOPT_HEADER, true); | |
| 84 | + curl_setopt($CurlSession, CURLOPT_NOBODY, true); | |
| 85 | + curl_setopt($CurlSession, CURLOPT_RETURNTRANSFER, true); | |
| 86 | + $data = curl_exec($CurlSession); | |
| 87 | + curl_close($CurlSession); | |
| 88 | + preg_match("/HTTP\/1\.[1|0]\s(\d{3})/",$data,$matches); | |
| 89 | + | |
| 90 | + //checking for http error - if the retunr code isn't 200 then we have an error | |
| 91 | + //on an error we return 0 | |
| 92 | + if ($matches[1] != '200') | |
| 93 | + { | |
| 94 | + //if file does not exist return error code of 0 | |
| 95 | + return '0'; | |
| 96 | + } | |
| 97 | + else | |
| 98 | + { | |
| 99 | + //if file exists return error page address | |
| 100 | + return $sCustomErrorPage; | |
| 101 | + | |
| 102 | + } | |
| 103 | + } | |
| 104 | + // }}} | |
| 105 | + | |
| 106 | + // {{{ customErrorPageRedirect() | |
| 107 | + function doCustomErrorPageRedirect($CustomErrorPage, $oError = null) | |
| 108 | + { | |
| 109 | + $sErrorMessage = ''; | |
| 110 | + if($oError != null) | |
| 111 | + { | |
| 112 | + //call error handler | |
| 113 | + | |
| 114 | + $aErrorMessage = array (); | |
| 115 | + $aErrorMessage['Error_MessageOne'] = $oError->getMessage(); | |
| 116 | + $aErrorMessage['Error_MessageTwo'] = $oError->getUserInfo(); | |
| 117 | + //echo '<pre>'; | |
| 118 | + //print_r($aErrorMessage); | |
| 119 | + //echo '</pre>'; | |
| 120 | + //exit; | |
| 121 | + $customErrorHandler = KTCustomErrorHandler::initCustomErrorHandler(); | |
| 122 | + $customErrorHandler->logError($oError); | |
| 123 | + } | |
| 124 | + | |
| 125 | + $ErrorPageCurlSession = curl_init($CustomErrorPage); | |
| 126 | + //curl_setopt($ErrorPageCurlSession, CURLOPT_SSL_VERIFYPEER, false); | |
| 127 | + curl_setopt($ErrorPageCurlSession, CURLOPT_POST, true); | |
| 128 | + curl_setopt($ErrorPageCurlSession, CURLOPT_POSTFIELDS, $aErrorMessage); | |
| 129 | + $ErrorPageSent = curl_exec($ErrorPageCurlSession); | |
| 130 | + curl_close($ErrorPageCurlSession); | |
| 131 | + | |
| 132 | + } | |
| 133 | + // }}} | |
| 134 | + } | |
| 135 | + ?> | ... | ... |
lib/validation/dispatchervalidation.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/validation/errorviewer.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/validation/validatorfactory.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/FieldsetDisplayRegistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/basewidget.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/fieldWidgets.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/fieldsetDisplay.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/forms.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/portlet.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/reorderdisplay.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/widgets/widgetfactory.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflow.inc.php
| ... | ... | @@ -8,7 +8,7 @@ |
| 8 | 8 | * |
| 9 | 9 | * KnowledgeTree Open Source Edition |
| 10 | 10 | * Document Management Made Simple |
| 11 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 11 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 12 | 12 | * |
| 13 | 13 | * This program is free software; you can redistribute it and/or modify it under |
| 14 | 14 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowadminutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowstate.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowstatepermissionsassignment.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowtransition.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowtrigger.inc.php
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | * |
| 12 | 12 | * KnowledgeTree Open Source Edition |
| 13 | 13 | * Document Management Made Simple |
| 14 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 14 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 15 | 15 | * |
| 16 | 16 | * This program is free software; you can redistribute it and/or modify it under |
| 17 | 17 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowtriggerinstance.inc.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
lib/workflow/workflowutil.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
login.php
| ... | ... | @@ -7,7 +7,7 @@ |
| 7 | 7 | * |
| 8 | 8 | * KnowledgeTree Open Source Edition |
| 9 | 9 | * Document Management Made Simple |
| 10 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 10 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 11 | 11 | * |
| 12 | 12 | * This program is free software; you can redistribute it and/or modify it under |
| 13 | 13 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
notify.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
olddashboard.php
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | * |
| 10 | 10 | * KnowledgeTree Open Source Edition |
| 11 | 11 | * Document Management Made Simple |
| 12 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 12 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 13 | 13 | * |
| 14 | 14 | * This program is free software; you can redistribute it and/or modify it under |
| 15 | 15 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/browseabledashlet/BrowseableDashlet.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/browseabledashlet/BrowseableDashletPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/housekeeper/DiskUsageDashlet.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/housekeeper/FolderUsageDashlet.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/housekeeper/HouseKeeperDispatcher.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/housekeeper/HouseKeeperPlugin.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTAssist.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTBulkActions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTColumns.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTCoreLanguagePlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTCorePlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -181,6 +181,8 @@ class KTCorePlugin extends KTPlugin { |
| 181 | 181 | $this->registerWidget('KTDescriptorSelectionWidget', 'ktcore.widgets.descriptorselection', 'KTWidgets.php'); |
| 182 | 182 | $this->registerWidget('KTCoreFolderCollectionWidget', 'ktcore.widgets.foldercollection', 'KTWidgets.php'); |
| 183 | 183 | |
| 184 | + $this->registerWidget('KTCoreConditionalSelectionWidget', 'ktcore.widgets.conditionalselection', 'KTWidgets.php'); | |
| 185 | + | |
| 184 | 186 | $this->registerPage('collection', 'KTCoreCollectionPage', 'KTWidgets.php'); |
| 185 | 187 | $this->registerPage('notifications', 'KTNotificationOverflowPage', 'KTMiscPages.php'); |
| 186 | 188 | ... | ... |
plugins/ktcore/KTDashlets.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTDocumentActions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTDocumentViewlets.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTFolderActions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTMiscPages.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTPermissions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTPortlets.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTValidators.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/KTWidgets.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -767,4 +767,160 @@ class KTCoreCollectionPage extends KTStandardDispatcher { |
| 767 | 767 | } |
| 768 | 768 | |
| 769 | 769 | |
| 770 | -?> | |
| 770 | + | |
| 771 | +// based on the selection widget, this carries a mapping array, | |
| 772 | +// which is converted to JSON and inserted into the output. javascript | |
| 773 | +// enforces the various relationships between conditional fields. | |
| 774 | + | |
| 775 | +class KTCoreConditionalSelectionWidget extends KTCoreSelectionWidget { | |
| 776 | + var $sNamespace = 'ktcore.widgets.conditionalselection'; | |
| 777 | + | |
| 778 | + var $sIdMethod; | |
| 779 | + var $sLabelMethod; | |
| 780 | + | |
| 781 | + var $bIsMaster; | |
| 782 | + var $bMappings; | |
| 783 | + | |
| 784 | + function _getFieldIdForMetadataId($iMetadata) { | |
| 785 | + $sTable = 'metadata_lookup'; | |
| 786 | + $sQuery = "SELECT document_field_id FROM " . $sTable . " WHERE id = ?"; | |
| 787 | + $aParams = array($iMetadata); | |
| 788 | + | |
| 789 | + $res = DBUtil::getOneResultKey(array($sQuery, $aParams), 'document_field_id'); | |
| 790 | + if (PEAR::isError($res)) { | |
| 791 | + return false; | |
| 792 | + } | |
| 793 | + return $res; | |
| 794 | + } | |
| 795 | + | |
| 796 | + | |
| 797 | + function configure($aOptions) { | |
| 798 | + $res = parent::configure($aOptions); | |
| 799 | + if (PEAR::isError($res)) { | |
| 800 | + return $res; | |
| 801 | + } | |
| 802 | + | |
| 803 | + $this->sIdMethod = KTUtil::arrayGet($aOptions, 'id_method', 'getId'); | |
| 804 | + $this->sLabelMethod = KTUtil::arrayGet($aOptions, 'label_method'); | |
| 805 | + if (empty($this->sLabelMethod)) { | |
| 806 | + return PEAR::raiseError(_kt('No label method specified.')); | |
| 807 | + } | |
| 808 | + $existing_entities = (array) KTUtil::arrayGet($aOptions, 'existing_entities'); | |
| 809 | + | |
| 810 | + if (empty($this->value)) { | |
| 811 | + $this->value = array(); | |
| 812 | + foreach ($existing_entities as $oEntity) { | |
| 813 | + $this->value[] = call_user_func(array(&$oEntity, $this->sIdMethod)); | |
| 814 | + } | |
| 815 | + } | |
| 816 | + | |
| 817 | + $this->iField = KTUtil::arrayGet($aOptions, 'field'); | |
| 818 | + $this->iMasterId = KTUtil::arrayGet($aOptions, 'masterid'); | |
| 819 | + | |
| 820 | + // if we're the master, we have to build the dependancy array and store it as JSON | |
| 821 | + // also, include the javascript | |
| 822 | + if(KTUtil::arrayGet($aOptions, 'master', false)) { | |
| 823 | + $this->bMaster = true; | |
| 824 | + $this->aJavascript = array('resources/js/conditional_selection.js'); | |
| 825 | + | |
| 826 | + $oFieldset = KTFieldset::get(KTUtil::arrayGet($aOptions, 'fieldset')); | |
| 827 | + $aLookups = array(); | |
| 828 | + $aConnections = array(); | |
| 829 | + | |
| 830 | + foreach($oFieldset->getFields() as $oField) { | |
| 831 | + $c = array(); | |
| 832 | + | |
| 833 | + foreach($oField->getEnabledValues() as $oMetadata) { | |
| 834 | + $a = array(); | |
| 835 | + // print '<pre>'; | |
| 836 | + | |
| 837 | + $nvals = KTMetadataUtil::getNextValuesForLookup($oMetadata->getId()); | |
| 838 | + if($nvals) { | |
| 839 | + foreach($nvals as $i=>$aVals) { | |
| 840 | + $a = array_merge($a, $aVals); | |
| 841 | + | |
| 842 | + foreach($aVals as $id) { | |
| 843 | + $field = $this->_getFieldIdForMetadataId($id); | |
| 844 | + // print 'id ' . $id . ' is in field ' . $field . "<br/>"; | |
| 845 | + if(!in_array($field, $c)) { | |
| 846 | + $c[] = $field; | |
| 847 | + } | |
| 848 | + } | |
| 849 | + } | |
| 850 | + } | |
| 851 | + | |
| 852 | + $aLookups[$oMetadata->getId()] = $a; | |
| 853 | + } | |
| 854 | + $aConnections[$oField->getId()] = $c; | |
| 855 | + } | |
| 856 | + | |
| 857 | + //exit(0); | |
| 858 | + | |
| 859 | + $oJSON = new Services_JSON; | |
| 860 | + $this->sLookupsJSON = $oJSON->encode($aLookups); | |
| 861 | + $this->sConnectionsJSON = $oJSON->encode($aConnections); | |
| 862 | + } | |
| 863 | + | |
| 864 | + | |
| 865 | + $new_vocab = array(); | |
| 866 | + foreach ($this->aVocab as $oEntity) { | |
| 867 | + $id = call_user_func(array(&$oEntity, $this->sIdMethod)); | |
| 868 | + $label = call_user_func(array(&$oEntity, $this->sLabelMethod)); | |
| 869 | + $new_vocab[$id] = array($label, $oEntity->getId()); | |
| 870 | + } | |
| 871 | + $this->aVocab = $new_vocab; | |
| 872 | + } | |
| 873 | + | |
| 874 | + function getWidget() { | |
| 875 | + $bHasErrors = false; | |
| 876 | + if (count($this->aErrors) != 0) { $bHasErrors = true; } | |
| 877 | + | |
| 878 | + $this->sTemplate = 'ktcore/forms/widgets/conditional_selection'; | |
| 879 | + | |
| 880 | + $oTemplating =& KTTemplating::getSingleton(); | |
| 881 | + $oTemplate = $oTemplating->loadTemplate($this->sTemplate); | |
| 882 | + | |
| 883 | + $unselected = KTUtil::arrayGet($this->aOptions, 'unselected_label'); | |
| 884 | + if (!empty($unselected)) { | |
| 885 | + $vocab = array(); | |
| 886 | + $vocab[] = $unselected; | |
| 887 | + foreach ($this->aVocab as $k => $v) { | |
| 888 | + $vocab[$k] = $v; | |
| 889 | + } | |
| 890 | + $this->aVocab = $vocab; | |
| 891 | + if (empty($this->value)) { | |
| 892 | + $this->value = '0'; | |
| 893 | + } | |
| 894 | + } | |
| 895 | + | |
| 896 | + if ($this->bMulti) { | |
| 897 | + $this->_valuesearch = array(); | |
| 898 | + $value = (array) $this->value; | |
| 899 | + foreach ($value as $v) { | |
| 900 | + $this->_valuesearch[$v] = true; | |
| 901 | + } | |
| 902 | + } | |
| 903 | + | |
| 904 | + $aTemplateData = array( | |
| 905 | + 'context' => $this, | |
| 906 | + 'name' => $this->sName, | |
| 907 | + 'has_id' => ($this->sId !== null), | |
| 908 | + 'id' => $this->sId, | |
| 909 | + 'has_value' => ($this->value !== null), | |
| 910 | + 'value' => $this->value, | |
| 911 | + 'options' => $this->aOptions, | |
| 912 | + 'vocab' => $this->aVocab, | |
| 913 | + 'lookups' => $this->sLookupsJSON, | |
| 914 | + 'connections' => $this->sConnectionsJSON, | |
| 915 | + 'master' => $this->bMaster, | |
| 916 | + 'masterid' => $this->iMasterId, | |
| 917 | + 'field' => $this->iField, | |
| 918 | + ); | |
| 919 | + return $oTemplate->render($aTemplateData); | |
| 920 | + } | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | +} | |
| 925 | + | |
| 926 | + | ... | ... |
plugins/ktcore/KTWorkflowTriggers.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/ajaxComplexConditionals.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/ajaxSimpleConditionals.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/archivedDocuments.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/conditions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/deletedDocuments.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/documentCheckout.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/documentFieldsv2.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/documentTypes.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/expungeList.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/fieldsets/basic.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/fieldsets/conditional.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the |
| ... | ... | @@ -414,6 +414,16 @@ ordering!"); |
| 414 | 414 | |
| 415 | 415 | $oField = $data['master_field']; |
| 416 | 416 | |
| 417 | + // remove all existing behaviors | |
| 418 | + $aFieldIds = array(); | |
| 419 | + foreach($this->oFieldset->getFields() as $i) { | |
| 420 | + $aFieldIds[] = $i->getId(); | |
| 421 | + } | |
| 422 | + | |
| 423 | + $sTable = KTUtil::getTableName('field_behaviours'); | |
| 424 | + $aQuery = array("DELETE FROM $sTable WHERE field_id IN (" . DBUtil::paramArray($aFieldIds) . ")", $aFieldIds); | |
| 425 | + $res = DBUtil::runQuery($aQuery); | |
| 426 | + | |
| 417 | 427 | $res = KTMetadataUtil::removeFieldOrdering($this->oFieldset); |
| 418 | 428 | $this->oFieldset->setMasterFieldId($oField->getId()); |
| 419 | 429 | $res = $this->oFieldset->update(); | ... | ... |
plugins/ktcore/admin/groupManagement.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/manageCleanup.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/manageConditionals.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/manageHelp.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/managePermissions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/manageViews.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/plugins.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/roleManagement.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/savedSearch.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/techsupport.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/unitManagement.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/userManagement.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/workflow/newworkflow.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/admin/workflowsv2.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/authentication/authenticationadminpage.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/document/Rename.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/document/edit.php
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | * |
| 4 | 4 | * KnowledgeTree Open Source Edition |
| 5 | 5 | * Document Management Made Simple |
| 6 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 6 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 7 | 7 | * |
| 8 | 8 | * This program is free software; you can redistribute it and/or modify it under |
| 9 | 9 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/BulkImport.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/BulkUpload.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/Permissions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/Rename.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/Transactions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/folder/addDocument.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/background.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/scheduler.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/schedulerDashlet.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/schedulerEntity.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/schedulerUtil.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktcore/scheduler/taskScheduler.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/ImmutableActionPlugin.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTBulkExportPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTDisclaimers.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTDiscussion.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTDocumentLinks.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTDocumentLinksColumns.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTEmail.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTLDAPAuthenticationPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTStandardPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTSubscriptions.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTWebDAVDashletPlugin.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/KTWorkflowAssociation.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/PDFGeneratorAction.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/PDFGeneratorPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/admin/manageDisclaimers.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/BaseIndexer.php
| ... | ... | @@ -4,33 +4,33 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the |
| 11 | 11 | * Free Software Foundation. |
| 12 | - * | |
| 12 | + * | |
| 13 | 13 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 14 | 14 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 15 | 15 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 16 | 16 | * details. |
| 17 | - * | |
| 17 | + * | |
| 18 | 18 | * You should have received a copy of the GNU General Public License |
| 19 | 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | - * | |
| 20 | + * | |
| 21 | 21 | * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, |
| 22 | 22 | * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. |
| 23 | - * | |
| 23 | + * | |
| 24 | 24 | * The interactive user interfaces in modified source and object code versions |
| 25 | 25 | * of this program must display Appropriate Legal Notices, as required under |
| 26 | 26 | * Section 5 of the GNU General Public License version 3. |
| 27 | - * | |
| 27 | + * | |
| 28 | 28 | * In accordance with Section 7(b) of the GNU General Public License version 3, |
| 29 | 29 | * these Appropriate Legal Notices must retain the display of the "Powered by |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | 31 | * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | 34 | * Contributor( s): ______________________________________ |
| 35 | 35 | * |
| 36 | 36 | */ |
| ... | ... | @@ -106,7 +106,6 @@ class KTBaseIndexerTrigger { |
| 106 | 106 | $sBasedir = $oKTConfig->get("urls/tmpDirectory"); |
| 107 | 107 | |
| 108 | 108 | $myfilename = tempnam($sBasedir, 'kt.' . $tempstub); |
| 109 | - | |
| 110 | 109 | if (OS_WINDOWS) { |
| 111 | 110 | $intermediate = tempnam($sBasedir, 'kt.' . $tempstub); |
| 112 | 111 | if (!@copy($sFile, $intermediate)) { |
| ... | ... | @@ -155,11 +154,8 @@ class KTBaseIndexerTrigger { |
| 155 | 154 | $cmdline[] = $sTempFilename; |
| 156 | 155 | } |
| 157 | 156 | |
| 158 | - if(OS_WINDOWS){ | |
| 159 | - $aRet = KTUtil::winexec($cmdline, $aOptions); | |
| 160 | - }else{ | |
| 161 | - $aRet = KTUtil::pexec($cmdline, $aOptions); | |
| 162 | - } | |
| 157 | + $aRet = KTUtil::pexec($cmdline, $aOptions); | |
| 158 | + | |
| 163 | 159 | $this->aCommandOutput = $aRet['out']; |
| 164 | 160 | $contents = file_get_contents($sTempFilename); |
| 165 | 161 | ... | ... |
plugins/ktstandard/contents/ExcelIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/OpenDocumentIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/PdfIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/PowerpointIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/PsIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/RtfIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/TextIndexer.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/contents/WordIndexer.php
| ... | ... | @@ -4,33 +4,33 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the |
| 11 | 11 | * Free Software Foundation. |
| 12 | - * | |
| 12 | + * | |
| 13 | 13 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 14 | 14 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 15 | 15 | * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
| 16 | 16 | * details. |
| 17 | - * | |
| 17 | + * | |
| 18 | 18 | * You should have received a copy of the GNU General Public License |
| 19 | 19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | - * | |
| 20 | + * | |
| 21 | 21 | * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, |
| 22 | 22 | * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. |
| 23 | - * | |
| 23 | + * | |
| 24 | 24 | * The interactive user interfaces in modified source and object code versions |
| 25 | 25 | * of this program must display Appropriate Legal Notices, as required under |
| 26 | 26 | * Section 5 of the GNU General Public License version 3. |
| 27 | - * | |
| 27 | + * | |
| 28 | 28 | * In accordance with Section 7(b) of the GNU General Public License version 3, |
| 29 | 29 | * these Appropriate Legal Notices must retain the display of the "Powered by |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | 31 | * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | 34 | * Contributor( s): ______________________________________ |
| 35 | 35 | * |
| 36 | 36 | */ |
| ... | ... | @@ -54,7 +54,7 @@ class KTWordIndexerTrigger extends KTBaseIndexerTrigger { |
| 54 | 54 | } |
| 55 | 55 | putenv('LANG=en_US.UTF-8'); |
| 56 | 56 | |
| 57 | - $sCommand = KTUtil::findCommand($this->commandconfig, $this->command); | |
| 57 | + $sCommand = KTUtil::findCommand($this->commandconfig, $this->command); | |
| 58 | 58 | if (empty($sCommand)) { |
| 59 | 59 | return false; |
| 60 | 60 | } |
| ... | ... | @@ -62,25 +62,6 @@ class KTWordIndexerTrigger extends KTBaseIndexerTrigger { |
| 62 | 62 | if (OS_WINDOWS) { |
| 63 | 63 | $sDir = dirname(dirname($sCommand)); |
| 64 | 64 | putenv('HOME=' . $sDir); |
| 65 | - | |
| 66 | - /* | |
| 67 | - $cmdline = array($sCommand); | |
| 68 | - $cmdline = kt_array_merge($cmdline, $this->args); | |
| 69 | - $cmdline[] = $sFilename; | |
| 70 | - | |
| 71 | - $sCmd = KTUtil::safeShellString($cmdline); | |
| 72 | - $sCmd .= " >> " . escapeshellarg($sTempFilename); | |
| 73 | - | |
| 74 | - $sCmd = str_replace( '/','\\',$sCmd); | |
| 75 | - | |
| 76 | - $sCmd = "start /b \"kt\" " . $sCmd; | |
| 77 | - | |
| 78 | - pclose(popen($sCmd, 'r')); | |
| 79 | - | |
| 80 | - $this->aCommandOutput = 1; | |
| 81 | - $contents = file_get_contents($sTempFilename); | |
| 82 | - return $contents; | |
| 83 | - */ | |
| 84 | 65 | } |
| 85 | 66 | return parent::extract_contents($sFilename, $sTempFilename); |
| 86 | 67 | } | ... | ... |
plugins/ktstandard/contents/XmlHtmlIndexer.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/ldap/activedirectoryauthenticationprovider.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/ldap/ldapauthenticationprovider.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/ldap/ldapbaseauthenticationprovider.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/workflow/FolderAssociator.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/workflow/TypeAssociator.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/ktstandard/workflow/adminpage.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/KTrss.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/RSSDashlet.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/RSSDedicatedDashlet.php
| 1 | -<?php | |
| 2 | -/* | |
| 3 | - * $Id: RSSDashlet.php 7481 2007-10-23 09:47:11Z kevin_fourie $ | |
| 4 | - * | |
| 5 | - * KnowledgeTree Open Source Edition | |
| 6 | - * Document Management Made Simple | |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 9 | - * This program is free software; you can redistribute it and/or modify it under | |
| 10 | - * the terms of the GNU General Public License version 3 as published by the | |
| 11 | - * Free Software Foundation. | |
| 12 | - * | |
| 13 | - * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | - * details. | |
| 17 | - * | |
| 18 | - * You should have received a copy of the GNU General Public License | |
| 19 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | - * | |
| 21 | - * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | - * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | - * | |
| 24 | - * The interactive user interfaces in modified source and object code versions | |
| 25 | - * of this program must display Appropriate Legal Notices, as required under | |
| 26 | - * Section 5 of the GNU General Public License version 3. | |
| 27 | - * | |
| 28 | - * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | - * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | - * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 34 | - * Contributor( s): ______________________________________ | |
| 35 | - * | |
| 36 | - */ | |
| 37 | - | |
| 38 | -require_once(KT_LIB_DIR . '/browse/browseutil.inc.php'); | |
| 39 | -require_once(KT_DIR. '/plugins/rssplugin/rss2array.inc.php'); | |
| 40 | -require_once(KT_DIR. '/plugins/rssplugin/KTrss.inc.php'); | |
| 41 | - | |
| 42 | -class RSSDedicatedDashlet extends KTBaseDashlet { | |
| 43 | - var $oUser; | |
| 44 | - | |
| 45 | - function RSSDedicatedDashlet(){ | |
| 46 | - $oKTConfig =& KTConfig::getSingleton(); | |
| 47 | - | |
| 48 | - $sTitle = $oKTConfig->get('urls/dedicatedrsstitle', 'RSS'); | |
| 49 | - $this->sTitle = $sTitle; | |
| 50 | - } | |
| 51 | - | |
| 52 | - function is_active($oUser) { | |
| 53 | - $this->oUser = $oUser; | |
| 54 | - return true; | |
| 55 | - } | |
| 56 | - | |
| 57 | - function render() { | |
| 58 | - global $main; | |
| 59 | - $main->requireJSResource("plugins/rssplugin/js/update.js"); | |
| 60 | - | |
| 61 | - $oTemplating =& KTTemplating::getSingleton(); | |
| 62 | - $oTemplate = $oTemplating->loadTemplate('RSSPlugin/dedicated_dashlet'); | |
| 63 | - | |
| 64 | - $iUId = $this->oUser->getId(); | |
| 65 | - $oKTConfig =& KTConfig::getSingleton(); | |
| 66 | - | |
| 67 | - $sUrl = $oKTConfig->get('urls/dedicatedrssurl', ''); | |
| 68 | - | |
| 69 | - // Prepare template data | |
| 70 | - $aTemplateData = array( | |
| 71 | - 'context' => $this, | |
| 72 | - 'url' => $sUrl, | |
| 73 | - 'user' => $iUId, | |
| 74 | - ); | |
| 75 | - | |
| 76 | - return $oTemplate->render($aTemplateData); | |
| 77 | - } | |
| 78 | -} | |
| 79 | -?> | |
| 1 | +<?php | |
| 2 | +/* | |
| 3 | + * $Id: RSSDashlet.php 7481 2007-10-23 09:47:11Z kevin_fourie $ | |
| 4 | + * | |
| 5 | + * KnowledgeTree Open Source Edition | |
| 6 | + * Document Management Made Simple | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify it under | |
| 10 | + * the terms of the GNU General Public License version 3 as published by the | |
| 11 | + * Free Software Foundation. | |
| 12 | + * | |
| 13 | + * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | + * details. | |
| 17 | + * | |
| 18 | + * You should have received a copy of the GNU General Public License | |
| 19 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | + * | |
| 21 | + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | + * | |
| 24 | + * The interactive user interfaces in modified source and object code versions | |
| 25 | + * of this program must display Appropriate Legal Notices, as required under | |
| 26 | + * Section 5 of the GNU General Public License version 3. | |
| 27 | + * | |
| 28 | + * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | + * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | + * Contributor( s): ______________________________________ | |
| 35 | + * | |
| 36 | + */ | |
| 37 | + | |
| 38 | +require_once(KT_LIB_DIR . '/browse/browseutil.inc.php'); | |
| 39 | +require_once(KT_DIR. '/plugins/rssplugin/rss2array.inc.php'); | |
| 40 | +require_once(KT_DIR. '/plugins/rssplugin/KTrss.inc.php'); | |
| 41 | + | |
| 42 | +class RSSDedicatedDashlet extends KTBaseDashlet { | |
| 43 | + var $oUser; | |
| 44 | + | |
| 45 | + function RSSDedicatedDashlet(){ | |
| 46 | + $oKTConfig =& KTConfig::getSingleton(); | |
| 47 | + | |
| 48 | + $sTitle = $oKTConfig->get('urls/dedicatedrsstitle', 'RSS'); | |
| 49 | + $this->sTitle = $sTitle; | |
| 50 | + } | |
| 51 | + | |
| 52 | + function is_active($oUser) { | |
| 53 | + $this->oUser = $oUser; | |
| 54 | + return true; | |
| 55 | + } | |
| 56 | + | |
| 57 | + function render() { | |
| 58 | + global $main; | |
| 59 | + $main->requireJSResource("plugins/rssplugin/js/update.js"); | |
| 60 | + | |
| 61 | + $oTemplating =& KTTemplating::getSingleton(); | |
| 62 | + $oTemplate = $oTemplating->loadTemplate('RSSPlugin/dedicated_dashlet'); | |
| 63 | + | |
| 64 | + $iUId = $this->oUser->getId(); | |
| 65 | + $oKTConfig =& KTConfig::getSingleton(); | |
| 66 | + | |
| 67 | + $sUrl = $oKTConfig->get('urls/dedicatedrssurl', ''); | |
| 68 | + | |
| 69 | + // Prepare template data | |
| 70 | + $aTemplateData = array( | |
| 71 | + 'context' => $this, | |
| 72 | + 'url' => $sUrl, | |
| 73 | + 'user' => $iUId, | |
| 74 | + ); | |
| 75 | + | |
| 76 | + return $oTemplate->render($aTemplateData); | |
| 77 | + } | |
| 78 | +} | |
| 79 | +?> | ... | ... |
plugins/rssplugin/RSSDocumentLinkAction.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/RSSFolderLinkAction.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/RSSPlugin.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/loadDedicatedFeed.inc.php
| 1 | -<?php | |
| 2 | -/* | |
| 3 | - * $Id: loadFeed.inc.php 7481 2007-10-23 09:47:11Z kevin_fourie $ | |
| 4 | - * | |
| 5 | - * KnowledgeTree Open Source Edition | |
| 6 | - * Document Management Made Simple | |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 9 | - * This program is free software; you can redistribute it and/or modify it under | |
| 10 | - * the terms of the GNU General Public License version 3 as published by the | |
| 11 | - * Free Software Foundation. | |
| 12 | - * | |
| 13 | - * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | - * details. | |
| 17 | - * | |
| 18 | - * You should have received a copy of the GNU General Public License | |
| 19 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | - * | |
| 21 | - * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | - * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | - * | |
| 24 | - * The interactive user interfaces in modified source and object code versions | |
| 25 | - * of this program must display Appropriate Legal Notices, as required under | |
| 26 | - * Section 5 of the GNU General Public License version 3. | |
| 27 | - * | |
| 28 | - * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | - * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | - * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 34 | - * Contributor( s): ______________________________________ | |
| 35 | - * | |
| 36 | - */ | |
| 37 | - require_once('../../config/dmsDefaults.php'); | |
| 38 | - require_once(KT_DIR. '/plugins/rssplugin/rss2array.inc.php'); | |
| 39 | - require_once(KT_DIR. '/plugins/rssplugin/KTrss.inc.php'); | |
| 40 | - | |
| 41 | - $feed = $_GET["feed"]; | |
| 42 | - $user = $_GET["user"]; | |
| 43 | - session_start(); | |
| 44 | - | |
| 45 | - $sCache = _checkCache($feed); | |
| 46 | - | |
| 47 | - if(!is_null($sCache)) { | |
| 48 | - $aRSSArray = $sCache; | |
| 49 | - }else{ | |
| 50 | - $aRSSArray = rss2array($feed); | |
| 51 | - $_SESSION['kt_dedicated_rss'][$feed]['lastcheck'] = time(); | |
| 52 | - $_SESSION['kt_dedicated_rss'][$feed] = $aRSSArray; | |
| 53 | - } | |
| 54 | - // Prepare response data to be passed back to page | |
| 55 | - $reposonse = "<h3>".$aRSSArray[channel][title]."</h3>" . | |
| 56 | - "<div class='outerContainer' id='outerContainer'>" . | |
| 57 | - "<table width='90%'>"; | |
| 58 | - for($i=0;$i<count($aRSSArray[items]);$i++){ | |
| 59 | - $reposonse .= "<tr> | |
| 60 | - <td colspan='2'><strong><a href='".$aRSSArray[items][$i][link]."' target='_blank'>".$aRSSArray[items][$i][title]."</a><strong></td> | |
| 61 | - </tr> | |
| 62 | - <tr> | |
| 63 | - <td>".$aRSSArray[items][$i][description]."</td> | |
| 64 | - </tr> | |
| 65 | - <tr><td colspan='2'><br></td></tr>"; | |
| 66 | - } | |
| 67 | - $reposonse .= "</table></div><br>"; | |
| 68 | - | |
| 69 | - echo $reposonse; | |
| 70 | - | |
| 71 | - function _checkCache($feed) { | |
| 72 | - session_start(); | |
| 73 | - $iLastCheck = $_SESSION['kt_dedicated_rss'][$feed]['lastcheck']; | |
| 74 | - | |
| 75 | - if (empty($iLastCheck)) { | |
| 76 | - return; | |
| 77 | - } | |
| 78 | - $sStoredFeed = $_SESSION['kt_dedicated_rss'][$feed]; | |
| 79 | - if (empty($sStoredFeed)) { | |
| 80 | - $now = time(); | |
| 81 | - $diff = $now - $iLastCheck; | |
| 82 | - if ($diff > (5*60)) { | |
| 83 | - return; | |
| 84 | - } | |
| 85 | - } | |
| 86 | - $now = time(); | |
| 87 | - $diff = $now - $iLastCheck; | |
| 88 | - if ($diff > (5*60)) { | |
| 89 | - return; | |
| 90 | - } | |
| 91 | - return $sStoredFeed; | |
| 92 | -} | |
| 93 | -?> | |
| 1 | +<?php | |
| 2 | +/* | |
| 3 | + * $Id: loadFeed.inc.php 7481 2007-10-23 09:47:11Z kevin_fourie $ | |
| 4 | + * | |
| 5 | + * KnowledgeTree Open Source Edition | |
| 6 | + * Document Management Made Simple | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify it under | |
| 10 | + * the terms of the GNU General Public License version 3 as published by the | |
| 11 | + * Free Software Foundation. | |
| 12 | + * | |
| 13 | + * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | + * details. | |
| 17 | + * | |
| 18 | + * You should have received a copy of the GNU General Public License | |
| 19 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | + * | |
| 21 | + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | + * | |
| 24 | + * The interactive user interfaces in modified source and object code versions | |
| 25 | + * of this program must display Appropriate Legal Notices, as required under | |
| 26 | + * Section 5 of the GNU General Public License version 3. | |
| 27 | + * | |
| 28 | + * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | + * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | + * Contributor( s): ______________________________________ | |
| 35 | + * | |
| 36 | + */ | |
| 37 | + require_once('../../config/dmsDefaults.php'); | |
| 38 | + require_once(KT_DIR. '/plugins/rssplugin/rss2array.inc.php'); | |
| 39 | + require_once(KT_DIR. '/plugins/rssplugin/KTrss.inc.php'); | |
| 40 | + | |
| 41 | + $feed = $_GET["feed"]; | |
| 42 | + $user = $_GET["user"]; | |
| 43 | + session_start(); | |
| 44 | + | |
| 45 | + $sCache = _checkCache($feed); | |
| 46 | + | |
| 47 | + if(!is_null($sCache)) { | |
| 48 | + $aRSSArray = $sCache; | |
| 49 | + }else{ | |
| 50 | + $aRSSArray = rss2array($feed); | |
| 51 | + $_SESSION['kt_dedicated_rss'][$feed]['lastcheck'] = time(); | |
| 52 | + $_SESSION['kt_dedicated_rss'][$feed] = $aRSSArray; | |
| 53 | + } | |
| 54 | + // Prepare response data to be passed back to page | |
| 55 | + $reposonse = "<h3>".$aRSSArray[channel][title]."</h3>" . | |
| 56 | + "<div class='outerContainer' id='outerContainer'>" . | |
| 57 | + "<table width='90%'>"; | |
| 58 | + for($i=0;$i<count($aRSSArray[items]);$i++){ | |
| 59 | + $reposonse .= "<tr> | |
| 60 | + <td colspan='2'><strong><a href='".$aRSSArray[items][$i][link]."' target='_blank'>".$aRSSArray[items][$i][title]."</a><strong></td> | |
| 61 | + </tr> | |
| 62 | + <tr> | |
| 63 | + <td>".$aRSSArray[items][$i][description]."</td> | |
| 64 | + </tr> | |
| 65 | + <tr><td colspan='2'><br></td></tr>"; | |
| 66 | + } | |
| 67 | + $reposonse .= "</table></div><br>"; | |
| 68 | + | |
| 69 | + echo $reposonse; | |
| 70 | + | |
| 71 | + function _checkCache($feed) { | |
| 72 | + session_start(); | |
| 73 | + $iLastCheck = $_SESSION['kt_dedicated_rss'][$feed]['lastcheck']; | |
| 74 | + | |
| 75 | + if (empty($iLastCheck)) { | |
| 76 | + return; | |
| 77 | + } | |
| 78 | + $sStoredFeed = $_SESSION['kt_dedicated_rss'][$feed]; | |
| 79 | + if (empty($sStoredFeed)) { | |
| 80 | + $now = time(); | |
| 81 | + $diff = $now - $iLastCheck; | |
| 82 | + if ($diff > (5*60)) { | |
| 83 | + return; | |
| 84 | + } | |
| 85 | + } | |
| 86 | + $now = time(); | |
| 87 | + $diff = $now - $iLastCheck; | |
| 88 | + if ($diff > (5*60)) { | |
| 89 | + return; | |
| 90 | + } | |
| 91 | + return $sStoredFeed; | |
| 92 | +} | |
| 93 | +?> | ... | ... |
plugins/rssplugin/loadFeed.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/manageRSSFeeds.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/rssplugin/rss2array.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/search2/ExternalDashlet.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/search2/IndexingStatusDashlet.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/search2/LuceneStatisticsDashlet.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/search2/MigrationDashlet.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/tagcloud/TagCloudDashlet.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/tagcloud/TagCloudPlugin.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/tagcloud/TagCloudRedirectPage.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
plugins/tagcloud/TagCloudTriggers.php
| 1 | -<?php | |
| 2 | -/* | |
| 3 | - * $Id: $ | |
| 4 | - * | |
| 5 | - * KnowledgeTree Open Source Edition | |
| 6 | - * Document Management Made Simple | |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | - * | |
| 9 | - * This program is free software; you can redistribute it and/or modify it under | |
| 10 | - * the terms of the GNU General Public License version 3 as published by the | |
| 11 | - * Free Software Foundation. | |
| 12 | - * | |
| 13 | - * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | - * details. | |
| 17 | - * | |
| 18 | - * You should have received a copy of the GNU General Public License | |
| 19 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | - * | |
| 21 | - * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | - * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | - * | |
| 24 | - * The interactive user interfaces in modified source and object code versions | |
| 25 | - * of this program must display Appropriate Legal Notices, as required under | |
| 26 | - * Section 5 of the GNU General Public License version 3. | |
| 27 | - * | |
| 28 | - * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | - * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | - * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | - * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | - * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | - * copyright notice. | |
| 34 | - * Contributor( s): ______________________________________ | |
| 35 | - * | |
| 36 | - */ | |
| 37 | -/** | |
| 38 | - * Trigger for document add (postValidate) | |
| 39 | - * | |
| 40 | - */ | |
| 41 | -class KTAddDocumentTrigger { | |
| 42 | - var $aInfo = null; | |
| 43 | - /** | |
| 44 | - * function to set the info for the trigger | |
| 45 | - * | |
| 46 | - * @param array $aInfo | |
| 47 | - */ | |
| 48 | - function setInfo(&$aInfo) { | |
| 49 | - $this->aInfo =& $aInfo; | |
| 50 | - } | |
| 51 | - | |
| 52 | - /** | |
| 53 | - * postValidate method for trigger | |
| 54 | - * | |
| 55 | - * @return unknown | |
| 56 | - */ | |
| 57 | - function postValidate() { | |
| 58 | - global $default; | |
| 59 | - $oDocument =& $this->aInfo['document']; | |
| 60 | - $aMeta = & $this->aInfo['aOptions']; | |
| 61 | - | |
| 62 | - $iDocId = $oDocument->getID(); | |
| 63 | - | |
| 64 | - // get tag id from document_fields table where name = Tag | |
| 65 | - $sQuery = 'SELECT df.id AS id FROM document_fields AS df ' . | |
| 66 | - 'WHERE df.name = \'Tag\''; | |
| 67 | - | |
| 68 | - $sTags = DBUtil::getOneResultKey(array($sQuery), 'id'); | |
| 69 | - if (PEAR::isError($sTags)) { | |
| 70 | - // XXX: log error | |
| 71 | - return false; | |
| 72 | - } | |
| 73 | - $tagString = ''; | |
| 74 | - // add tags | |
| 75 | - if ($sTags) { | |
| 76 | - if (count($aMeta['metadata']) > 0) | |
| 77 | - { | |
| 78 | - foreach($aMeta['metadata'] as $aMetaData) | |
| 79 | - { | |
| 80 | - | |
| 81 | - $oProxy = $aMetaData[0]; | |
| 82 | - if($oProxy->iId == $sTags) | |
| 83 | - { | |
| 84 | - $tagString = $aMetaData[1]; | |
| 85 | - } | |
| 86 | - } | |
| 87 | - } | |
| 88 | - if($tagString != ''){ | |
| 89 | - $words_table = KTUtil::getTableName('tag_words'); | |
| 90 | - $tagString = str_replace(' ', '', $tagString); | |
| 91 | - $tags = explode(',',$tagString); | |
| 92 | - | |
| 93 | - $aTagIds = array(); | |
| 94 | - | |
| 95 | - foreach($tags as $sTag) | |
| 96 | - { | |
| 97 | - $sTag=strtolower(trim($sTag)); | |
| 98 | - | |
| 99 | - $res = DBUtil::getOneResult(array("SELECT id FROM $words_table WHERE tag = ?", array($sTag))); | |
| 100 | - | |
| 101 | - if (PEAR::isError($res)) { | |
| 102 | - return $res; | |
| 103 | - } | |
| 104 | - | |
| 105 | - if (is_null($res)) | |
| 106 | - { | |
| 107 | - $id = & DBUtil::autoInsert($words_table, array('tag'=>$sTag)); | |
| 108 | - $aTagIds[$sTag] = $id; | |
| 109 | - } | |
| 110 | - else | |
| 111 | - { | |
| 112 | - $aTagIds[$sTag] = $res['id']; | |
| 113 | - } | |
| 114 | - } | |
| 115 | - | |
| 116 | - $doc_tags = KTUtil::getTableName('document_tags'); | |
| 117 | - | |
| 118 | - foreach($aTagIds as $sTag=>$tagid) | |
| 119 | - { | |
| 120 | - DBUtil::autoInsert($doc_tags, array( | |
| 121 | - | |
| 122 | - 'document_id'=>$iDocId, | |
| 123 | - 'tag_id'=>$tagid), | |
| 124 | - array('noid'=>true)); | |
| 125 | - } | |
| 126 | - } | |
| 127 | - } | |
| 128 | - } | |
| 129 | -} | |
| 130 | - | |
| 131 | - | |
| 132 | -/** | |
| 133 | - * Trigger for document edit (postValidate) | |
| 134 | - * | |
| 135 | - */ | |
| 136 | -class KTEditDocumentTrigger { | |
| 137 | - var $aInfo = null; | |
| 138 | - /** | |
| 139 | - * function to set the info for the trigger | |
| 140 | - * | |
| 141 | - * @param array $aInfo | |
| 142 | - */ | |
| 143 | - function setInfo(&$aInfo) { | |
| 144 | - $this->aInfo =& $aInfo; | |
| 145 | - } | |
| 146 | - | |
| 147 | - /** | |
| 148 | - * postValidate method for trigger | |
| 149 | - * | |
| 150 | - * @return unknown | |
| 151 | - */ | |
| 152 | - function postValidate() { | |
| 153 | - global $default; | |
| 154 | - $oDocument =& $this->aInfo['document']; | |
| 155 | - $aMeta = & $this->aInfo['aOptions']; | |
| 156 | - // get document id | |
| 157 | - $iDocId = $oDocument->getID(); | |
| 158 | - | |
| 159 | - // get all tags that are linked to the document | |
| 160 | - $sQuery = 'SELECT tw.id FROM tag_words AS tw, document_tags AS dt, documents AS d ' . | |
| 161 | - 'WHERE dt.tag_id = tw.id ' . | |
| 162 | - 'AND dt.document_id = d.id ' . | |
| 163 | - 'AND d.id = ?'; | |
| 164 | - $aParams = array($iDocId); | |
| 165 | - $aTagId = DBUtil::getResultArray(array($sQuery, $aParams)); | |
| 166 | - if (PEAR::isError($aTagId)) { | |
| 167 | - // XXX: log error | |
| 168 | - return false; | |
| 169 | - } | |
| 170 | - // if there are any related tags proceed | |
| 171 | - if ($aTagId) { | |
| 172 | - // delete all entries from document_tags table for the document | |
| 173 | - $sQuery = 'DELETE FROM document_tags ' . | |
| 174 | - 'WHERE document_id = ?'; | |
| 175 | - $aParams = array($iDocId); | |
| 176 | - $removed = DBUtil::runQuery(array($sQuery, $aParams)); | |
| 177 | - if (PEAR::isError($removed)) { | |
| 178 | - // XXX: log error | |
| 179 | - return false; | |
| 180 | - } | |
| 181 | - } | |
| 182 | - // proceed to add the tags as per normaly | |
| 183 | - $sQuery = 'SELECT df.id AS id FROM document_fields AS df ' . | |
| 184 | - 'WHERE df.name = \'Tag\''; | |
| 185 | - | |
| 186 | - $sTags = DBUtil::getOneResultKey(array($sQuery), 'id'); | |
| 187 | - if (PEAR::isError($sTags)) { | |
| 188 | - // XXX: log error | |
| 189 | - return false; | |
| 190 | - } | |
| 191 | - $tagString = ''; | |
| 192 | - if ($sTags) { | |
| 193 | - // it is actually correct using $aMeta. It is different to the add trigger above... | |
| 194 | - if (count($aMeta) > 0) | |
| 195 | - { | |
| 196 | - foreach($aMeta as $aMetaData) | |
| 197 | - { | |
| 198 | - $oProxy = $aMetaData[0]; | |
| 199 | - if($oProxy->iId == $sTags) | |
| 200 | - { | |
| 201 | - $tagString = $aMetaData[1]; | |
| 202 | - break; | |
| 203 | - } | |
| 204 | - } | |
| 205 | - } | |
| 206 | - if($tagString != ''){ | |
| 207 | - $words_table = KTUtil::getTableName('tag_words'); | |
| 208 | - $tagString = str_replace(' ', ' ', $tagString); | |
| 209 | - $tags = explode(',',$tagString); | |
| 210 | - | |
| 211 | - $aTagIds = array(); | |
| 212 | - | |
| 213 | - foreach($tags as $sTag) | |
| 214 | - { | |
| 215 | - $sTag=strtolower(trim($sTag)); | |
| 216 | - | |
| 217 | - $res = DBUtil::getOneResult(array("SELECT id FROM $words_table WHERE tag = ?", array($sTag))); | |
| 218 | - | |
| 219 | - if (PEAR::isError($res)) { | |
| 220 | - return $res; | |
| 221 | - } | |
| 222 | - | |
| 223 | - if (is_null($res)) | |
| 224 | - { | |
| 225 | - $id = & DBUtil::autoInsert($words_table, array('tag'=>$sTag)); | |
| 226 | - $aTagIds[$sTag] = $id; | |
| 227 | - } | |
| 228 | - else | |
| 229 | - { | |
| 230 | - $aTagIds[$sTag] = $res['id']; | |
| 231 | - } | |
| 232 | - } | |
| 233 | - | |
| 234 | - $doc_tags = KTUtil::getTableName('document_tags'); | |
| 235 | - | |
| 236 | - foreach($aTagIds as $sTag=>$tagid) | |
| 237 | - { | |
| 238 | - DBUtil::autoInsert($doc_tags, array( | |
| 239 | - 'document_id'=>$iDocId, | |
| 240 | - 'tag_id'=>$tagid), | |
| 241 | - array('noid'=>true)); | |
| 242 | - } | |
| 243 | - } | |
| 244 | - } | |
| 245 | - } | |
| 246 | -} | |
| 1 | +<?php | |
| 2 | +/* | |
| 3 | + * $Id: $ | |
| 4 | + * | |
| 5 | + * KnowledgeTree Open Source Edition | |
| 6 | + * Document Management Made Simple | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * | |
| 9 | + * This program is free software; you can redistribute it and/or modify it under | |
| 10 | + * the terms of the GNU General Public License version 3 as published by the | |
| 11 | + * Free Software Foundation. | |
| 12 | + * | |
| 13 | + * This program is distributed in the hope that it will be useful, but WITHOUT | |
| 14 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | |
| 15 | + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | |
| 16 | + * details. | |
| 17 | + * | |
| 18 | + * You should have received a copy of the GNU General Public License | |
| 19 | + * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 20 | + * | |
| 21 | + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, | |
| 22 | + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. | |
| 23 | + * | |
| 24 | + * The interactive user interfaces in modified source and object code versions | |
| 25 | + * of this program must display Appropriate Legal Notices, as required under | |
| 26 | + * Section 5 of the GNU General Public License version 3. | |
| 27 | + * | |
| 28 | + * In accordance with Section 7(b) of the GNU General Public License version 3, | |
| 29 | + * these Appropriate Legal Notices must retain the display of the "Powered by | |
| 30 | + * KnowledgeTree" logo and retain the original copyright notice. If the display of the | |
| 31 | + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | |
| 32 | + * must display the words "Powered by KnowledgeTree" and retain the original | |
| 33 | + * copyright notice. | |
| 34 | + * Contributor( s): ______________________________________ | |
| 35 | + * | |
| 36 | + */ | |
| 37 | +/** | |
| 38 | + * Trigger for document add (postValidate) | |
| 39 | + * | |
| 40 | + */ | |
| 41 | +class KTAddDocumentTrigger { | |
| 42 | + var $aInfo = null; | |
| 43 | + /** | |
| 44 | + * function to set the info for the trigger | |
| 45 | + * | |
| 46 | + * @param array $aInfo | |
| 47 | + */ | |
| 48 | + function setInfo(&$aInfo) { | |
| 49 | + $this->aInfo =& $aInfo; | |
| 50 | + } | |
| 51 | + | |
| 52 | + /** | |
| 53 | + * postValidate method for trigger | |
| 54 | + * | |
| 55 | + * @return unknown | |
| 56 | + */ | |
| 57 | + function postValidate() { | |
| 58 | + global $default; | |
| 59 | + $oDocument =& $this->aInfo['document']; | |
| 60 | + $aMeta = & $this->aInfo['aOptions']; | |
| 61 | + | |
| 62 | + $iDocId = $oDocument->getID(); | |
| 63 | + | |
| 64 | + // get tag id from document_fields table where name = Tag | |
| 65 | + $sQuery = 'SELECT df.id AS id FROM document_fields AS df ' . | |
| 66 | + 'WHERE df.name = \'Tag\''; | |
| 67 | + | |
| 68 | + $sTags = DBUtil::getOneResultKey(array($sQuery), 'id'); | |
| 69 | + if (PEAR::isError($sTags)) { | |
| 70 | + // XXX: log error | |
| 71 | + return false; | |
| 72 | + } | |
| 73 | + $tagString = ''; | |
| 74 | + // add tags | |
| 75 | + if ($sTags) { | |
| 76 | + if (count($aMeta['metadata']) > 0) | |
| 77 | + { | |
| 78 | + foreach($aMeta['metadata'] as $aMetaData) | |
| 79 | + { | |
| 80 | + | |
| 81 | + $oProxy = $aMetaData[0]; | |
| 82 | + if($oProxy->iId == $sTags) | |
| 83 | + { | |
| 84 | + $tagString = $aMetaData[1]; | |
| 85 | + } | |
| 86 | + } | |
| 87 | + } | |
| 88 | + if($tagString != ''){ | |
| 89 | + $words_table = KTUtil::getTableName('tag_words'); | |
| 90 | + $tagString = str_replace(' ', '', $tagString); | |
| 91 | + $tags = explode(',',$tagString); | |
| 92 | + | |
| 93 | + $aTagIds = array(); | |
| 94 | + | |
| 95 | + foreach($tags as $sTag) | |
| 96 | + { | |
| 97 | + $sTag=strtolower(trim($sTag)); | |
| 98 | + | |
| 99 | + $res = DBUtil::getOneResult(array("SELECT id FROM $words_table WHERE tag = ?", array($sTag))); | |
| 100 | + | |
| 101 | + if (PEAR::isError($res)) { | |
| 102 | + return $res; | |
| 103 | + } | |
| 104 | + | |
| 105 | + if (is_null($res)) | |
| 106 | + { | |
| 107 | + $id = & DBUtil::autoInsert($words_table, array('tag'=>$sTag)); | |
| 108 | + $aTagIds[$sTag] = $id; | |
| 109 | + } | |
| 110 | + else | |
| 111 | + { | |
| 112 | + $aTagIds[$sTag] = $res['id']; | |
| 113 | + } | |
| 114 | + } | |
| 115 | + | |
| 116 | + $doc_tags = KTUtil::getTableName('document_tags'); | |
| 117 | + | |
| 118 | + foreach($aTagIds as $sTag=>$tagid) | |
| 119 | + { | |
| 120 | + DBUtil::autoInsert($doc_tags, array( | |
| 121 | + | |
| 122 | + 'document_id'=>$iDocId, | |
| 123 | + 'tag_id'=>$tagid), | |
| 124 | + array('noid'=>true)); | |
| 125 | + } | |
| 126 | + } | |
| 127 | + } | |
| 128 | + } | |
| 129 | +} | |
| 130 | + | |
| 131 | + | |
| 132 | +/** | |
| 133 | + * Trigger for document edit (postValidate) | |
| 134 | + * | |
| 135 | + */ | |
| 136 | +class KTEditDocumentTrigger { | |
| 137 | + var $aInfo = null; | |
| 138 | + /** | |
| 139 | + * function to set the info for the trigger | |
| 140 | + * | |
| 141 | + * @param array $aInfo | |
| 142 | + */ | |
| 143 | + function setInfo(&$aInfo) { | |
| 144 | + $this->aInfo =& $aInfo; | |
| 145 | + } | |
| 146 | + | |
| 147 | + /** | |
| 148 | + * postValidate method for trigger | |
| 149 | + * | |
| 150 | + * @return unknown | |
| 151 | + */ | |
| 152 | + function postValidate() { | |
| 153 | + global $default; | |
| 154 | + $oDocument =& $this->aInfo['document']; | |
| 155 | + $aMeta = & $this->aInfo['aOptions']; | |
| 156 | + // get document id | |
| 157 | + $iDocId = $oDocument->getID(); | |
| 158 | + | |
| 159 | + // get all tags that are linked to the document | |
| 160 | + $sQuery = 'SELECT tw.id FROM tag_words AS tw, document_tags AS dt, documents AS d ' . | |
| 161 | + 'WHERE dt.tag_id = tw.id ' . | |
| 162 | + 'AND dt.document_id = d.id ' . | |
| 163 | + 'AND d.id = ?'; | |
| 164 | + $aParams = array($iDocId); | |
| 165 | + $aTagId = DBUtil::getResultArray(array($sQuery, $aParams)); | |
| 166 | + if (PEAR::isError($aTagId)) { | |
| 167 | + // XXX: log error | |
| 168 | + return false; | |
| 169 | + } | |
| 170 | + // if there are any related tags proceed | |
| 171 | + if ($aTagId) { | |
| 172 | + // delete all entries from document_tags table for the document | |
| 173 | + $sQuery = 'DELETE FROM document_tags ' . | |
| 174 | + 'WHERE document_id = ?'; | |
| 175 | + $aParams = array($iDocId); | |
| 176 | + $removed = DBUtil::runQuery(array($sQuery, $aParams)); | |
| 177 | + if (PEAR::isError($removed)) { | |
| 178 | + // XXX: log error | |
| 179 | + return false; | |
| 180 | + } | |
| 181 | + } | |
| 182 | + // proceed to add the tags as per normaly | |
| 183 | + $sQuery = 'SELECT df.id AS id FROM document_fields AS df ' . | |
| 184 | + 'WHERE df.name = \'Tag\''; | |
| 185 | + | |
| 186 | + $sTags = DBUtil::getOneResultKey(array($sQuery), 'id'); | |
| 187 | + if (PEAR::isError($sTags)) { | |
| 188 | + // XXX: log error | |
| 189 | + return false; | |
| 190 | + } | |
| 191 | + $tagString = ''; | |
| 192 | + if ($sTags) { | |
| 193 | + // it is actually correct using $aMeta. It is different to the add trigger above... | |
| 194 | + if (count($aMeta) > 0) | |
| 195 | + { | |
| 196 | + foreach($aMeta as $aMetaData) | |
| 197 | + { | |
| 198 | + $oProxy = $aMetaData[0]; | |
| 199 | + if($oProxy->iId == $sTags) | |
| 200 | + { | |
| 201 | + $tagString = $aMetaData[1]; | |
| 202 | + break; | |
| 203 | + } | |
| 204 | + } | |
| 205 | + } | |
| 206 | + if($tagString != ''){ | |
| 207 | + $words_table = KTUtil::getTableName('tag_words'); | |
| 208 | + $tagString = str_replace(' ', ' ', $tagString); | |
| 209 | + $tags = explode(',',$tagString); | |
| 210 | + | |
| 211 | + $aTagIds = array(); | |
| 212 | + | |
| 213 | + foreach($tags as $sTag) | |
| 214 | + { | |
| 215 | + $sTag=strtolower(trim($sTag)); | |
| 216 | + | |
| 217 | + $res = DBUtil::getOneResult(array("SELECT id FROM $words_table WHERE tag = ?", array($sTag))); | |
| 218 | + | |
| 219 | + if (PEAR::isError($res)) { | |
| 220 | + return $res; | |
| 221 | + } | |
| 222 | + | |
| 223 | + if (is_null($res)) | |
| 224 | + { | |
| 225 | + $id = & DBUtil::autoInsert($words_table, array('tag'=>$sTag)); | |
| 226 | + $aTagIds[$sTag] = $id; | |
| 227 | + } | |
| 228 | + else | |
| 229 | + { | |
| 230 | + $aTagIds[$sTag] = $res['id']; | |
| 231 | + } | |
| 232 | + } | |
| 233 | + | |
| 234 | + $doc_tags = KTUtil::getTableName('document_tags'); | |
| 235 | + | |
| 236 | + foreach($aTagIds as $sTag=>$tagid) | |
| 237 | + { | |
| 238 | + DBUtil::autoInsert($doc_tags, array( | |
| 239 | + 'document_id'=>$iDocId, | |
| 240 | + 'tag_id'=>$tagid), | |
| 241 | + array('noid'=>true)); | |
| 242 | + } | |
| 243 | + } | |
| 244 | + } | |
| 245 | + } | |
| 246 | +} | |
| 247 | 247 | ?> |
| 248 | 248 | \ No newline at end of file | ... | ... |
preferences.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/i18nJavascript.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/logout.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/lookAndFeel/knowledgeTree/ajaxConditional.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/lookAndFeel/knowledgeTree/documentmanagement/getTypeMetadataFields.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/lookAndFeel/knowledgeTree/help.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
presentation/lookAndFeel/knowledgeTree/noAccess.php
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | * |
| 7 | 7 | * KnowledgeTree Open Source Edition |
| 8 | 8 | * Document Management Made Simple |
| 9 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 9 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 10 | 10 | * |
| 11 | 11 | * This program is free software; you can redistribute it and/or modify it under |
| 12 | 12 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
resources/css/kt-framing.css
| ... | ... | @@ -553,8 +553,10 @@ a.main_nav_item { |
| 553 | 553 | top: 0; |
| 554 | 554 | z-index: 1; |
| 555 | 555 | width:auto; |
| 556 | - padding: 0 2em 1em 0; | |
| 557 | - overflow: auto; | |
| 556 | + /*padding: 0 2em 1em 0; | |
| 557 | + overflow: auto;*/ | |
| 558 | + padding: 0.25em 2em 0em 0em; | |
| 559 | + overflow: hidden; | |
| 558 | 560 | min-height: 600px; |
| 559 | 561 | } |
| 560 | 562 | ... | ... |
resources/js/conditional_selection.js
0 โ 100755
| 1 | +// 'lookups' and 'connections' are produced by the master conditional widget | |
| 2 | +var NOSELECTION = 'No selection.'; | |
| 3 | + | |
| 4 | +function ConditionalSelection() { | |
| 5 | +} | |
| 6 | + | |
| 7 | +function in_array(a, val) { | |
| 8 | + if(!a.length) { | |
| 9 | + return; | |
| 10 | + } | |
| 11 | + for(var i=0;i<a.length;i++) { | |
| 12 | + if(a[i] == val) { | |
| 13 | + return true; | |
| 14 | + } | |
| 15 | + } | |
| 16 | + return false; | |
| 17 | +} | |
| 18 | + | |
| 19 | +function getId(elm) { | |
| 20 | + if(elm.id.search('field_') != -1) { | |
| 21 | + return elm.id.substring('field_'.length); | |
| 22 | + } else if(elm.id.search('lookup_') != -1) { | |
| 23 | + return elm.id.substring('lookup_'.length); | |
| 24 | + } | |
| 25 | + return false; | |
| 26 | +} | |
| 27 | + | |
| 28 | +ConditionalSelection.prototype = { | |
| 29 | + 'initialize' : function(masterId) { | |
| 30 | + // make clones of the original nodes to keep the options in | |
| 31 | + var fieldLookups = {}; | |
| 32 | + var current = {}; | |
| 33 | + var lookups = eval('lookups_' + masterId); | |
| 34 | + var connections = eval('connections_' + masterId); | |
| 35 | + | |
| 36 | + // initialize - build various tables | |
| 37 | + forEach(getElementsByTagAndClassName(null, 'is_conditional_' + masterId), | |
| 38 | + function(elm) { | |
| 39 | + var fieldId = getId(elm); | |
| 40 | + for(var i=0; i<elm.options.length; i++) { | |
| 41 | + var oElm = elm.options[i]; | |
| 42 | + var lookupId = oElm.id.substring('lookup_'.length); | |
| 43 | + fieldLookups[lookupId] = {'parent':fieldId, 'value':oElm.innerHTML}; | |
| 44 | + | |
| 45 | + if(oElm.selected && oElm.value) { | |
| 46 | + current[fieldId] = oElm.value; | |
| 47 | + } | |
| 48 | + } | |
| 49 | + }); | |
| 50 | + | |
| 51 | + // the following function are defined inline, as they depend on the | |
| 52 | + // 'lookups' and 'connections' being specified above | |
| 53 | + | |
| 54 | + function clearConnected(fieldId) { | |
| 55 | + if(!fieldId in connections || !connections[fieldId].length) { | |
| 56 | + return; | |
| 57 | + } | |
| 58 | + for(var i=0; i<connections[fieldId].length; i++) { | |
| 59 | + var field = $('field_'+connections[fieldId][i]); | |
| 60 | + replaceChildNodes(field, OPTION(null, NOSELECTION)); | |
| 61 | + field.disabled = true; | |
| 62 | + clearConnected(connections[fieldId][i]); | |
| 63 | + } | |
| 64 | + } | |
| 65 | + | |
| 66 | + | |
| 67 | + function clearInvalid(fieldId) { | |
| 68 | + if(!fieldId in connections || !connections[fieldId].length) { | |
| 69 | + return; | |
| 70 | + } | |
| 71 | + | |
| 72 | + var parentField = $('field_'+fieldId); | |
| 73 | + var selectedId = getId(parentField.options[parentField.selectedIndex]); | |
| 74 | + var options = lookups[selectedId]; | |
| 75 | + | |
| 76 | + if(parentField.options[parentField.selectedIndex].innerHTML == NOSELECTION) { | |
| 77 | + clearConnected(fieldId); | |
| 78 | + } else { | |
| 79 | + for(var i=0; i<connections[fieldId].length; i++) { | |
| 80 | + var field = $('field_'+connections[fieldId][i]); | |
| 81 | + var newOptions = []; | |
| 82 | + var selected = null; | |
| 83 | + | |
| 84 | + for(var j=0; j<field.options.length; j++) { | |
| 85 | + var opt = field.options[j]; | |
| 86 | + if(!(opt.innerHTML != NOSELECTION && !in_array(options, getId(opt)))) { | |
| 87 | + newOptions.push(opt); | |
| 88 | + } | |
| 89 | + | |
| 90 | + if(j == field.selectedIndex && opt.id && in_array(options, getId(opt))) { | |
| 91 | + selected = opt.id; | |
| 92 | + } | |
| 93 | + } | |
| 94 | + | |
| 95 | + field.selectedIndex = 0; | |
| 96 | + replaceChildNodes(field, null); | |
| 97 | + | |
| 98 | + | |
| 99 | + for(var j=0; j<newOptions.length; j++) { | |
| 100 | + var opt = newOptions[j]; | |
| 101 | + appendChildNodes(field, opt); | |
| 102 | + | |
| 103 | + if(selected != null) { | |
| 104 | + if(opt.id && opt.id == selected) { // || j == 0 && field.selectedIndex == 0) { | |
| 105 | + field.selectedIndex = j; | |
| 106 | + } | |
| 107 | + } | |
| 108 | + } | |
| 109 | + | |
| 110 | + if(selected == null) { | |
| 111 | + field.selectedIndex = 0; | |
| 112 | + field.options[0].selected = 'selected'; | |
| 113 | + } | |
| 114 | + | |
| 115 | + | |
| 116 | + clearInvalid(connections[fieldId][i]); | |
| 117 | + } | |
| 118 | + } | |
| 119 | + } | |
| 120 | + | |
| 121 | + // instead of clearing here, we remove the non-applicable options | |
| 122 | + // this should handle the case with existing selections | |
| 123 | + clearInvalid(masterId); | |
| 124 | + | |
| 125 | + | |
| 126 | + function populateForSelection(selectedId) { | |
| 127 | + if(selectedId in lookups) { | |
| 128 | + for(var i=0; i<lookups[selectedId].length; i++) { | |
| 129 | + var lookupId = lookups[selectedId][i]; | |
| 130 | + var lookupInfo = fieldLookups[lookupId]; | |
| 131 | + | |
| 132 | + var parent = $('field_' + lookupInfo['parent']); | |
| 133 | + appendChildNodes(parent, | |
| 134 | + OPTION({'value':lookupInfo['value'], 'id':'lookup_' + lookupId}, | |
| 135 | + lookupInfo['value'])); | |
| 136 | + parent.disabled = false; | |
| 137 | + } | |
| 138 | + } | |
| 139 | + } | |
| 140 | + | |
| 141 | + | |
| 142 | + forEach(getElementsByTagAndClassName(null, 'is_conditional_' + masterId), function(elm) { | |
| 143 | + // check if this field connects to anything else | |
| 144 | + var fieldId = elm.id.substring('field_'.length); | |
| 145 | + if(fieldId in connections && connections[fieldId].length) { | |
| 146 | + var controller = true; | |
| 147 | + } | |
| 148 | + | |
| 149 | + if(controller) { | |
| 150 | + connect(elm, 'onchange', | |
| 151 | + function() { | |
| 152 | + var selectedId = elm.options[elm.selectedIndex].id.substring('lookup_'.length); | |
| 153 | + var touched = []; | |
| 154 | + clearConnected(fieldId); | |
| 155 | + populateForSelection(selectedId); | |
| 156 | + }); | |
| 157 | + } | |
| 158 | + }); | |
| 159 | + } | |
| 160 | +} | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | +addLoadEvent(function() { | |
| 165 | + var masters = getElementsByTagAndClassName('select', 'is_master'); | |
| 166 | + for(var i=0; i<masters.length; i++) { | |
| 167 | + var elm = masters[i]; | |
| 168 | + var masterId = getId(elm); | |
| 169 | + var d = new ConditionalSelection(); | |
| 170 | + d.initialize(masterId); | |
| 171 | + } | |
| 172 | +}); | ... | ... |
rss.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search/ajaxBooleanSearch.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search/booleanSearch.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search/simpleSearch.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/ajax.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/metadata.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/parseExpr.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/saveExpr.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/savedSearches.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/searchFields.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/ajax/treeNodes.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/cronIndexer.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/cronMigration.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/diagnose.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/optimise.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/recreateIndex.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/registerTypes.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/bin/shutdown.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractorCore.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/ExifExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/OOPresentationExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/OOSpreadsheetExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/OOTextExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/PDFExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/PSExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/PlainTextExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/RTFExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/ScriptExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/extractors/XMLExtractor.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/indexerCore.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/indexers/PHPLuceneIndexer.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/indexing/lib/XmlRpcLucene.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/SearchCommandLexer.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/bin/cronSavedSearch.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/bin/search.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/expr.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/exprConstants.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fieldRegistry.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/AnyMetadataField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CheckedOutByField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CheckedOutDeltaField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CheckedOutField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CreatedByField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CreatedDeltaField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/CreatedField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/DiscussionTextField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/DocumentIdField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/DocumentOemNoField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/DocumentTextField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/DocumentTypeField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/FilenameField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/FilesizeField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/FolderField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/FolderFieldID.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/GeneralTextField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/IsCheckedOutField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/IsImmutableField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/MimeTypeField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/ModifiedByField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/ModifiedDeltaField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/ModifiedField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/TagField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/TitleField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/WorkflowField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/WorkflowIDField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/WorkflowStateField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/fields/WorkflowStateIDField.inc.php
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | * |
| 6 | 6 | * KnowledgeTree Open Source Edition |
| 7 | 7 | * Document Management Made Simple |
| 8 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 8 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 9 | 9 | * |
| 10 | 10 | * This program is free software; you can redistribute it and/or modify it under |
| 11 | 11 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
search2/search/search.inc.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
setup/postcheckup.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
setup/precheckup.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
setup/upgrade.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
templates/ktcore/forms/widgets/conditional_selection.smarty
0 โ 100755
| 1 | +{if $master} | |
| 2 | +<script type="text/javascript"> | |
| 3 | +var lookups_{$masterid} = {$lookups}; | |
| 4 | +var connections_{$masterid} = {$connections}; | |
| 5 | +</script> | |
| 6 | +{/if} | |
| 7 | + | |
| 8 | + | |
| 9 | +{if empty($vocab)} | |
| 10 | + <div class="ktInfoMessage"><span>{$context->sEmptyMessage}</span></div> | |
| 11 | +{else} | |
| 12 | + <select name="{$name}" class="is_conditional_{$masterid}{if $master} is_master{/if}" | |
| 13 | + id="field_{$field}" | |
| 14 | + > | |
| 15 | + {if $options.initial_string} | |
| 16 | + <option value="">{$options.initial_string}</option> | |
| 17 | + {/if} | |
| 18 | + {foreach item=lookup key=lookup_key from=$vocab} | |
| 19 | + {if is_array($lookup)} | |
| 20 | + <option value="{$lookup_key}" id="lookup_{$lookup.1}" | |
| 21 | + {if ($value == $lookup_key)} selected="selected"{/if}>{$lookup.0}</option> | |
| 22 | + {else} | |
| 23 | + <option value="{$lookup_key}" | |
| 24 | + {if ($value == $lookup_key)} selected="selected"{/if}>{$lookup}</option> | |
| 25 | + {/if} | |
| 26 | + {/foreach} | |
| 27 | + </select> | |
| 28 | +{/if} | ... | ... |
templates/ktcore/metadata/conditional/conditional_admin_overview.smarty
| ... | ... | @@ -29,30 +29,6 @@ values in the other fields. Only <strong>lookup</strong> fields can be added to |
| 29 | 29 | </p> |
| 30 | 30 | |
| 31 | 31 | |
| 32 | -<p> | |
| 33 | - <a class="ktAction ktEdit ktActionDescribed" href="{addQS context=$context}fieldset_action=renameBehaviours{/addQS}">{i18n}Rename Behaviours{/i18n}</a> | |
| 34 | - <a href="{addQS context=$context}fieldset_action=renameBehaviours{/addQS}">{i18n}Rename Behaviours{/i18n}</a> | |
| 35 | -</p> | |
| 36 | - | |
| 37 | -{if $oFieldset->getIsComplex()} | |
| 38 | -<p>{i18n}The fieldset is currently designated as <strong>Complex</strong>.{/i18n} {i18n}Changing the conditional type set will remove all existing field | |
| 39 | -ordering!{/i18n}</p> | |
| 40 | - | |
| 41 | - | |
| 42 | -<p><a href="{addQS context=$context}fieldset_action=changeToSimple{/addQS}" | |
| 43 | - class="ktAction ktActionDescribed ktEdit">{i18n}Change to simple{/i18n}</a> | |
| 44 | -<a href="{addQS context=$context}fieldset_action=changeToSimple{/addQS}">{i18n}Change to simple{/i18n}</a></p> | |
| 45 | - | |
| 46 | -{else} | |
| 47 | - | |
| 48 | -<p class="descriptiveText important">{i18n}The fieldset is currently designated as <strong>Simple</strong>.{/i18n}</p> | |
| 49 | - | |
| 50 | -<p><a href="{addQS context=$context}fieldset_action=changeToComplex{/addQS}" | |
| 51 | - class="ktAction ktActionDescribed ktEdit">{i18n}Change to complex{/i18n}</a> | |
| 52 | -<a href="{addQS context=$context}fieldset_action=changeToComplex{/addQS}">{i18n}Change to complex{/i18n}</a></p> | |
| 53 | - | |
| 54 | -{/if} | |
| 55 | - | |
| 56 | 32 | </fieldset> |
| 57 | 33 | |
| 58 | 34 | <br /> | ... | ... |
templates/ktcore/metadata/conditional/manageConditional.smarty
| 1 | 1 | <h2>{i18n}Manage conditional fieldset{/i18n}</h2> |
| 2 | 2 | |
| 3 | 3 | <p class="descriptiveText">{i18n}Conditional fieldsets allow you to restrict the options |
| 4 | -a user has for values in some fields based on the values in other fields. There | |
| 5 | -are two kinds of conditional fieldsets: <strong>Simple</strong> and <strong>Complex</strong> | |
| 6 | -. Simple fieldsets should be sufficient for most things: they allow you to say that | |
| 4 | +a user has for values in some fields based on the values in other fields, allowing you to say that | |
| 7 | 5 | the values of one field are restricted to a certain subset of values if another field |
| 8 | 6 | has a specific value. For example, you could say that if the field "Street" is "Jeffrey", |
| 9 | 7 | then the field "Residents" must be one of "Jones","Smith" or "Friedman".{/i18n}</p> |
| 10 | 8 | |
| 11 | -<p class="descriptiveText">{i18n}Complex fieldsets allow you to give far more detailed structure to | |
| 12 | -your information: The value of "Residents" can depend not only on "Street", but on | |
| 13 | -how the user was allowed to select the specific street (given another field).{/i18n}</p> | |
| 14 | 9 | |
| 15 | 10 | {* don't show warnings until the basics are done. *} |
| 16 | 11 | |
| ... | ... | @@ -42,29 +37,6 @@ to complete{/i18n}: {$sIncomplete}</span> |
| 42 | 37 | |
| 43 | 38 | <h2>{i18n}Conditional type{/i18n}</h2> |
| 44 | 39 | |
| 45 | -{if $oFieldset->getIsComplex()} | |
| 46 | -<p>{i18n}The fieldset is currently designated as <strong>Complex</strong>{/i18n}</p> | |
| 47 | - | |
| 48 | -{if ($oMasterField && empty($free_fields))}<p><a | |
| 49 | -class="ktActionLink ktEdit" | |
| 50 | -href="{$rootUrl}/plugins/ktcore/admin/manageConditionals.php?action=editComplexFieldset&fieldset_id={$oFieldset->getId()}">{i18n}Manage | |
| 51 | -complex conditional{/i18n}</a></p>{/if} | |
| 52 | - | |
| 53 | -<form action="{$smarty.server.PHP_SELF}" method="POST"> | |
| 54 | -<input type="hidden" name="action" value="changeToSimple" /> | |
| 55 | -<input type="hidden" name="fFieldsetId" value="{$oFieldset->getId()}" /> | |
| 56 | -<input type="submit" name="submit" value="{i18n}Change to simple{/i18n}" /> | |
| 57 | -</form> | |
| 58 | - | |
| 59 | -{else} | |
| 60 | - | |
| 61 | -<p>{i18n}The fieldset is currently designated as <strong>Simple</strong>{/i18n}</p> | |
| 62 | - | |
| 63 | -{if ($oMasterField && empty($free_fields))}<p><a | |
| 64 | -class="ktActionLink ktEdit" | |
| 65 | -href="{$rootUrl}/plugins/ktcore/admin/manageConditionals.php?action=editFieldset&fieldset_id={$oFieldset->getId()}">{i18n}Manage simple conditional{/i18n}</a> | |
| 66 | -</p> | |
| 67 | -{/if} | |
| 68 | 40 | |
| 69 | 41 | <form action="{$smarty.server.PHP_SELF}" method="POST"> |
| 70 | 42 | <input type="hidden" name="action" value="changeToComplex" /> | ... | ... |
tests/api/authentication.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
tests/api/document.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
tests/api/folder.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |
view.php
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | * |
| 5 | 5 | * KnowledgeTree Open Source Edition |
| 6 | 6 | * Document Management Made Simple |
| 7 | - * Copyright (C) 2004 - 2007 The Jam Warehouse Software (Pty) Limited | |
| 7 | + * Copyright (C) 2004 - 2008 The Jam Warehouse Software (Pty) Limited | |
| 8 | 8 | * |
| 9 | 9 | * This program is free software; you can redistribute it and/or modify it under |
| 10 | 10 | * the terms of the GNU General Public License version 3 as published by the | ... | ... |