[cvs] [Wiki] changed: ExpandIMPMenus

Jan Schneider jan at horde.org
Sun Mar 5 01:32:29 PST 2006


jan  Sun, 05 Mar 2006 01:32:29 -0800

Modified page: http://wiki.horde.org/ExpandIMPMenus
New Revision:  1.1
Change log:  Formatting

@@ -1,17 +1,14 @@
-By default menus in Imp and in Horde in general, are collapsed. They have a little (+) plus sign next to them which you click to expand the menu.
+By default, menus in IMP and in Horde in general, are collapsed. They have a little (+) plus sign next to them which you click to expand the menu.
 This explains how to make menus expanded by default.
 
-The following was tested on Debian Sarge only, so the location of your files may vary.
+Find {{horde/imp/lib/Block/tree_folders.php}} and look for the {{$tree->addNode}} entry that affects the menu that you want to change.
 
-Find 'horde3/imp/lib/Block/tree_folders.php' and look for the $tree->addNode entry that affects the menu that you want to change.
+Under a Debian Sarge installation the file is located under {{/usr/share/horde3/imp/lib/Block/tree_folders.php}}.
 
-Under a Debian Sarge installation the file is located under::
+In line 159 - 161: the expand option defaults to false change it to true (see example below):
 
- /usr/share/horde3/imp/lib/Block/tree_folders.php
-
-In line 159 - 161: the expand option defaults to false change it to true (see example below)::
-
- $tree->addNode($parent, $registry->get('menu_parent', $parent),
-                 sprintf('<b>%s</b> (%s)', $registry->get('name', $parent), $unseen),
+<code type="php">
+$tree->addNode($parent, $registry->get('menu_parent', $parent),
+               sprintf('<b>%s</b> (%s)', $registry->get('name', $parent), $unseen),
                $indent - 1, true, $node_params);
-
+</code>


More information about the cvs mailing list