diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-18 16:57:45 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-18 16:57:45 -0700 |
commit | dae89ce91c65679003d10da113a45f3ff37a8d39 (patch) | |
tree | 2e0e3f52d26931e5cab0fb949fc940b3dc5ec9ad /include | |
parent | 12c571a1878348c77362a345853eb9575943ef38 (diff) | |
download | volse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.tar.gz volse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.tar.bz2 volse-hubzilla-dae89ce91c65679003d10da113a45f3ff37a8d39.zip |
wrong default param for pubstream_incl (this checkin also picked up a few minor and hopefully non-significant changes)
Diffstat (limited to 'include')
-rw-r--r-- | include/nav.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/nav.php b/include/nav.php index a443c58ff..c5ceb97c5 100644 --- a/include/nav.php +++ b/include/nav.php @@ -17,15 +17,7 @@ function nav($template = 'default') { if(!(x(App::$page,'nav'))) App::$page['nav'] = ''; - $base = z_root(); - - App::$page['htmlhead'] .= <<< EOT -<script>$(document).ready(function() { - $("#nav-search-text").search_autocomplete('$base/acl'); -}); - -</script> -EOT; + App::$page['htmlhead'] .= '<script>$(document).ready(function() { $("#nav-search-text").search_autocomplete(\'' . z_root() . '/acl' . '\');});</script>'; $is_owner = (((local_channel()) && ((App::$profile_uid == local_channel()) || (App::$profile_uid == 0))) ? true : false); |