mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-59900 core_admin: moved analytic links to their own category
This commit is contained in:
parent
32f9550e85
commit
9a1067f389
@ -26,7 +26,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
if ($hassiteconfig) {
|
||||
$settings = new admin_settingpage('analyticssettings', new lang_string('analyticssettings', 'analytics'));
|
||||
$ADMIN->add('appearance', $settings);
|
||||
$ADMIN->add('analytics', $settings);
|
||||
|
||||
if ($ADMIN->fulltree) {
|
||||
// Select the site prediction's processor.
|
||||
|
@ -30,6 +30,7 @@ if ($hassiteconfig) {
|
||||
$ADMIN->add('root', new admin_category('users', new lang_string('users','admin')));
|
||||
$ADMIN->add('root', new admin_category('courses', new lang_string('courses','admin')));
|
||||
$ADMIN->add('root', new admin_category('grades', new lang_string('grades')));
|
||||
$ADMIN->add('root', new admin_category('analytics', new lang_string('analytics', 'analytics')));
|
||||
$ADMIN->add('root', new admin_category('competencies', new lang_string('competencies', 'core_competency')));
|
||||
$ADMIN->add('root', new admin_category('badges', new lang_string('badges'), empty($CFG->enablebadges)));
|
||||
$ADMIN->add('root', new admin_category('location', new lang_string('location','admin')));
|
||||
|
@ -24,5 +24,5 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$ADMIN->add('reports', new admin_externalpage('analyticmodels', get_string('analyticmodels', 'tool_analytics'),
|
||||
$ADMIN->add('analytics', new admin_externalpage('analyticmodels', get_string('analyticmodels', 'tool_analytics'),
|
||||
"$CFG->wwwroot/$CFG->admin/tool/analytics/index.php", 'moodle/analytics:managemodels'));
|
||||
|
@ -25,6 +25,7 @@
|
||||
$string['analysablenotused'] = 'Analysable {$a->analysableid} not used: {$a->errors}';
|
||||
$string['analysablenotvalidfortarget'] = 'Analysable {$a->analysableid} is not valid for this target: {$a->result}';
|
||||
$string['analysisinprogress'] = 'Still being analysed by a previous execution';
|
||||
$string['analytics'] = 'Analytics';
|
||||
$string['analyticslogstore'] = 'Log store used for analytics';
|
||||
$string['analyticslogstore_help'] = 'The log store that will be used by the analytics API to read users\' activity';
|
||||
$string['analyticssettings'] = 'Analytics settings';
|
||||
|
Loading…
x
Reference in New Issue
Block a user