diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-01-22 10:20:39 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-01-22 10:20:39 +0100 |
commit | d2226c0e9b6e943510bff01ff8ccc62e0d9cfea7 (patch) | |
tree | 2cec67c9667d8c7a3375b339150bc1d8571ea7d7 | |
parent | 1d65bc6382ce6a474411e73b72a5c4d155a5ebb2 (diff) | |
download | volse-hubzilla-d2226c0e9b6e943510bff01ff8ccc62e0d9cfea7.tar.gz volse-hubzilla-d2226c0e9b6e943510bff01ff8ccc62e0d9cfea7.tar.bz2 volse-hubzilla-d2226c0e9b6e943510bff01ff8ccc62e0d9cfea7.zip |
whitespace cleanup
-rw-r--r-- | include/nav.php | 13 |
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. |