X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fdirectory.php;h=703c08ce1bec37bfdd1add92c130fd5b812f05e4;hb=e59377d96b09c8d7bc0090ce2cea0e99517c7d9b;hp=6aa890226b6479679e7a04c6188655dfd2304810;hpb=d5a13b1e4c0f35445aa539ff6b3779062907a9cb;p=friendica.git diff --git a/mod/directory.php b/mod/directory.php index 6aa890226b..703c08ce1b 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -4,16 +4,23 @@ function directory_init(&$a) { } function directory_content(&$a) { + $o = ''; $o .= ''; $search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : ''); - $tpl .= load_view_file('view/directory_header.tpl'); + $tpl = load_view_file('view/directory_header.tpl'); - + $globaldir = ''; + $gdirpath = dirname(get_config('system','directory_submit_url')); + if(strlen($gdirpath)) { + $globaldir = '