Revision 830
Added by thorn over 16 years ago
search.php | ||
---|---|---|
360 | 360 |
'database' => $database, |
361 | 361 |
'page_id' => $res['page_id'], |
362 | 362 |
'section_id' => $res['section_id'], |
363 |
'page_title' => $res['menu_title'], // had to change this, since the link is build from page_title (changeset #593)
|
|
364 |
'page_menu_title' => $res['page_title'],
|
|
363 |
'page_title' => $res['page_title'],
|
|
364 |
'page_menu_title' => $res['menu_title'],
|
|
365 | 365 |
'page_description' => ($cfg_show_description?$res['description']:""), |
366 | 366 |
'page_keywords' => $res['keywords'], |
367 | 367 |
'page_link' => $res['link'], |
... | ... | |
438 | 438 |
$func_vars = array( |
439 | 439 |
'database' => $database, |
440 | 440 |
'page_id' => $page['page_id'], |
441 |
'page_title' => $page['menu_title'], // had to change this, since the link is build from page_title (changeset #593)
|
|
442 |
'page_menu_title' => $page['page_title'],
|
|
441 |
'page_title' => $page['page_title'],
|
|
442 |
'page_menu_title' => $page['menu_title'],
|
|
443 | 443 |
'page_description' => ($cfg_show_description?$page['description']:""), |
444 | 444 |
'page_keywords' => $page['keywords'], |
445 | 445 |
'page_link' => $page['link'], |
... | ... | |
651 | 651 |
if($cfg_show_description == 0) { |
652 | 652 |
$page['description'] = ""; |
653 | 653 |
} |
654 |
if(isset($page['menu_title'])) $rep_title = $page['menu_title']; |
|
655 |
else $rep_title = $page['page_title']; |
|
656 |
$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); |
|
654 |
$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); |
|
657 | 655 |
// Show loop code with vars replaced by values |
658 | 656 |
echo str_replace($vars, $values, ($fetch_results_loop['value'])); |
659 | 657 |
// Say that this page has been listed |
Also available in: Unified diff
revert back to pagename-creation from $page_menu, instead of $page_title