MDL-69582 tool_customlang: fix options layout
This commit is contained in:
@@ -57,8 +57,9 @@ class renderer extends \plugin_renderer_base {
|
||||
protected function render_tool_customlang_menu(\tool_customlang_menu $menu) {
|
||||
$output = '';
|
||||
foreach ($menu->get_items() as $item) {
|
||||
$output .= $this->single_button($item->url, $item->title, $item->method);
|
||||
$button = $this->single_button($item->url, $item->title, $item->method);
|
||||
$output .= $this->box($button, 'menu');
|
||||
}
|
||||
return $this->box($output, 'menu');
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user