Permalink
Browse files

MDL-37564 linked dependant plugin component text to plugins DB

  • Loading branch information...
1 parent a36b1f9 commit 75b0c09bd1ff129ba4705bcf178fadd12921631b @nebgor nebgor committed with damyon Jan 17, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 admin/renderer.php
View
@@ -1001,9 +1001,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));
}

0 comments on commit 75b0c09

Please sign in to comment.