Changeset 186


Ignore:
Timestamp:
Jun 24, 2006 11:35:53 PM (18 years ago)
Author:
scdev
Message:

Q - bugfixing Navigation.inc.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Navigation.inc.php

    r185 r186  
    5858        $page = array(
    5959            'title' => $title,
     60            'head_title' => $title,
     61            'body_title' => $title,
    6062            'url' => is_null($url) ? $_SERVER['PHP_SELF'] : $url,
    6163        );
     
    120122    {
    121123        // Set params of current page.
    122         $curr_page =& $this->pages[sizeof($this->pages) - 1];
     124        $curr_page =& $this->pages[sizeof($this->pages) - 1];       
    123125        $curr_page[$key] = $val;
    124126    }
     
    150152
    151153        case 'body_title' :
    152             if (!$this->getParam('body_title') && $this->getParam('title') && isset($curr_page['body_title'])) {
     154            if ($this->getParam('body_title') && $this->getParam('title') && isset($curr_page['body_title'])) {
    153155                return $curr_page['body_title'];
    154156            }
Note: See TracChangeset for help on using the changeset viewer.