Skip to content

Commit

Permalink
MDL-37564 linked dependant plugin component text to plugins DB
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee authored and Damyon Wiese committed Sep 3, 2013
1 parent e75bd18 commit 3bc786a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion admin/renderer.php
Expand Up @@ -918,9 +918,11 @@ protected function required_column(plugininfo_base $plugin, plugin_manager $plug
} else {
$str = 'otherplugin';
}
$componenturl = new moodle_url('https://moodle.org/plugins/view.php?plugin='.$component);
$componenturl = html_writer::tag('a', $component, array('href' => $componenturl->out()));
$requires[] = html_writer::tag('li',
get_string($str, 'core_plugin',
array('component' => $component, 'version' => $requiredversion)),
array('component' => $componenturl, 'version' => $requiredversion)),
array('class' => $class));
}

Expand Down

0 comments on commit 3bc786a

Please sign in to comment.