mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-30428 Add br tag when showing the 'Export to Portfolio' text
This commit is contained in:
parent
6be90ce05f
commit
9e23487a10
@ -239,7 +239,10 @@
|
||||
);
|
||||
$button = new portfolio_add_button();
|
||||
$button->set_callback_options('chat_portfolio_caller', $buttonoptions, '/mod/chat/locallib.php');
|
||||
$button->render(PORTFOLIO_ADD_TEXT_LINK);
|
||||
$portfoliobutton = $button->to_html(PORTFOLIO_ADD_TEXT_LINK);
|
||||
if (!empty($portfoliobutton)) {
|
||||
echo '<br />' . $portfoliobutton;
|
||||
}
|
||||
}
|
||||
if (has_capability('mod/chat:deletelog', $context)) {
|
||||
echo "<br /><a href=\"report.php?id=$cm->id&start=$sessionstart&end=$sessionend&deletesession=1\">$strdeletesession</a>";
|
||||
|
Loading…
x
Reference in New Issue
Block a user