projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3980059
)
Make sure we have an application url for blocks, even if the application
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 30 Mar 2009 17:45:17 +0000
(13:45 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 30 Mar 2009 17:46:01 +0000
(13:46 -0400)
isn't listed in the sidebar.
imp/lib/DIMP.php
patch
|
blob
|
history
diff --git
a/imp/lib/DIMP.php
b/imp/lib/DIMP.php
index
4ef360a
..
2199bcc
100644
(file)
--- a/
imp/lib/DIMP.php
+++ b/
imp/lib/DIMP.php
@@
-137,6
+137,13
@@
class DIMP
foreach (DIMP::menuList() as $app) {
$app_urls[$app] = Horde::url($registry->getInitialPage($app), true);
}
+ require IMP_BASE . '/config/portal.php';
+ foreach ($dimp_block_list as $block) {
+ $app = $block['ob']->getApp();
+ if (empty($app_urls[$app])) {
+ $app_urls[$app] = Horde::url($registry->getInitialPage($app), true);
+ }
+ }
/* Variables used in core javascript files. */
$code['conf'] = array(