diff --git a/plugins/ktcore/assistance/KTUserAssistancePlugin.php b/plugins/ktcore/assistance/KTUserAssistancePlugin.php deleted file mode 100644 index 6c7f46c..0000000 --- a/plugins/ktcore/assistance/KTUserAssistancePlugin.php +++ /dev/null @@ -1,135 +0,0 @@ -registerDashlet('KTUserTutorialDashlet', 'ktcore.dashlet.usertutorial', __FILE__); - //$this->registerDashlet('KTAdminTutorialDashlet', 'ktcore.dashlet.admintutorial', __FILE__); - $this->registerPage('kt3b1-what-is-a-beta', 'KTUserAssistB1WhatIs', __FILE__); - $this->registerPage('kt-bug-reporting-guide', 'KTUserAssistBugReportingGUide', __FILE__); - $this->registerPage('admin-quickguide', 'KTUserAssistAdminQuickguide', __FILE__); - $this->registerPage('admin-guide-whats-new-in-kt3', 'KTUserAssistAdminGuideWhatsNew', __FILE__); - } -} - -$oRegistry =& KTPluginRegistry::getSingleton(); -$oRegistry->registerPlugin('KTUserAssistance', 'ktcore.userassistance', __FILE__); - -// ultra simple skeleton for the user tutorial -// FIXME do we want to store the namespace inside the dashlet? -class KTUserTutorialDashlet extends KTBaseDashlet { - function is_active($oUser) { - $namespace = 'ktcore.dashlet.usertutorial'; - $disables = KTDashletDisable::getForUserAndDashlet($oUser->getId(), $namespace); - - if (!empty($disables)) { - return false; - } else { - return true; - } - } - - function render() { - $oTemplating =& KTTemplating::getSingleton(); - $oTemplate = $oTemplating->loadTemplate("ktcore/dashlets/usertutorial"); - $aTemplateData = array( - ); - return $oTemplate->render($aTemplateData); - } -} - - -// ultra simple skeleton for the admin tutorial -class KTAdminTutorialDashlet extends KTBaseDashlet { - function is_active($oUser) { - - $namespace = 'ktcore.dashlet.admintutorial'; - - if (!Permission::userIsSystemAdministrator($oUser->getId())) { - return false; // quickest disable. - } - - $disables = KTDashletDisable::getForUserAndDashlet($oUser->getId(), $namespace); - if (!empty($disables)) { - return false; - } else { - return true; - } - } - - function render() { - $oTemplating =& KTTemplating::getSingleton(); - $oTemplate = $oTemplating->loadTemplate("ktcore/dashlets/admintutorial"); - $aTemplateData = array( - ); - return $oTemplate->render($aTemplateData); - } -} - -class KTUserAssistBasePage extends KTStandardDispatcher { - var $sSection = 'help'; - var $aBreadcrumbs = array( - array('action' => 'dashboard', 'name' => 'Dashboard'), - array('name' => 'User Assistance') - ); - var $pagefile = 'base'; - var $title = 'User Assistance'; - function do_main() { - $this->oPage->setBreadcrumbDetails($this->title); - $contents = @file_get_contents(dirname(__FILE__) . '/docs/' . $this->pagefile); - if ($contents === false) { - $contents = '

Unable to find requested documentation.

'; - } - $this->oPage->setTitle($this->title); - $this->oPage->setShowPortlets(false); - return $contents; - } - - // hide the dashlet from the user (e.g. don't show it again) and redirect back to the dashboard. -} - -class KTUserAssistB1WhatIs extends KTUserAssistBasePage { var $pagefile = 'kt3b1-what-is-a-beta'; var $title = 'What is a Beta?'; } - -class KTUserAssistBugReportingGUide extends KTUserAssistBasePage { var $pagefile = 'kt-bug-reporting-guide'; var $title = 'Help! Something went wrong'; } - -class KTUserAssistAdminQuickguide extends KTUserAssistBasePage { var $pagefile = 'admin-quickguide'; var $title = 'Quickstart Guide for Administrators'; } - -class KTUserAssistAdminGuideWhatsNew extends KTUserAssistBasePage { var $pagefile = 'admin-guide-whats-new-in-kt3'; var $title = 'What\'s new in KT3 for Administrators'; } - -?> diff --git a/plugins/ktcore/assistance/docs/admin-guide-whats-new-in-kt3 b/plugins/ktcore/assistance/docs/admin-guide-whats-new-in-kt3 deleted file mode 100644 index fc3557d..0000000 --- a/plugins/ktcore/assistance/docs/admin-guide-whats-new-in-kt3 +++ /dev/null @@ -1,17 +0,0 @@ -

What's different in KT3

- -

Almost Everything. We have rewritten almost all of the KnowledgeTree DMS, and hope that the changes -will be good.

- -

Things you need to be aware of in terms of major changes for administrators:

- - - diff --git a/plugins/ktcore/assistance/docs/admin-quickguide b/plugins/ktcore/assistance/docs/admin-quickguide deleted file mode 100644 index 77f7667..0000000 --- a/plugins/ktcore/assistance/docs/admin-quickguide +++ /dev/null @@ -1,5 +0,0 @@ -

Admin Quickguide

- -

FIXME we need a guide to getting started as an administrator. Since this is Beta1, we -assume that you have some history with KnowledgeTree™, so we ask that you start at -the "what's new for administrators" page.

diff --git a/plugins/ktcore/assistance/docs/base b/plugins/ktcore/assistance/docs/base deleted file mode 100644 index 85a26a2..0000000 --- a/plugins/ktcore/assistance/docs/base +++ /dev/null @@ -1 +0,0 @@ -OI! This doesn't work. diff --git a/plugins/ktcore/assistance/docs/kt-bug-reporting-guide b/plugins/ktcore/assistance/docs/kt-bug-reporting-guide deleted file mode 100644 index a906676..0000000 --- a/plugins/ktcore/assistance/docs/kt-bug-reporting-guide +++ /dev/null @@ -1,16 +0,0 @@ -

Help! Something went wrong!

- -

Our community forums are a good place to ask questions about installing, -configuring or using KnowledgeTree. Our developers, along with other -members of the open source community and our partner network, will -endeavour to answer your questions.

- -

Find the KnowledgeTree forums online at forum.ktdms.com

- -

You can report bugs in the open source KnowledgeTree server software by -accessing our online ticketing system. The ticketing system will also -provide feedback on the status of the issue. You may view issues -reported by other people and search the system to determine if your -issue has already been reported.

- -

Access the KnowledgeTree support website online at support.ktdms.com.

diff --git a/plugins/ktcore/assistance/docs/kt3b1-what-is-a-beta b/plugins/ktcore/assistance/docs/kt3b1-what-is-a-beta deleted file mode 100644 index db9c180..0000000 --- a/plugins/ktcore/assistance/docs/kt3b1-what-is-a-beta +++ /dev/null @@ -1,13 +0,0 @@ -

What is a beta?

- -

Beta software is pre-production quality software. It is released with -the intention of providing the software's users with insight into where -the software feature-set is going for a particular release cycle, -getting as wide a base of testers for the release as possible and -gauging the uptake of new features.

- -

The software may not be entirely complete yet and may be buggy. We -highly value your input and urge you to evaluate the software in a test -environment. We do however strongly suggest you do not to implement this -version of KnowledgeTree in a production environment as we can't warrant -it functioning correctly.