X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fdirectory.php;h=a6a9cb8ab24356f4ef017c7ed3e01b9e0414e75c;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=be09dd37f681ac451003f11d917306b7d6dfe9c6;hpb=c5b724828a12a215d66e8086ed0ffdabfad5e928;p=friendica.git diff --git a/mod/directory.php b/mod/directory.php index be09dd37f6..a6a9cb8ab2 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -104,7 +104,7 @@ function directory_content(&$a) { $itemurl = (($rr['addr'] != "") ? $rr['addr'] : $rr['profile_url']); - $profile_link = z_root() . '/profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']); + $profile_link = 'profile/' . ((strlen($rr['nickname'])) ? $rr['nickname'] : $rr['profile_uid']); $pdesc = (($rr['pdesc']) ? $rr['pdesc'] . '
' : ''); @@ -159,7 +159,9 @@ function directory_content(&$a) { $location_e = $location; } - $photo_menu = array(array(t("View Profile"), zrl($profile_link))); + $photo_menu = array( + 'profile' => array(t("View Profile"), zrl($profile_link)) + ); $entry = array( 'id' => $rr['id'], @@ -204,7 +206,7 @@ function directory_content(&$a) { '$gdirpath' => $gdirpath, '$desc' => t('Find on this site'), '$contacts' => $entries, - '$finding' => t('Finding:'), + '$finding' => t('Results for:'), '$findterm' => (strlen($search) ? $search : ""), '$title' => t('Site Directory'), '$submit' => t('Find'),