MDL-30465 Add br tag when showing the 'Export to Portfolio' text
This commit is contained in:
committed by
Sam Hemelryk
parent
487b07bcc1
commit
879b36fe31
+4
-1
@@ -238,7 +238,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>";
|
||||
|
||||
Reference in New Issue
Block a user