aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/directory.php5
1 files changed, 3 insertions, 2 deletions
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 .= "<script> var page_query = '" . $_GET['q'] . "'; var extra_args = '" . extra_query_args() . "' ; divmore_height = " . intval($maxheight) . "; </script>";
$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'))
-
));