MDL-20438 added a link to toggle the plugins check page back to the shorter list

This commit is contained in:
David Mudrak 2012-03-26 16:07:02 +02:00
parent 5344ddd116
commit a687fcac7a
2 changed files with 5 additions and 0 deletions

View File

@ -667,6 +667,10 @@ class core_admin_renderer extends plugin_renderer_base {
$out .= html_writer::link(new moodle_url('/admin/index.php',
array('confirmupgrade' => 1, 'confirmrelease' => 1, 'showallplugins' => 1)),
get_string('somehighlightedinfo', 'core_plugin'));
} else {
$out .= html_writer::link(new moodle_url('/admin/index.php',
array('confirmupgrade' => 1, 'confirmrelease' => 1, 'showallplugins' => 0)),
get_string('somehighlightedonly', 'core_plugin'));
}
$out .= $this->output->container_end();
}

View File

@ -54,6 +54,7 @@ $string['rootdir'] = 'Directory';
$string['settings'] = 'Settings';
$string['somehighlighted'] = 'Number of plugins requiring attention during this upgrade: {$a}';
$string['somehighlightedinfo'] = 'Display the full list of installed plugins';
$string['somehighlightedonly'] = 'Display only plugins requiring your attention';
$string['source'] = 'Source';
$string['sourceext'] = 'Contributed';
$string['sourcestd'] = 'Standard';