mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-30428-master-1' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
98377ed578
1 changed files with 4 additions and 1 deletions
|
@ -239,7 +239,10 @@
|
||||||
);
|
);
|
||||||
$button = new portfolio_add_button();
|
$button = new portfolio_add_button();
|
||||||
$button->set_callback_options('chat_portfolio_caller', $buttonoptions, '/mod/chat/locallib.php');
|
$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)) {
|
if (has_capability('mod/chat:deletelog', $context)) {
|
||||||
echo "<br /><a href=\"report.php?id=$cm->id&start=$sessionstart&end=$sessionend&deletesession=1\">$strdeletesession</a>";
|
echo "<br /><a href=\"report.php?id=$cm->id&start=$sessionstart&end=$sessionend&deletesession=1\">$strdeletesession</a>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue