From a93db85f82067758baace202618352b73475f810 Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Tue, 1 Dec 2009 11:22:24 +0200 Subject: [PATCH] Replaced commercial license with community license --- plugins/ktstandard/documentpreview/documentPreview.php | 45 ++++++++++++++++++++++++++++++--------------- plugins/ktstandard/documentpreview/documentPreviewPlugin.php | 45 ++++++++++++++++++++++++++++++--------------- plugins/pdfConverter/pdfConverter.php | 45 ++++++++++++++++++++++++++++++--------------- plugins/pdfConverter/pdfConverterPlugin.php | 43 +++++++++++++++++++++++++++++-------------- plugins/thumbnails/thumbnails.php | 45 ++++++++++++++++++++++++++++++--------------- plugins/thumbnails/thumbnailsPlugin.php | 45 ++++++++++++++++++++++++++++++--------------- 6 files changed, 179 insertions(+), 89 deletions(-) diff --git a/plugins/ktstandard/documentpreview/documentPreview.php b/plugins/ktstandard/documentpreview/documentPreview.php index 7ace091..b558c3f 100755 --- a/plugins/ktstandard/documentpreview/documentPreview.php +++ b/plugins/ktstandard/documentpreview/documentPreview.php @@ -1,24 +1,39 @@ . * - * This edition of the KnowledgeTree software - * is NOT licensed to you under Open Source terms. - * You may not redistribute this source code. - * For more information please see the License above. + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. * - * (c) 2008 KnowledgeTree Inc. - * Portions copyright The Jam Warehouse Software (Pty) Ltd; - * All Rights Reserved. + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ $kt_dir = $_REQUEST['kt_dir']; diff --git a/plugins/ktstandard/documentpreview/documentPreviewPlugin.php b/plugins/ktstandard/documentpreview/documentPreviewPlugin.php index 5b6d18c..d2688cb 100755 --- a/plugins/ktstandard/documentpreview/documentPreviewPlugin.php +++ b/plugins/ktstandard/documentpreview/documentPreviewPlugin.php @@ -1,24 +1,39 @@ . * - * This edition of the KnowledgeTree software - * is NOT licensed to you under Open Source terms. - * You may not redistribute this source code. - * For more information please see the License above. + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. * - * (c) 2008 KnowledgeTree Inc. - * Portions copyright The Jam Warehouse Software (Pty) Ltd; - * All Rights Reserved. + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ require_once(KT_LIB_DIR . '/plugins/plugin.inc.php'); diff --git a/plugins/pdfConverter/pdfConverter.php b/plugins/pdfConverter/pdfConverter.php index 9d89753..0ef3c56 100644 --- a/plugins/pdfConverter/pdfConverter.php +++ b/plugins/pdfConverter/pdfConverter.php @@ -1,24 +1,39 @@ . * - * This edition of the KnowledgeTree software - * is NOT licensed to you under Open Source terms. - * You may not redistribute this source code. - * For more information please see the License above. + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. * - * (c) 2008 KnowledgeTree Inc. - * Portions copyright The Jam Warehouse Software (Pty) Ltd; - * All Rights Reserved. + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ require_once(KT_DIR . '/search2/documentProcessor/documentProcessor.inc.php'); diff --git a/plugins/pdfConverter/pdfConverterPlugin.php b/plugins/pdfConverter/pdfConverterPlugin.php index 5664ed1..d78cb20 100644 --- a/plugins/pdfConverter/pdfConverterPlugin.php +++ b/plugins/pdfConverter/pdfConverterPlugin.php @@ -1,24 +1,39 @@ . * - * This edition of the KnowledgeTree software - * is NOT licensed to you under Open Source terms. - * You may not redistribute this source code. - * For more information please see the License above. + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. * - * (c) 2008 KnowledgeTree Inc. - * Portions copyright The Jam Warehouse Software (Pty) Ltd; - * All Rights Reserved. + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ require_once(KT_LIB_DIR . '/plugins/plugin.inc.php'); diff --git a/plugins/thumbnails/thumbnails.php b/plugins/thumbnails/thumbnails.php index 4fbf99b..c0dd99d 100755 --- a/plugins/thumbnails/thumbnails.php +++ b/plugins/thumbnails/thumbnails.php @@ -1,24 +1,39 @@ . * - * This edition of the KnowledgeTree software - * is NOT licensed to you under Open Source terms. - * You may not redistribute this source code. - * For more information please see the License above. + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. * - * (c) 2008 KnowledgeTree Inc. - * Portions copyright The Jam Warehouse Software (Pty) Ltd; - * All Rights Reserved. + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ require_once(KT_LIB_DIR . "/actions/documentviewlet.inc.php"); diff --git a/plugins/thumbnails/thumbnailsPlugin.php b/plugins/thumbnails/thumbnailsPlugin.php index 2d32844..75dce24 100755 --- a/plugins/thumbnails/thumbnailsPlugin.php +++ b/plugins/thumbnails/thumbnailsPlugin.php @@ -1,24 +1,39 @@ . * + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * California 94120-7775, or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ */ require_once(KT_LIB_DIR . '/plugins/plugin.inc.php'); @@ -49,7 +64,7 @@ class thumbnailsPlugin extends KTPlugin { require_once(KT_LIB_DIR . '/templating/templating.inc.php'); $oTemplating =& KTTemplating::getSingleton(); $oTemplating->addLocation('thumbnails', $plugin_dir.'templates', 'thumbnails.generator.processor.plugin'); - + // check for existing config settings entry and only add if not already present $sql = 'SELECT id FROM `config_settings` WHERE group_name = "externalBinary" AND item = "convertPath"'; $result = DBUtil::getOneResult($sql); -- libgit2 0.21.4