Commit 56d75bc56cca20c04b03ab99d8544aba9a72342d
1 parent
c0fd7e85
Pass the dispatcher into the page as the context.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4300 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
presentation/lookAndFeel/knowledgeTree/administration/help/manageHelp.php
| ... | ... | @@ -31,6 +31,7 @@ class ManageHelpDispatcher extends KTAdminDispatcher { |
| 31 | 31 | $aHelps =& KTHelpEntity::getList(); |
| 32 | 32 | $oTemplate = $oTemplating->loadTemplate("ktcore/manage_help"); |
| 33 | 33 | $aTemplateData = array( |
| 34 | + "context" => &$this, | |
| 34 | 35 | "helps" => $aHelps, |
| 35 | 36 | "helpreplacements" => $aHelpReplacements, |
| 36 | 37 | ); |
| ... | ... | @@ -43,6 +44,7 @@ class ManageHelpDispatcher extends KTAdminDispatcher { |
| 43 | 44 | $oTemplating = new KTTemplating; |
| 44 | 45 | $oTemplate = $oTemplating->loadTemplate("ktcore/manage_help_item"); |
| 45 | 46 | $aTemplateData = array( |
| 47 | + "context" => &$this, | |
| 46 | 48 | "help" => $oHelpReplacement, |
| 47 | 49 | ); |
| 48 | 50 | $this->aBreadcrumbs[] = array( | ... | ... |