aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-19 08:45:41 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-19 08:45:41 +0200
commit1ca6ef0f60da9fcfd3e640d0ff43af5fc033eac5 (patch)
tree7a0bf98c9a81193e66d8579cee2afa15c9889dcb /include
parent056f3d352cb8855c0845bebc459973ddcb4c0b2f (diff)
parentdae89ce91c65679003d10da113a45f3ff37a8d39 (diff)
downloadvolse-hubzilla-1ca6ef0f60da9fcfd3e640d0ff43af5fc033eac5.tar.gz
volse-hubzilla-1ca6ef0f60da9fcfd3e640d0ff43af5fc033eac5.tar.bz2
volse-hubzilla-1ca6ef0f60da9fcfd3e640d0ff43af5fc033eac5.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include')
-rw-r--r--include/nav.php10
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);