From d2226c0e9b6e943510bff01ff8ccc62e0d9cfea7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 22 Jan 2017 10:20:39 +0100 Subject: whitespace cleanup --- include/nav.php | 13 +++++-------- 1 file 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 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 = 'redr#matrix'; + // $powered_by = 'redr#matrix'; $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. -- cgit v1.2.3