Another try ...
This commit is contained in:
parent
1e583b4f35
commit
e08c5ca2e0
|
@ -33,6 +33,7 @@ return $config
|
||||||
'operators' => [
|
'operators' => [
|
||||||
'=>' => 'align_single_space_minimal',
|
'=>' => 'align_single_space_minimal',
|
||||||
'=' => 'align_single_space_minimal',
|
'=' => 'align_single_space_minimal',
|
||||||
|
'??' => 'align_single_space_minimal',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'blank_line_after_namespace' => true,
|
'blank_line_after_namespace' => true,
|
||||||
|
|
|
@ -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'), []) : '';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user