aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/nav.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/include/nav.php b/include/nav.php
index e389308ff..94547b20e 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -12,8 +12,8 @@ function nav(&$a) {
App::$page['nav'] = '';
$base = z_root();
- App::$page['htmlhead'] .= <<< EOT
+ App::$page['htmlhead'] .= <<< EOT
<script>$(document).ready(function() {
$("#nav-search-text").search_autocomplete('$base/acl');
});
@@ -21,8 +21,6 @@ function nav(&$a) {
</script>
EOT;
-
-
if(local_channel()) {
$channel = App::get_channel();
$observer = App::get_observer();
@@ -234,11 +232,11 @@ EOT;
$x = array('nav' => $nav, 'usermenu' => $userinfo );
call_hooks('nav', $x);
-// Not sure the best place to put this on the page. So I'm implementing it but leaving it
-// turned off until somebody discovers this and figures out a good location for it.
-$powered_by = '';
+ // Not sure the best place to put this on the page. So I'm implementing it but leaving it
+ // turned off until somebody discovers this and figures out a good location for it.
+ $powered_by = '';
-// $powered_by = '<strong>red<img class="smiley" src="' . z_root() . '/images/rm-16.png" alt="r#" />matrix</strong>';
+ // $powered_by = '<strong>red<img class="smiley" src="' . z_root() . '/images/rm-16.png" alt="r#" />matrix</strong>';
$tpl = get_markup_template('nav.tpl');
@@ -257,7 +255,6 @@ $powered_by = '';
'$pleasewait' => t('Please wait...')
));
-
if(x($_SESSION, 'reload_avatar') && $observer) {
// The avatar has been changed on the server but the browser doesn't know that,
// force the browser to reload the image from the server instead of its cache.