Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 82... Línea 82...
82
    die();
82
    die();
83
}
83
}
Línea 84... Línea 84...
84
 
84
 
85
$returnurl = new moodle_url('recipients.php', array('id' => $badge->id));
85
$returnurl = new moodle_url('recipients.php', array('id' => $badge->id));
86
$returnlink = html_writer::link($returnurl, $strrecipients);
86
$returnlink = html_writer::link($returnurl, $strrecipients);
-
 
87
$actionbar = new \core_badges\output\standard_action_bar(
-
 
88
    page: $PAGE,
-
 
89
    type: $badge->type,
-
 
90
    showaddbadge: false,
-
 
91
    backurl: $returnurl
87
$actionbar = new \core_badges\output\standard_action_bar($PAGE, $badge->type, false, false, $returnurl);
92
);
88
$output = $PAGE->get_renderer('core', 'badges');
93
$output = $PAGE->get_renderer('core', 'badges');
Línea 89... Línea 94...
89
$tertiarynav = $output->render_tertiary_navigation($actionbar);
94
$tertiarynav = $output->render_tertiary_navigation($actionbar);
90
 
95