diff --git a/about.php b/about.php index 2d5df77..e584631 100644 --- a/about.php +++ b/about.php @@ -68,6 +68,7 @@ class KTAbout extends KTStandardDispatcher { "context" => $this, "versionname" => $sVersionName, "versionnumber" => $sVersionNo, + 'smallVersion' => substr($default->versionName, 0, 3), ); return $oTemplate->render($aTemplateData); } diff --git a/config/config.ini b/config/config.ini index 1b731d1..3e6283e 100644 --- a/config/config.ini +++ b/config/config.ini @@ -103,8 +103,6 @@ companyLogoTitle = ACME Corporation ;mainLogoWidth = 219px ; ALT text - for accessibility purposes. ;mainLogoTitle = ACME Knowledge Management Systems -; enable/disable powered by kt logo -;poweredByDisabled = 0 ; powered by kt logo ;powerLogo = ${rootUrl}/resources/powered-by-kt.gif ; the logo's width in pixels diff --git a/i18n/knowledgeTree.pot b/i18n/knowledgeTree.pot index 9760916..2334cb7 100644 --- a/i18n/knowledgeTree.pot +++ b/i18n/knowledgeTree.pot @@ -130,9 +130,27 @@ msgid "%s is not an archived document. Aborting restore." msgstr "" #: i18n/templates.c:1427 i18n/templates.c:5345 -msgid "© 2007 The Jam Warehouse Software (Pty) Ltd. All Rights Reserved" +msgid "Document Management Software" msgstr "" +#: i18n/templates.c:1427 i18n/templates.c:5348 +msgid "© 2007 The Jam Warehouse Software (Pty) Ltd." +msgstr "" + +#: i18n/templates.c:5351 i18n/templates.c:5762 +msgid "This program is free software and published under the GNU General Public License version 3" +msgstr "" + +#: i18n/templates.c:5354 i18n/templates.c:5765 +msgid "All rights reserved." +msgstr "" + + +#: i18n/templates.c:5759 +msgid "Copyright © 2004-2007 The Jam Warehouse Software (Pty) Limited View License Agreement" +msgstr "" + + #: plugins/ktcore/folder/BulkImport.php:63 #: plugins/ktcore/folder/BulkUpload.php:70 #: plugins/ktcore/folder/addDocument.php:105 diff --git a/i18n/templates.c b/i18n/templates.c index a5c6cf6..42005b3 100644 --- a/i18n/templates.c +++ b/i18n/templates.c @@ -5342,7 +5342,16 @@ gettext("login"); gettext("#appname# Version"); /* ./templates/ktcore/login.smarty */ -gettext("© 2007 The Jam Warehouse Software (Pty) Ltd. All Rights Reserved"); +gettext("Document Management Software"); + +/* ./templates/ktcore/login.smarty */ +gettext("© 2007 The Jam Warehouse Software (Pty) Ltd."); + +/* ./templates/ktcore/login.smarty */ +gettext("This program is free software and published under the GNU General Public License version 3"); + +/* ./templates/ktcore/login.smarty */ +gettext("All rights reserved."); /* ./templates/ktcore/manage_permissions.smarty */ gettext("Existing permissions"); @@ -5745,3 +5754,12 @@ gettext("#appname# RSS"); /* ./templates/ktcore/principles/about.smarty */ gettext("#appname# #versionname#"); + +/* ./templates/ktcore/principles/about.smarty */ +gettext("Copyright © 2004-2007 The Jam Warehouse Software (Pty) Limited View License Agreement"); + +/* ./templates/ktcore/principles/about.smarty */ +gettext("This program is free software and published under the GNU General Public License version 3"); + +/* ./templates/ktcore/principles/about.smarty */ +gettext("All rights reserved."); \ No newline at end of file diff --git a/lib/templating/kt3template.inc.php b/lib/templating/kt3template.inc.php index f10bb89..8874ea7 100644 --- a/lib/templating/kt3template.inc.php +++ b/lib/templating/kt3template.inc.php @@ -126,7 +126,6 @@ class KTPage { $aJS[] = 'thirdpartyjs/MochiKit/DragAndDrop.js'; $aJS[] = 'thirdpartyjs/MochiKit/Sortable.js'; $aJS[] = 'thirdpartyjs/MochiKit/Style.js'; - $aJS[] = 'thirdpartyjs/MochiKit/Signal.js'; */ $aJS[] = 'thirdpartyjs/MochiKit/MochiKitPacked.js'; $aJS[] = 'resources/js/kt-utility.js'; @@ -138,11 +137,6 @@ class KTPage { - //$aJS[] = 'thirdpartyjs/MochiKit/Iter.js'; - //$aJS[] = 'thirdpartyjs/MochiKit/DOM.js'; - //$aJS[] = 'thirdpartyjs/MochiKit/Logging.js'; - //$aJS[] = 'thirdpartyjs/MochiKit/Async.js'; - //$aJS[] = 'thirdpartyjs/MochiKit/Signal.js'; //$aJS[] = 'thirdpartyjs/MochiKit/.js'; //$aJS[] = 'resources/js/translate.js'; @@ -402,6 +396,7 @@ class KTPage { "page" => $this, "systemversion" => $default->systemVersion, "versionname" => $default->versionName, + 'smallVersion' => substr($default->versionName, 0, 3), 'savedSearches'=> $savedSearches); if ($oConfig->get("ui/automaticRefresh", false)) { $aTemplateData['refreshTimeout'] = (int)$oConfig->get("session/sessionTimeout") + 3; diff --git a/login.php b/login.php index 4e23dc4..9e2afce 100644 --- a/login.php +++ b/login.php @@ -173,7 +173,8 @@ class LoginPageDispatcher extends KTDispatcher { 'versionName' => $default->versionName, 'languages' => $aRegisteredLanguageNames, 'selected_language' => $sLanguageSelect, - 'disclaimer' => $sDisclaimer, + 'disclaimer' => $sDisclaimer, + 'smallVersion' => substr($default->versionName, 0, 3), ); return $oTemplate->render($aTemplateData); } diff --git a/templates/kt3/standard_page.smarty b/templates/kt3/standard_page.smarty index 394f496..7c55d34 100644 --- a/templates/kt3/standard_page.smarty +++ b/templates/kt3/standard_page.smarty @@ -368,15 +368,18 @@
- {i18n}© 2007 The Jam Warehouse Software (Pty) Ltd. All Rights Reserved{/i18n} + {i18n}© 2004-2007 The Jam Warehouse Software (Pty) Limited{/i18n}
+ {if ($smallVersion == 'OSS')} + {i18n}This program is free software and published under the GNU General Public License version 3{/i18n}
+ {else} + {i18n}All rights reserved.{/i18n}
+ {/if}

{$page->getDisclaimer()}

{i18n arg_timing=$page->getReqTime()}Request created in #timing#s{/i18n}
{i18n arg_version="$versionname" arg_appname="$appname"}#appname# Version: #version#{/i18n}
- {if $config->get("ui/poweredByDisabled") == '0'} - {$config->get( - {/if} + Powered by KnowledgeTree
diff --git a/templates/ktcore/login.smarty b/templates/ktcore/login.smarty index 2295a6e..6b90288 100644 --- a/templates/ktcore/login.smarty +++ b/templates/ktcore/login.smarty @@ -54,9 +54,17 @@ {/if}

- {i18n arg_appname="$appname"}#appname# Version{/i18n}
{$versionName}
- {i18n}© 2007 The Jam Warehouse Software (Pty) Ltd. All Rights Reserved{/i18n} + {i18n arg_appname="$appname"}#appname# Version{/i18n} {$versionName}
+ {i18n}Document Management Software{/i18n}
+ {i18n}© 2007 The Jam Warehouse Software (Pty) Ltd.{/i18n}

+ {if ($smallVersion == 'OSS')} + {i18n}This program is free software and published under the GNU General Public License version 3{/i18n}
+ {else} + {i18n}All rights reserved.{/i18n}
+ {/if}

+ +
diff --git a/templates/ktcore/principals/about.smarty b/templates/ktcore/principals/about.smarty index 1d2ef52..908ebc8 100644 --- a/templates/ktcore/principals/about.smarty +++ b/templates/ktcore/principals/about.smarty @@ -1,7 +1,12 @@

{i18n arg_appname="$appname" arg_versionname="$versionname"}#appname# #versionname#{/i18n}

{i18n arg_version="$versionnumber"}Version #version#{/i18n}

-

Copyright © 2004-2007 The Jam Warehouse Software (Pty) Ltd. All Rights Reserved. View License Agreement
+

{i18n}Copyright © 2004-2007 The Jam Warehouse Software (Pty) Limited View License Agreement{/i18n}
+{if ($smallVersion == 'OSS')} + {i18n}This program is free software and published under the GNU General Public License version 3{/i18n}
+{else} + {i18n}All rights reserved.{/i18n}
+{/if} KnowledgeTree™ is a trademark of The Jam Warehouse Software (Pty) Ltd.