diff --git a/mod/directory.php b/mod/directory.php index 67074d8cd..fa328462c 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -365,6 +365,8 @@ function directory_content(&$a) { else { $maxheight = 94; + $dirtitle = (($globaldir) ? t('Global Directory') : t('Local Directory')); + $o .= ""; $o .= replace_macros($tpl, array( '$search' => $search, @@ -372,10 +374,9 @@ function directory_content(&$a) { '$finddsc' => t('Finding:'), '$safetxt' => htmlspecialchars($search,ENT_QUOTES,'UTF-8'), '$entries' => $entries, - '$dirlbl' => $suggest ? t('Channel Suggestions') : t('Directory'), + '$dirlbl' => $suggest ? t('Channel Suggestions') : $dirtitle, '$submit' => t('Find'), '$next' => alt_pager($a,$j['records'], t('next page'), t('previous page')) - ));