Commit 45be398b1315706dfe178932517a7e8a6fd6be89
1 parent
2afadbbc
Breadcrumb handling in dispatchers
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3847 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
lib/dispatcher.inc.php
| ... | ... | @@ -104,6 +104,7 @@ class KTDispatcher { |
| 104 | 104 | class KTStandardDispatcher extends KTDispatcher { |
| 105 | 105 | var $bLogonRequired = true; |
| 106 | 106 | var $bAdminRequired = false; |
| 107 | + var $aBreadcrumbs = array(); | |
| 107 | 108 | |
| 108 | 109 | function permissionDenied () { |
| 109 | 110 | print "Permission denied"; |
| ... | ... | @@ -146,6 +147,7 @@ class KTStandardDispatcher extends KTDispatcher { |
| 146 | 147 | |
| 147 | 148 | function handleOutput($data) { |
| 148 | 149 | global $main; |
| 150 | + $main->setBreadcrumbs($this->aBreadcrumbs); | |
| 149 | 151 | $main->bFormDisabled = true; |
| 150 | 152 | $main->setCentralPayload($data); |
| 151 | 153 | $main->render(); | ... | ... |