Revision 1431
Added by Luisehahne almost 14 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
14 |
09 Feb-2011 Build 1430 Dietmar Woellbrink (Luisehahne) |
|
14 |
11 Feb-2011 Build 1431 Dietmar Woellbrink (Luisehahne) |
|
15 |
+ add page position in get_page_details |
|
16 |
11 Feb-2011 Build 1430 Dietmar Woellbrink (Luisehahne) |
|
15 | 17 |
# fix save settings dir and file mode (Tks to the community) |
16 | 18 |
09 Feb-2011 Build 1429 Dietmar Woellbrink (Luisehahne) |
17 | 19 |
# add forgotten javascript variable |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
52 | 52 |
|
53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5'); |
55 |
if(!defined('REVISION')) define('REVISION', '1430');
|
|
55 |
if(!defined('REVISION')) define('REVISION', '1431');
|
|
56 | 56 |
|
57 | 57 |
?> |
branches/2.8.x/wb/framework/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
add page position in get_page_details