Revision 1598
Added by Dietmar almost 13 years ago
frontend.functions.php | ||
---|---|---|
266 | 266 |
if(!defined('PAGE_CONTENT') OR $block!=1) |
267 | 267 |
{ |
268 | 268 |
$page_id = intval($wb->page_id); |
269 |
/* move to class.frontend |
|
269 | 270 |
// set session variable to save page_id only if PAGE_CONTENT is empty |
270 | 271 |
$_SESSION['PAGE_ID'] = !isset($_SESSION['PAGE_ID']) ? $page_id : $_SESSION['PAGE_ID']; |
271 | 272 |
// set to new value if page_id changed and not 0 |
... | ... | |
273 | 274 |
{ |
274 | 275 |
$_SESSION['PAGE_ID'] = $page_id; |
275 | 276 |
} |
277 |
*/ |
|
276 | 278 |
// First get all sections for this page |
277 | 279 |
$sql = 'SELECT `section_id`, `module`, `publ_start`, `publ_end` '; |
278 | 280 |
$sql .= 'FROM `'.TABLE_PREFIX.'sections` '; |
Also available in: Unified diff
fixed undefined fragment index in initialize.php
add $_SESSION['HTTP_REFERER'] storing active pagelink if page_id != 0