whitespace cleanup
This commit is contained in:
parent
1d65bc6382
commit
d2226c0e9b
@ -12,8 +12,8 @@ function nav(&$a) {
|
|||||||
App::$page['nav'] = '';
|
App::$page['nav'] = '';
|
||||||
|
|
||||||
$base = z_root();
|
$base = z_root();
|
||||||
App::$page['htmlhead'] .= <<< EOT
|
|
||||||
|
|
||||||
|
App::$page['htmlhead'] .= <<< EOT
|
||||||
<script>$(document).ready(function() {
|
<script>$(document).ready(function() {
|
||||||
$("#nav-search-text").search_autocomplete('$base/acl');
|
$("#nav-search-text").search_autocomplete('$base/acl');
|
||||||
});
|
});
|
||||||
@ -21,8 +21,6 @@ function nav(&$a) {
|
|||||||
</script>
|
</script>
|
||||||
EOT;
|
EOT;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(local_channel()) {
|
if(local_channel()) {
|
||||||
$channel = App::get_channel();
|
$channel = App::get_channel();
|
||||||
$observer = App::get_observer();
|
$observer = App::get_observer();
|
||||||
@ -257,7 +255,6 @@ $powered_by = '';
|
|||||||
'$pleasewait' => t('Please wait...')
|
'$pleasewait' => t('Please wait...')
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
if(x($_SESSION, 'reload_avatar') && $observer) {
|
if(x($_SESSION, 'reload_avatar') && $observer) {
|
||||||
// The avatar has been changed on the server but the browser doesn't know that,
|
// 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.
|
// force the browser to reload the image from the server instead of its cache.
|
||||||
|
Reference in New Issue
Block a user