Changeset 128 for branches/2.0singleton/lib/Nav.inc.php
- Timestamp:
- May 26, 2006 9:29:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0singleton/lib/Nav.inc.php
r44 r128 201 201 function getBreadcrumbs($page_id=null) 202 202 { 203 $app =& App::getInstance(); 204 203 205 $page_id = $this->_calculatePageID($page_id); 204 206 … … 219 221 } else if ($crumb_count > $this->getFeature('chop_breadcrumb_links')) { 220 222 // A normal linked crumb. 221 $breadcrumbs .= oTxt($pathmark, true) . '<a href="' . App::oHREF($page['url']) . '">' . sprintf($this->last_crumb_format, oTxt($page['title'], true)) . '</a>';223 $breadcrumbs .= oTxt($pathmark, true) . '<a href="' . $app->oHREF($page['url']) . '">' . sprintf($this->last_crumb_format, oTxt($page['title'], true)) . '</a>'; 222 224 } 223 225 } else { … … 227 229 } else { 228 230 // A normal linked crumb. 229 $breadcrumbs .= oTxt($pathmark, true) . '<a href="' . App::oHREF($page['url']) . '">' . oTxt($page['title'], true) . '</a>';231 $breadcrumbs .= oTxt($pathmark, true) . '<a href="' . $app->oHREF($page['url']) . '">' . oTxt($page['title'], true) . '</a>'; 230 232 } 231 233 }
Note: See TracChangeset
for help on using the changeset viewer.