* Fix bug #48805, support more link jumps for the OR interface's land block.

This commit is contained in:
hufangzhou
2024-05-07 14:17:45 +08:00
parent 95722eb100
commit 75d44ac650
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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();
+5 -1
View File
@@ -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;