* Fix bug #48805, support more link jumps for the OR interface's land block.
This commit is contained in:
@@ -271,7 +271,7 @@ $config->block->modules['todo']->moreLinkList->list = 'my|todo|type=all';
|
||||
|
||||
$config->block->modules['common'] = new stdclass();
|
||||
$config->block->modules['common']->moreLinkList = new stdclass();
|
||||
$config->block->modules['common']->moreLinkList->dynamic = 'company|dynamic|';
|
||||
$config->block->modules['common']->moreLinkList->dynamic = 'my|dynamic|';
|
||||
|
||||
$config->block->modules['doc'] = new stdclass();
|
||||
$config->block->modules['doc']->moreLinkList = new stdclass();
|
||||
|
||||
@@ -290,10 +290,14 @@ class blockZen extends block
|
||||
{
|
||||
$block->moreLink = $this->createLink('testtask', 'browse', 'productID=0&branch=0&type=all,totalStatus');
|
||||
}
|
||||
elseif($block->code == 'recentproject' || $block->code == 'project')
|
||||
{
|
||||
$block->moreLink = $this->config->vision == 'or' ? $this->createLink('marketresearch', 'all') : $this->createLink('project', 'browse');
|
||||
}
|
||||
}
|
||||
elseif($block->code == 'dynamic')
|
||||
{
|
||||
$block->moreLink = $this->createLink('company', 'dynamic');
|
||||
$block->moreLink = $this->createLink('my', 'dynamic');
|
||||
}
|
||||
|
||||
return $block;
|
||||
|
||||
Reference in New Issue
Block a user