Ignore:
Timestamp:
May 26, 2006 9:29:19 PM (18 years ago)
Author:
scdev
Message:

finished /lib folder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0singleton/lib/Nav.inc.php

    r44 r128  
    201201    function getBreadcrumbs($page_id=null)
    202202    {
     203        $app =& App::getInstance();
     204
    203205        $page_id = $this->_calculatePageID($page_id);
    204206
     
    219221                    } else if ($crumb_count > $this->getFeature('chop_breadcrumb_links')) {
    220222                        // 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>';
    222224                    }
    223225                } else {
     
    227229                    } else {
    228230                        // 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>';
    230232                    }
    231233                }
Note: See TracChangeset for help on using the changeset viewer.