mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Fix code style
This commit is contained in:
parent
7260f29292
commit
4bdd5f6bbe
3 changed files with 55 additions and 52 deletions
|
@ -139,8 +139,7 @@ class Compose extends BaseModule
|
||||||
if ($contact_allow
|
if ($contact_allow
|
||||||
. $circle_allow
|
. $circle_allow
|
||||||
. $contact_deny
|
. $contact_deny
|
||||||
. $circle_deny)
|
. $circle_deny) {
|
||||||
{
|
|
||||||
$contact_allow_list = $contact_allow ? explode(',', $contact_allow) : [];
|
$contact_allow_list = $contact_allow ? explode(',', $contact_allow) : [];
|
||||||
$circle_allow_list = $circle_allow ? explode(',', $circle_allow) : [];
|
$circle_allow_list = $circle_allow ? explode(',', $circle_allow) : [];
|
||||||
$contact_deny_list = $contact_deny ? explode(',', $contact_deny) : [];
|
$contact_deny_list = $contact_deny ? explode(',', $contact_deny) : [];
|
||||||
|
@ -206,8 +205,12 @@ class Compose extends BaseModule
|
||||||
'wait' => $this->l10n->t('Please wait'),
|
'wait' => $this->l10n->t('Please wait'),
|
||||||
'placeholdertitle' => $this->l10n->t('Set title'),
|
'placeholdertitle' => $this->l10n->t('Set title'),
|
||||||
'placeholdercategory' => Feature::isEnabled($this->session->getLocalUserId(), Feature::CATEGORIES) ? $this->l10n->t('Categories (comma-separated list)') : '',
|
'placeholdercategory' => Feature::isEnabled($this->session->getLocalUserId(), Feature::CATEGORIES) ? $this->l10n->t('Categories (comma-separated list)') : '',
|
||||||
'always_open_compose' => $this->pConfig->get($this->session->getLocalUserId(), 'frio', 'always_open_compose',
|
'always_open_compose' => $this->pConfig->get(
|
||||||
$this->config->get('frio', 'always_open_compose', false)) ? '' :
|
$this->session->getLocalUserId(),
|
||||||
|
'frio',
|
||||||
|
'always_open_compose',
|
||||||
|
$this->config->get('frio', 'always_open_compose', false)
|
||||||
|
) ? '' :
|
||||||
$this->l10n->t('You can make this page always open when you use the New Post button in the <a href="/settings/display">Theme Customization settings</a>.'),
|
$this->l10n->t('You can make this page always open when you use the New Post button in the <a href="/settings/display">Theme Customization settings</a>.'),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue