Update of /cvsroot/phpslash/phpslash-dev/include/modules/block/blocktypes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6911
Modified Files:
Block_render_page.class
Log Message:
Make sensible MAINPAGE value available to breadcrumb
Index: Block_render_page.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/block/blocktypes/Block_render_page.class,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Block_render_page.class 22 Jun 2004 20:50:53 -0000 1.5
--- Block_render_page.class 18 Oct 2004 17:14:00 -0000 1.6
***************
*** 195,199 ****
'DELIMETER' => $delimiter,
'LINK' => "?topic_id=" . $ary['topic_id'] . $section_link,
! 'NAME' => $ary['topic']
));
$topic_link = $as . "topic_id=" . $ary['topic_id'];
--- 195,200 ----
'DELIMETER' => $delimiter,
'LINK' => "?topic_id=" . $ary['topic_id'] . $section_link,
! 'NAME' => $ary['topic'],
! 'MAINPAGE' => $section_link ? $_PSL['mainpage'] : 'search.php'
));
$topic_link = $as . "topic_id=" . $ary['topic_id'];
***************
*** 207,211 ****
'DELIMETER' => $delimiter,
'LINK' => "?author_id=" . $ary['author_id'] . $section_link . $topic_link,
! 'NAME' => $ary['author']
));
$template->parse ("crumb_block", "each_crumb", true);
--- 208,213 ----
'DELIMETER' => $delimiter,
'LINK' => "?author_id=" . $ary['author_id'] . $section_link . $topic_link,
! 'NAME' => $ary['author'],
! 'MAINPAGE' => $section_link ? $_PSL['mainpage'] : 'search.php'
));
$template->parse ("crumb_block", "each_crumb", true);
|