Thread: [Phpslash-commit] CVS: phpslash-dev/include/modules/block/blocktypes Block_render_page.class,1.2,1.3
Brought to you by:
joestewart,
nhruby
[Phpslash-commit] CVS: phpslash-dev/include/modules/block/blocktypes Block_render_page.class,1.2,1.3
From: Joe S. <joe...@us...> - 2003-05-23 16:45:34
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/block/blocktypes In directory sc8-pr-cvs1:/tmp/cvs-serv23971/phpslash-dev/include/modules/block/blocktypes Modified Files: Block_render_page.class Log Message: Block_render_page.class - call breadcrumb function. Index: Block_render_page.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/block/blocktypes/Block_render_page.class,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Block_render_page.class 21 Apr 2003 16:41:23 -0000 1.2 --- Block_render_page.class 23 May 2003 16:45:31 -0000 1.3 *************** *** 40,44 **** } ! if(is_object($GLOBALS['block'])) { // already have a block object --- 40,47 ---- } ! ! // setup variables to be displayed ! $breadcrumb = breadcrumb($ary); ! if(is_object($GLOBALS['block'])) { // already have a block object *************** *** 46,51 **** } else { // no block object - create one ! $this->psl['module']['module.current'] = $this->psl['module']['Block']; ! include($this->psl['moduledir'] ."/". $this->psl['module']['module.current'] ."/". $pagefilename .".php"); $block = pslNew("Block_i"); } --- 49,53 ---- } else { // no block object - create one ! include($this->psl['moduledir'] ."/". $this->psl['module']['Block'] ."/". $pagefilename .".php"); $block = pslNew("Block_i"); } *************** *** 55,59 **** $centerblocks = $block->getBlocks($ary, "center"); $rightblocks = $block->getBlocks($ary, "right"); ! $bottomblocks = $block->getBlocks($GLOBALS['ary'], "bottom"); if (empty($leftblocks)) { --- 57,61 ---- $centerblocks = $block->getBlocks($ary, "center"); $rightblocks = $block->getBlocks($ary, "right"); ! $bottomblocks = $block->getBlocks($ary, "bottom"); if (empty($leftblocks)) { |