Commit 9602148cac7ed5f50b93c7210a88bb29c8e95931

Authored by Conrad Vermeulen
1 parent 20640015

KTS-1753

" Implement Disk Usage Plugin"
Updated. Licensing.

Committed By: Conrad Vermeulen
Reviewed By: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7473 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/housekeeper/DiskUsageDashlet.inc.php
1 <?php 1 <?php
2 2
3 /** 3 /**
  4 + * $Id
4 * 5 *
5 - * Copyright (c) 2007 Jam Warehouse http://www.jamwarehouse.com 6 + * The contents of this file are subject to the KnowledgeTree Public
  7 + * License Version 1.1.2 ("License"); You may not use this file except in
  8 + * compliance with the License. You may obtain a copy of the License at
  9 + * http://www.knowledgetree.com/KPL
6 * 10 *
7 - * This program is free software; you can redistribute it and/or modify  
8 - * it under the terms of the GNU General Public License as published by  
9 - * the Free Software Foundation; using version 2 of the License. 11 + * Software distributed under the License is distributed on an "AS IS"
  12 + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing rights and
  14 + * limitations under the License.
10 * 15 *
11 - * This program is distributed in the hope that it will be useful,  
12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of  
13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  
14 - * GNU General Public License for more details. 16 + * All copies of the Covered Code must include on each user interface screen:
  17 + * (i) the "Powered by KnowledgeTree" logo and
  18 + * (ii) the KnowledgeTree copyright notice
  19 + * in the same form as they appear in the distribution. See the License for
  20 + * requirements.
15 * 21 *
16 - * You should have received a copy of the GNU General Public License  
17 - * along with this program; if not, write to the Free Software  
18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 + * The Original Code is: KnowledgeTree Open Source
19 * 23 *
20 - * -------------------------------------------------------------------------  
21 - *  
22 - * You can contact the copyright owner regarding licensing via the contact  
23 - * details that can be found on the KnowledgeTree web site:  
24 - *  
25 - * http://www.knowledgetree.com/ 24 + * The Initial Developer of the Original Code is The Jam Warehouse Software
  25 + * (Pty) Ltd, trading as KnowledgeTree.
  26 + * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright
  27 + * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
  28 + * All Rights Reserved.
  29 + * Contributor( s): ______________________________________
26 */ 30 */
27 31
28 class DiskUsageDashlet extends KTBaseDashlet 32 class DiskUsageDashlet extends KTBaseDashlet
@@ -34,7 +38,7 @@ class DiskUsageDashlet extends KTBaseDashlet @@ -34,7 +38,7 @@ class DiskUsageDashlet extends KTBaseDashlet
34 38
35 function DiskUsageDashlet() 39 function DiskUsageDashlet()
36 { 40 {
37 - $this->sTitle = _kt('Disk Usage'); 41 + $this->sTitle = _kt('Storage Utilization');
38 $this->sClass = "ktInfo"; 42 $this->sClass = "ktInfo";
39 } 43 }
40 44
plugins/housekeeper/FolderUsageDashlet.inc.php
1 <?php 1 <?php
2 2
3 /** 3 /**
  4 + * $Id
4 * 5 *
5 - * Copyright (c) 2007 Jam Warehouse http://www.jamwarehouse.com 6 + * The contents of this file are subject to the KnowledgeTree Public
  7 + * License Version 1.1.2 ("License"); You may not use this file except in
  8 + * compliance with the License. You may obtain a copy of the License at
  9 + * http://www.knowledgetree.com/KPL
6 * 10 *
7 - * This program is free software; you can redistribute it and/or modify  
8 - * it under the terms of the GNU General Public License as published by  
9 - * the Free Software Foundation; using version 2 of the License. 11 + * Software distributed under the License is distributed on an "AS IS"
  12 + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing rights and
  14 + * limitations under the License.
10 * 15 *
11 - * This program is distributed in the hope that it will be useful,  
12 - * but WITHOUT ANY WARRANTY; without even the implied warranty of  
13 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the  
14 - * GNU General Public License for more details. 16 + * All copies of the Covered Code must include on each user interface screen:
  17 + * (i) the "Powered by KnowledgeTree" logo and
  18 + * (ii) the KnowledgeTree copyright notice
  19 + * in the same form as they appear in the distribution. See the License for
  20 + * requirements.
15 * 21 *
16 - * You should have received a copy of the GNU General Public License  
17 - * along with this program; if not, write to the Free Software  
18 - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 + * The Original Code is: KnowledgeTree Open Source
19 * 23 *
20 - * -------------------------------------------------------------------------  
21 - *  
22 - * You can contact the copyright owner regarding licensing via the contact  
23 - * details that can be found on the KnowledgeTree web site:  
24 - *  
25 - * http://www.knowledgetree.com/ 24 + * The Initial Developer of the Original Code is The Jam Warehouse Software
  25 + * (Pty) Ltd, trading as KnowledgeTree.
  26 + * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright
  27 + * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
  28 + * All Rights Reserved.
  29 + * Contributor( s): ______________________________________
26 */ 30 */
27 31
28 class FolderUsageDashlet extends KTBaseDashlet 32 class FolderUsageDashlet extends KTBaseDashlet
@@ -31,7 +35,7 @@ class FolderUsageDashlet extends KTBaseDashlet @@ -31,7 +35,7 @@ class FolderUsageDashlet extends KTBaseDashlet
31 35
32 function FolderUsageDashlet() 36 function FolderUsageDashlet()
33 { 37 {
34 - $this->sTitle = _kt('System Folder Usage'); 38 + $this->sTitle = _kt('System Folder Utilization');
35 $this->sClass = "ktInfo"; 39 $this->sClass = "ktInfo";
36 } 40 }
37 41
plugins/housekeeper/HouseKeeperDispatcher.php
1 <?php 1 <?php
2 2
  3 +/**
  4 + * $Id
  5 + *
  6 + * The contents of this file are subject to the KnowledgeTree Public
  7 + * License Version 1.1.2 ("License"); You may not use this file except in
  8 + * compliance with the License. You may obtain a copy of the License at
  9 + * http://www.knowledgetree.com/KPL
  10 + *
  11 + * Software distributed under the License is distributed on an "AS IS"
  12 + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing rights and
  14 + * limitations under the License.
  15 + *
  16 + * All copies of the Covered Code must include on each user interface screen:
  17 + * (i) the "Powered by KnowledgeTree" logo and
  18 + * (ii) the KnowledgeTree copyright notice
  19 + * in the same form as they appear in the distribution. See the License for
  20 + * requirements.
  21 + *
  22 + * The Original Code is: KnowledgeTree Open Source
  23 + *
  24 + * The Initial Developer of the Original Code is The Jam Warehouse Software
  25 + * (Pty) Ltd, trading as KnowledgeTree.
  26 + * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright
  27 + * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
  28 + * All Rights Reserved.
  29 + * Contributor( s): ______________________________________
  30 + */
  31 +
3 session_start(); 32 session_start();
4 33
5 require_once("../../config/dmsDefaults.php"); 34 require_once("../../config/dmsDefaults.php");
@@ -88,4 +117,4 @@ class HouseKeeperDispatcher extends KTStandardDispatcher @@ -88,4 +117,4 @@ class HouseKeeperDispatcher extends KTStandardDispatcher
88 $oDispatcher = new HouseKeeperDispatcher(); 117 $oDispatcher = new HouseKeeperDispatcher();
89 $oDispatcher->dispatch(); 118 $oDispatcher->dispatch();
90 119
91 -?>  
92 \ No newline at end of file 120 \ No newline at end of file
  121 +?>
plugins/housekeeper/HouseKeeperPlugin.php
1 <?php 1 <?php
2 2
  3 +/**
  4 + * $Id
  5 + *
  6 + * The contents of this file are subject to the KnowledgeTree Public
  7 + * License Version 1.1.2 ("License"); You may not use this file except in
  8 + * compliance with the License. You may obtain a copy of the License at
  9 + * http://www.knowledgetree.com/KPL
  10 + *
  11 + * Software distributed under the License is distributed on an "AS IS"
  12 + * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing rights and
  14 + * limitations under the License.
  15 + *
  16 + * All copies of the Covered Code must include on each user interface screen:
  17 + * (i) the "Powered by KnowledgeTree" logo and
  18 + * (ii) the KnowledgeTree copyright notice
  19 + * in the same form as they appear in the distribution. See the License for
  20 + * requirements.
  21 + *
  22 + * The Original Code is: KnowledgeTree Open Source
  23 + *
  24 + * The Initial Developer of the Original Code is The Jam Warehouse Software
  25 + * (Pty) Ltd, trading as KnowledgeTree.
  26 + * Portions created by The Jam Warehouse Software (Pty) Ltd are Copyright
  27 + * (C) 2007 The Jam Warehouse Software (Pty) Ltd;
  28 + * All Rights Reserved.
  29 + * Contributor( s): ______________________________________
  30 + */
  31 +
3 class HouseKeeperPlugin extends KTPlugin 32 class HouseKeeperPlugin extends KTPlugin
4 { 33 {
5 var $autoRegister = true; 34 var $autoRegister = true;
@@ -93,4 +122,4 @@ class HouseKeeperPlugin extends KTPlugin @@ -93,4 +122,4 @@ class HouseKeeperPlugin extends KTPlugin
93 $oPluginRegistry =& KTPluginRegistry::getSingleton(); 122 $oPluginRegistry =& KTPluginRegistry::getSingleton();
94 $oPluginRegistry->registerPlugin('HouseKeeperPlugin', 'ktcore.housekeeper.plugin', __FILE__); 123 $oPluginRegistry->registerPlugin('HouseKeeperPlugin', 'ktcore.housekeeper.plugin', __FILE__);
95 124
96 -?>  
97 \ No newline at end of file 125 \ No newline at end of file
  126 +?>