Revision 631
Added by thorn almost 17 years ago
search.php | ||
---|---|---|
337 | 337 |
'database' => $database, |
338 | 338 |
'page_id' => $res['page_id'], |
339 | 339 |
'section_id' => $res['section_id'], |
340 |
'page_title' => $res['page_title'],
|
|
341 |
'page_menu_title' => $res['menu_title'],
|
|
340 |
'page_title' => $res['menu_title'], // had to change this, since the link is build from page_title (changeset #593)
|
|
341 |
'page_menu_title' => $res['page_title'],
|
|
342 | 342 |
'page_description' => ($cfg_show_description?$res['description']:""), |
343 | 343 |
'page_keywords' => $res['keywords'], |
344 | 344 |
'page_link' => $res['link'], |
... | ... | |
390 | 390 |
$func_vars = array( |
391 | 391 |
'database' => $database, |
392 | 392 |
'page_id' => $page['page_id'], |
393 |
'page_title' => $page['page_title'],
|
|
394 |
'page_menu_title' => $page['menu_title'],
|
|
393 |
'page_title' => $page['menu_title'], // had to change this, since the link is build from page_title (changeset #593)
|
|
394 |
'page_menu_title' => $page['page_title'],
|
|
395 | 395 |
'page_description' => ($cfg_show_description?$page['description']:""), |
396 | 396 |
'page_keywords' => $page['keywords'], |
397 | 397 |
'page_link' => $page['link'], |
... | ... | |
605 | 605 |
if($cfg_show_description == 0) { |
606 | 606 |
$page['description'] = ""; |
607 | 607 |
} |
608 |
$values = array($link, $page['page_title'], $page['description'], $users[$page['modified_by']]['username'], $users[$page['modified_by']]['display_name'], $date, $time, $TEXT['LAST_UPDATED_BY'], strtolower($TEXT['ON']), $excerpt); |
|
608 |
if(isset($page['menu_title'])) $rep_title = $page['menu_title']; |
|
609 |
else $rep_title = $page['page_title']; |
|
610 |
$values = array($link, $rep_title, $page['description'], $users[$page['modified_by']]['username'], $users[$page['modified_by']]['display_name'], $date, $time, $TEXT['LAST_UPDATED_BY'], strtolower($TEXT['ON']), $excerpt); |
|
609 | 611 |
// Show loop code with vars replaced by values |
610 | 612 |
echo str_replace($vars, $values, ($fetch_results_loop['value'])); |
611 | 613 |
// Say that this page has been listed |
Also available in: Unified diff
changeset 627: menu_link and search/search.php needs some minor changes, too.