- Timestamp:
- Dec 22, 2010, 12:14:20 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2.1 merged: 8222
- Property svn:mergeinfo changed
-
trunk/include/menubar.inc.php
r6951 r8223 42 42 if ( ($block=$menu->get_block('mbLinks')) and !empty($conf['links']) ) 43 43 { 44 $ data = array();44 $block->data = array(); 45 45 foreach ($conf['links'] as $url => $url_data) 46 46 { … … 70 70 ); 71 71 } 72 $ data[] = $tpl_var;72 $block->data[] = $tpl_var; 73 73 } 74 74 } 75 $block->template = 'menubar_links.tpl'; 76 $block->data = $data; 75 if ( !empty($block->data) ) 76 { 77 $block->template = 'menubar_links.tpl'; 78 } 77 79 } 78 80
Note: See TracChangeset
for help on using the changeset viewer.