Partly reverting formatting to cause a code style checker error
This commit is contained in:
parent
5cfb0cb58a
commit
d4fd151227
1 changed files with 18 additions and 18 deletions
|
@ -285,15 +285,15 @@ class Conversation
|
||||||
$this->profiler->startRecording('rendering');
|
$this->profiler->startRecording('rendering');
|
||||||
$o = '';
|
$o = '';
|
||||||
|
|
||||||
$x['allow_location'] = $x['allow_location'] ?? $user['allow_location'];
|
$x['allow_location'] = $x['allow_location'] ?? $user['allow_location'];
|
||||||
$x['default_location'] = $x['default_location'] ?? $user['default-location'];
|
$x['default_location'] = $x['default_location'] ?? $user['default-location'];
|
||||||
$x['nickname'] = $x['nickname'] ?? $user['nickname'];
|
$x['nickname'] = $x['nickname'] ?? $user['nickname'];
|
||||||
$x['lockstate'] = $x['lockstate'] ?? ACL::getLockstateForUserId($user['uid']) ? 'lock' : 'unlock';
|
$x['lockstate'] = $x['lockstate'] ?? ACL::getLockstateForUserId($user['uid']) ? 'lock' : 'unlock';
|
||||||
$x['acl'] = $x['acl'] ?? ACL::getFullSelectorHTML($this->page, $user['uid'], true);
|
$x['acl'] = $x['acl'] ?? ACL::getFullSelectorHTML($this->page, $user['uid'], true);
|
||||||
$x['bang'] = $x['bang'] ?? '';
|
$x['bang'] = $x['bang'] ?? '';
|
||||||
$x['visitor'] = $x['visitor'] ?? 'block';
|
$x['visitor'] = $x['visitor'] ?? 'block';
|
||||||
$x['is_owner'] = $x['is_owner'] ?? true;
|
$x['is_owner'] = $x['is_owner'] ?? true;
|
||||||
$x['profile_uid'] = $x['profile_uid'] ?? local_user();
|
$x['profile_uid'] = $x['profile_uid'] ?? local_user();
|
||||||
|
|
||||||
|
|
||||||
$geotag = !empty($x['allow_location']) ? Renderer::replaceMacros(Renderer::getMarkupTemplate('jot_geotag.tpl'), []) : '';
|
$geotag = !empty($x['allow_location']) ? Renderer::replaceMacros(Renderer::getMarkupTemplate('jot_geotag.tpl'), []) : '';
|
||||||
|
@ -440,16 +440,16 @@ class Conversation
|
||||||
. "; var netargs = '" . substr($this->args->getCommand(), 8)
|
. "; var netargs = '" . substr($this->args->getCommand(), 8)
|
||||||
. '?f='
|
. '?f='
|
||||||
. (!empty($_GET['contactid']) ? '&contactid=' . rawurlencode($_GET['contactid']) : '')
|
. (!empty($_GET['contactid']) ? '&contactid=' . rawurlencode($_GET['contactid']) : '')
|
||||||
. (!empty($_GET['search']) ? '&search=' . rawurlencode($_GET['search']) : '')
|
. (!empty($_GET['search']) ? '&search=' . rawurlencode($_GET['search']) : '')
|
||||||
. (!empty($_GET['star']) ? '&star=' . rawurlencode($_GET['star']) : '')
|
. (!empty($_GET['star']) ? '&star=' . rawurlencode($_GET['star']) : '')
|
||||||
. (!empty($_GET['order']) ? '&order=' . rawurlencode($_GET['order']) : '')
|
. (!empty($_GET['order']) ? '&order=' . rawurlencode($_GET['order']) : '')
|
||||||
. (!empty($_GET['bmark']) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
|
. (!empty($_GET['bmark']) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
|
||||||
. (!empty($_GET['liked']) ? '&liked=' . rawurlencode($_GET['liked']) : '')
|
. (!empty($_GET['liked']) ? '&liked=' . rawurlencode($_GET['liked']) : '')
|
||||||
. (!empty($_GET['conv']) ? '&conv=' . rawurlencode($_GET['conv']) : '')
|
. (!empty($_GET['conv']) ? '&conv=' . rawurlencode($_GET['conv']) : '')
|
||||||
. (!empty($_GET['nets']) ? '&nets=' . rawurlencode($_GET['nets']) : '')
|
. (!empty($_GET['nets']) ? '&nets=' . rawurlencode($_GET['nets']) : '')
|
||||||
. (!empty($_GET['cmin']) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
|
. (!empty($_GET['cmin']) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
|
||||||
. (!empty($_GET['cmax']) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
|
. (!empty($_GET['cmax']) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
|
||||||
. (!empty($_GET['file']) ? '&file=' . rawurlencode($_GET['file']) : '')
|
. (!empty($_GET['file']) ? '&file=' . rawurlencode($_GET['file']) : '')
|
||||||
|
|
||||||
. "'; </script>\r\n";
|
. "'; </script>\r\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue