Changeset 186 for trunk/lib/Navigation.inc.php
- Timestamp:
- Jun 24, 2006 11:35:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Navigation.inc.php
r185 r186 58 58 $page = array( 59 59 'title' => $title, 60 'head_title' => $title, 61 'body_title' => $title, 60 62 'url' => is_null($url) ? $_SERVER['PHP_SELF'] : $url, 61 63 ); … … 120 122 { 121 123 // Set params of current page. 122 $curr_page =& $this->pages[sizeof($this->pages) - 1]; 124 $curr_page =& $this->pages[sizeof($this->pages) - 1]; 123 125 $curr_page[$key] = $val; 124 126 } … … 150 152 151 153 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'])) { 153 155 return $curr_page['body_title']; 154 156 }
Note: See TracChangeset
for help on using the changeset viewer.