more work on doco search

This commit is contained in:
redmatrix
2015-08-30 22:39:33 -07:00
parent 7ba1217a13
commit e23f86faa9
5 changed files with 30 additions and 1 deletions

View File

@@ -143,9 +143,12 @@ function help_content(&$a) {
nav_set_selected('help');
if($_REQUEST['search']) {
$o .= '<h2>' . t('Documentation Search') . ' - ' . htmlspecialchars($_REQUEST['search']) . '</h2>';
$r = search_doc_files($_REQUEST['search']);
if($r) {
$o .= '<ul>';
$o .= '<ul class="help-searchlist">';
foreach($r as $rr) {
$dirname = dirname($rr['sid']);
$fname = basename($rr['sid']);