Commit 2afadbbcf8d6242824100c595665d035a61cceda

Authored by nbm
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
lib/visualpatterns/PatternMainPage.inc
@@ -66,6 +66,7 @@ class PatternMainPage { @@ -66,6 +66,7 @@ class PatternMainPage {
66 var $additionalJavaScript; 66 var $additionalJavaScript;
67 /** whether or not to use dhtml scrolling **/ 67 /** whether or not to use dhtml scrolling **/
68 var $bScroll; 68 var $bScroll;
  69 + var $aBreadcrumbs = array();
69 70
70 var $bFormDisabled = false; 71 var $bFormDisabled = false;
71 72
@@ -146,6 +147,10 @@ class PatternMainPage { @@ -146,6 +147,10 @@ class PatternMainPage {
146 function setSubmitMethod($sNewValue) { 147 function setSubmitMethod($sNewValue) {
147 $this->sSubmitMethod = $sNewValue; 148 $this->sSubmitMethod = $sNewValue;
148 } 149 }
  150 +
  151 + function setBreadcrumbs($aNewValue) {
  152 + $this->aBreadcrumbs = $aNewValue;
  153 + }
149 154
150 /** 155 /**
151 * Render the page in HTML 156 * Render the page in HTML
@@ -185,6 +190,7 @@ class PatternMainPage { @@ -185,6 +190,7 @@ class PatternMainPage {
185 "cpayload" => $this->oCentralPayload, 190 "cpayload" => $this->oCentralPayload,
186 "errormessages" => $this->sErrorMessage, 191 "errormessages" => $this->sErrorMessage,
187 "kterrormessages" => $_SESSION['KTErrorMessage'], 192 "kterrormessages" => $_SESSION['KTErrorMessage'],
  193 + "breadcrumbs" => $this->aBreadcrumbs,
188 ); 194 );
189 195
190 $aTopMenuWords = array( 196 $aTopMenuWords = array(