move doc file parsing and rendering from the module level to the help library so that it can be re-used by widgets

This commit is contained in:
redmatrix
2016-09-04 00:50:35 -07:00
parent 0998a108ea
commit 5a1887ed17
3 changed files with 101 additions and 86 deletions

View File

@@ -1492,6 +1492,9 @@ function widget_tasklist($arr) {
function widget_helpindex($arr) {
$o .= '<div class="widget">' . '<h3>' . t('Documentation') . '</h3>';
$o .= '<ul class="nav nav-pills nav-stacked">';
$o .= '<li><a href="help/general">' . t('Project/Site Information') . '</a></li>';