Commit 2afadbbcf8d6242824100c595665d035a61cceda
1 parent
ec2ee5cf
Breadcrumb handling in legacy main template
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3846 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
0 deletions
lib/visualpatterns/PatternMainPage.inc
| ... | ... | @@ -66,6 +66,7 @@ class PatternMainPage { |
| 66 | 66 | var $additionalJavaScript; |
| 67 | 67 | /** whether or not to use dhtml scrolling **/ |
| 68 | 68 | var $bScroll; |
| 69 | + var $aBreadcrumbs = array(); | |
| 69 | 70 | |
| 70 | 71 | var $bFormDisabled = false; |
| 71 | 72 | |
| ... | ... | @@ -146,6 +147,10 @@ class PatternMainPage { |
| 146 | 147 | function setSubmitMethod($sNewValue) { |
| 147 | 148 | $this->sSubmitMethod = $sNewValue; |
| 148 | 149 | } |
| 150 | + | |
| 151 | + function setBreadcrumbs($aNewValue) { | |
| 152 | + $this->aBreadcrumbs = $aNewValue; | |
| 153 | + } | |
| 149 | 154 | |
| 150 | 155 | /** |
| 151 | 156 | * Render the page in HTML |
| ... | ... | @@ -185,6 +190,7 @@ class PatternMainPage { |
| 185 | 190 | "cpayload" => $this->oCentralPayload, |
| 186 | 191 | "errormessages" => $this->sErrorMessage, |
| 187 | 192 | "kterrormessages" => $_SESSION['KTErrorMessage'], |
| 193 | + "breadcrumbs" => $this->aBreadcrumbs, | |
| 188 | 194 | ); |
| 189 | 195 | |
| 190 | 196 | $aTopMenuWords = array( | ... | ... |