Merge pull request #274 from mrjive/master

Small adding in search result page in /help
This commit is contained in:
redmatrix 2016-02-05 11:11:36 +11:00
commit a0900ba052

View File

@ -145,7 +145,10 @@ function help_content(&$a) {
if($_REQUEST['search']) { if($_REQUEST['search']) {
$o .= '<div id="help-content" class="generic-content-wrapper">'; $o .= '<div id="help-content" class="generic-content-wrapper">';
$o .= '<div class="section-title-wrapper">';
$o .= '<h2>' . t('Documentation Search') . ' - ' . htmlspecialchars($_REQUEST['search']) . '</h2>'; $o .= '<h2>' . t('Documentation Search') . ' - ' . htmlspecialchars($_REQUEST['search']) . '</h2>';
$o .= '</div>';
$o .= '<div class="section-content-wrapper">';
$r = search_doc_files($_REQUEST['search']); $r = search_doc_files($_REQUEST['search']);
if($r) { if($r) {
@ -162,6 +165,7 @@ function help_content(&$a) {
} }
$o .= '</ul>'; $o .= '</ul>';
$o .= '</div>'; $o .= '</div>';
$o .= '</div>';
} }
return $o; return $o;
} }