Changeset 309

Show
Ignore:
Timestamp:
05/08/06 08:35:43 (3 years ago)
Author:
carmartin
Message:

displaymenu() and friends -- remove the   added for spacing

Spacing between menu items can be controlled better from CSS, and from what
I can see, html-based "helpers" like   get in the way. Put with the old,
in with the new!

Signed-off-by: Martin Langhoff <martin@catalyst.net.nz>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/displaylib.php

    r269 r309  
    355355        return templates_draw(array( 
    356356                                    'context' => 'topmenu', 
    357                                     'menuitems' => menu_join('&nbsp;', $PAGE->menu_top) 
     357                                    'menuitems' => menu_join('', $PAGE->menu_top) 
    358358                                    ) 
    359359                              ); 
     
    371371    return templates_draw(array( 
    372372                                'context' => 'menu', 
    373                                 'menuitems' => menu_join('&nbsp;', $PAGE->menu) 
     373                                'menuitems' => menu_join('', $PAGE->menu) 
    374374                                ) 
    375375                          ); 
     
    386386        return templates_draw(array( 
    387387                                    'context' => 'submenu', 
    388                                     'menuitems' => menu_join('&nbsp;', $PAGE->menu_sub) 
     388                                    'menuitems' => menu_join('', $PAGE->menu_sub) 
    389389                                    ) 
    390390                              ); 
     
    401401        return templates_draw(array( 
    402402                                    'context' => 'menu', 
    403                                     'menuitems' => menu_join('&nbsp;', $PAGE->menu_user) 
     403                                    'menuitems' => menu_join('', $PAGE->menu_user) 
    404404                                    ) 
    405405                              );