Project

General

Profile

« Previous | Next » 

Revision 1431

Added by Dietmar almost 14 years ago

add page position in get_page_details

View differences:

class.frontend.php
25 25
class frontend extends wb {
26 26
	// defaults
27 27
	public $default_link,$default_page_id;
28
	// when multiple blocks are used, show home page blocks on 
28
	// when multiple blocks are used, show home page blocks on
29 29
	// pages where no content is defined (search, login, ...)
30 30
	public $default_block_content=true;
31 31

  
32 32
	// page details
33 33
	// page database row
34 34
	public $page;
35
	public $page_id,$page_title,$menu_title,$parent,$root_parent,$level,$visibility;
35
	public $page_id,$page_title,$menu_title,$parent,$root_parent,$level,$position,$visibility;
36 36
	public $page_description,$page_keywords,$page_link;
37 37
	public $page_trail=array();
38 38
	
......
162 162
			// Page level
163 163
			if(!defined('LEVEL')) {define('LEVEL', $this->page['level']);}
164 164
			$this->level=$this->page['level'];
165
			// Page position
166
			$this->level=$this->page['position'];
165 167
			// Page visibility
166 168
			if(!defined('VISIBILITY')) {define('VISIBILITY', $this->page['visibility']);}
167 169
			$this->visibility=$this->page['visibility'];

Also available in: Unified diff