]> git.mxchange.org Git - friendica.git/commitdiff
Fix codestyle
authorMichael <heluecht@pirati.ca>
Sun, 26 Jan 2025 12:59:59 +0000 (12:59 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 26 Jan 2025 12:59:59 +0000 (12:59 +0000)
src/Module/BaseProfile.php
src/Module/Calendar/Show.php
src/Module/Conversation/Channel.php
src/Module/Conversation/Community.php
src/Module/Conversation/Network.php
tests/src/Content/Text/BBCodeTest.php
view/lang/C/messages.po
view/theme/frio/php/default.php
view/theme/frio/php/minimal.php
view/theme/frio/php/standard.php

index c034287469b5a834efd881d4864ca40546635212..4a73408bc9145c7acd6aee104fb975b5e37038c2 100644 (file)
@@ -31,35 +31,35 @@ class BaseProfile extends BaseModule
 
                $tabs = [
                        [
-                               'label' => DI::l10n()->t('Profile'),
-                               'url'   => $baseProfileUrl . '/profile',
-                               'sel'   => $current == 'profile' ? 'active' : '',
-                               'title' => DI::l10n()->t('Profile Details'),
-                               'id'    => 'profile-tab',
+                               'label'     => DI::l10n()->t('Profile'),
+                               'url'       => $baseProfileUrl . '/profile',
+                               'sel'       => $current == 'profile' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Profile Details'),
+                               'id'        => 'profile-tab',
                                'accesskey' => 'r',
                        ],
                        [
-                               'label' => DI::l10n()->t('Conversations'),
-                               'url'   => $baseProfileUrl . '/conversations',
-                               'sel'   => $current == 'status' ? 'active' : '',
-                               'title' => DI::l10n()->t('Conversations started'),
-                               'id'    => 'status-tab',
+                               'label'     => DI::l10n()->t('Conversations'),
+                               'url'       => $baseProfileUrl . '/conversations',
+                               'sel'       => $current == 'status' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Conversations started'),
+                               'id'        => 'status-tab',
                                'accesskey' => 'm',
                        ],
                        [
-                               'label' => DI::l10n()->t('Photos'),
-                               'url'   => $baseProfileUrl . '/photos',
-                               'sel'   => $current == 'photos' ? 'active' : '',
-                               'title' => DI::l10n()->t('Photo Albums'),
-                               'id'    => 'photo-tab',
+                               'label'     => DI::l10n()->t('Photos'),
+                               'url'       => $baseProfileUrl . '/photos',
+                               'sel'       => $current == 'photos' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Photo Albums'),
+                               'id'        => 'photo-tab',
                                'accesskey' => 'h',
                        ],
                        [
-                               'label' => DI::l10n()->t('Media'),
-                               'url'   => $baseProfileUrl . '/media',
-                               'sel'   => $current == 'media' ? 'active' : '',
-                               'title' => DI::l10n()->t('Media'),
-                               'id'    => 'media-tab',
+                               'label'     => DI::l10n()->t('Media'),
+                               'url'       => $baseProfileUrl . '/media',
+                               'sel'       => $current == 'media' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Media'),
+                               'id'        => 'media-tab',
                                'accesskey' => 'd',
                        ],
                ];
@@ -67,22 +67,22 @@ class BaseProfile extends BaseModule
                // the calendar link for the full-featured events calendar
                if ($is_owner) {
                        $tabs[] = [
-                               'label' => DI::l10n()->t('Calendar'),
-                               'url'   => DI::baseUrl() . '/calendar',
-                               'sel'   => $current == 'calendar' ? 'active' : '',
-                               'title' => DI::l10n()->t('Calendar'),
-                               'id'    => 'calendar-tab',
+                               'label'     => DI::l10n()->t('Calendar'),
+                               'url'       => DI::baseUrl() . '/calendar',
+                               'sel'       => $current == 'calendar' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Calendar'),
+                               'id'        => 'calendar-tab',
                                'accesskey' => 'c',
                        ];
                } else {
                        $owner = User::getByNickname($nickname, ['uid']);
                        if(DI::userSession()->isAuthenticated() || $owner && Feature::isEnabled($owner['uid'], Feature::PUBLIC_CALENDAR)) {
                                $tabs[] = [
-                                       'label' => DI::l10n()->t('Calendar'),
-                                       'url'   => DI::baseUrl() . '/calendar/show/' . $nickname,
-                                       'sel'   => $current == 'calendar' ? 'active' : '',
-                                       'title' => DI::l10n()->t('Calendar'),
-                                       'id'    => 'calendar-tab',
+                                       'label'     => DI::l10n()->t('Calendar'),
+                                       'url'       => DI::baseUrl() . '/calendar/show/' . $nickname,
+                                       'sel'       => $current == 'calendar' ? 'active' : '',
+                                       'title'     => DI::l10n()->t('Calendar'),
+                                       'id'        => 'calendar-tab',
                                        'accesskey' => 'c',
                                ];
                        }
@@ -90,30 +90,30 @@ class BaseProfile extends BaseModule
 
                if ($is_owner) {
                        $tabs[] = [
-                               'label' => DI::l10n()->t('Personal Notes'),
-                               'url'   => DI::baseUrl() . '/notes',
-                               'sel'   => $current == 'notes' ? 'active' : '',
-                               'title' => DI::l10n()->t('Only You Can See This'),
-                               'id'    => 'notes-tab',
+                               'label'     => DI::l10n()->t('Personal Notes'),
+                               'url'       => DI::baseUrl() . '/notes',
+                               'sel'       => $current == 'notes' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Only You Can See This'),
+                               'id'        => 'notes-tab',
                                'accesskey' => 't',
                        ];
                        $tabs[] = [
-                               'label' => DI::l10n()->t('Scheduled Posts'),
-                               'url'   => $baseProfileUrl . '/schedule',
-                               'sel'   => $current == 'schedule' ? 'active' : '',
-                               'title' => DI::l10n()->t('Posts that are scheduled for publishing'),
-                               'id'    => 'schedule-tab',
+                               'label'     => DI::l10n()->t('Scheduled Posts'),
+                               'url'       => $baseProfileUrl . '/schedule',
+                               'sel'       => $current == 'schedule' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Posts that are scheduled for publishing'),
+                               'id'        => 'schedule-tab',
                                'accesskey' => 'o',
                        ];
                }
 
                if (!$hide_friends) {
                        $tabs[] = [
-                               'label' => DI::l10n()->t('Contacts'),
-                               'url'   => $baseProfileUrl . '/contacts',
-                               'sel'   => $current == 'contacts' ? 'active' : '',
-                               'title' => DI::l10n()->t('Contacts'),
-                               'id'    => 'viewcontacts-tab',
+                               'label'     => DI::l10n()->t('Contacts'),
+                               'url'       => $baseProfileUrl . '/contacts',
+                               'sel'       => $current == 'contacts' ? 'active' : '',
+                               'title'     => DI::l10n()->t('Contacts'),
+                               'id'        => 'viewcontacts-tab',
                                'accesskey' => 'k',
                        ];
                }
index f808c9d50af2da061d8f502f542bcfc03a7428dd..9e9376d8bfd2c71ef9aaf638daef8a75031548d0 100644 (file)
@@ -21,7 +21,6 @@ use Friendica\Core\Session\Capability\IHandleUserSessions;
 use Friendica\Core\Theme;
 use Friendica\Model\Event;
 use Friendica\Model\Profile;
-use Friendica\Model\User;
 use Friendica\Module\BaseProfile;
 use Friendica\Module\Response;
 use Friendica\Module\Security\Login;
index 4c060b65d7643847f12c485cf3124587e7e98d9a..37d9b189852fc52c8b3796cdd9786b20e8a150ca 100644 (file)
@@ -163,7 +163,7 @@ class Channel extends Timeline
                        throw new HTTPException\BadRequestException($this->l10n->t('Channel not available.'));
                }
 
-               $this->maxId = $request['last_created'] ?? $this->maxId;
+               $this->maxId = $request['last_created']  ?? $this->maxId;
                $this->minId = $request['first_created'] ?? $this->minId;
        }
 }
index e3f75ddeaf9b0c315e904c8a4af03ffeec66ebf3..84e2179fe3885020ff995509aa36f57741f8bcb6 100644 (file)
@@ -74,10 +74,10 @@ class Community extends Timeline
 
                $t = Renderer::getMarkupTemplate("community.tpl");
                $o = Renderer::replaceMacros($t, [
-                       '$content' => '',
-                       '$header' => '',
+                       '$content'                    => '',
+                       '$header'                     => '',
                        '$show_global_community_hint' => ($this->selectedTab == CommunityEntity::GLOBAL) && $this->config->get('system', 'show_global_community_hint'),
-                       '$global_community_hint' => $this->l10n->t("This community stream shows all public posts received by this node. They may not reflect the opinions of this node’s users.")
+                       '$global_community_hint'      => $this->l10n->t("This community stream shows all public posts received by this node. They may not reflect the opinions of this node’s users.")
                ]);
 
                if ($this->pConfig->get($this->session->getLocalUserId(), 'system', 'infinite_scroll')) {
@@ -185,7 +185,7 @@ class Community extends Timeline
                        }
                }
 
-               $this->maxId = $request['last_received'] ?? $this->maxId;
+               $this->maxId = $request['last_received']  ?? $this->maxId;
                $this->minId = $request['first_received'] ?? $this->minId;
        }
 }
index d94aeb6cde82e49484facef21cad2ca2d777fec3..86c2fcf736f3cbb675d3532a63b43178dcee32c7 100644 (file)
@@ -192,9 +192,9 @@ class Network extends Timeline
 
                        $x = [
                                'lockstate' => $this->circleId || $this->network || ACL::getLockstateForUserId($this->session->getLocalUserId()) ? 'lock' : 'unlock',
-                               'acl' => ACL::getFullSelectorHTML($this->page, $this->session->getLocalUserId(), true, $default_permissions),
-                               'bang' => (($this->circleId || $this->network) ? '!' : ''),
-                               'content' => '',
+                               'acl'       => ACL::getFullSelectorHTML($this->page, $this->session->getLocalUserId(), true, $default_permissions),
+                               'bang'      => (($this->circleId || $this->network) ? '!' : ''),
+                               'content'   => '',
                        ];
 
                        $o .= $this->conversation->statusEditor($x);
@@ -236,7 +236,7 @@ class Network extends Timeline
                        $pager = new BoundariesPager(
                                $this->l10n,
                                $this->args->getQueryString(),
-                               $items[0][$this->order] ?? null,
+                               $items[0][$this->order]                 ?? null,
                                $items[count($items) - 1][$this->order] ?? null,
                                $this->itemsPerPage
                        );
@@ -313,23 +313,23 @@ class Network extends Timeline
 
                if (!empty($request['star'])) {
                        $this->selectedTab = NetworkEntity::STAR;
-                       $this->star = true;
+                       $this->star        = true;
                } else {
                        $this->star = $this->selectedTab == NetworkEntity::STAR;
                }
 
                if (!empty($request['mention'])) {
                        $this->selectedTab = NetworkEntity::MENTION;
-                       $this->mention = true;
+                       $this->mention     = true;
                } else {
                        $this->mention = $this->selectedTab == NetworkEntity::MENTION;
                }
 
                if (!empty($request['order'])) {
                        $this->selectedTab = $request['order'];
-                       $this->order = $request['order'];
-                       $this->star = false;
-                       $this->mention = false;
+                       $this->order       = $request['order'];
+                       $this->star        = false;
+                       $this->mention     = false;
                } elseif (in_array($this->selectedTab, [NetworkEntity::RECEIVED, NetworkEntity::STAR]) || $this->community->isTimeline($this->selectedTab)) {
                        $this->order = 'received';
                } elseif (($this->selectedTab == NetworkEntity::CREATED) || $this->channel->isTimeline($this->selectedTab) || $this->userDefinedChannel->isTimeline($this->selectedTab, $this->session->getLocalUserId())) {
@@ -344,7 +344,8 @@ class Network extends Timeline
                // since otherwise the feed will optically jump, when some already visible thread has been updated.
                if ($this->update && ($this->selectedTab == NetworkEntity::COMMENTED)) {
                        $this->order = 'received';
-                       $request['last_received']  = $request['last_commented'] ?? null;
+
+                       $request['last_received']  = $request['last_commented']  ?? null;
                        $request['first_received'] = $request['first_commented'] ?? null;
                }
 
@@ -361,7 +362,7 @@ class Network extends Timeline
                $this->network = $request['nets'] ?? '';
 
                $this->dateFrom = $this->parameters['from'] ?? '';
-               $this->dateTo = $this->parameters['to'] ?? '';
+               $this->dateTo   = $this->parameters['to']   ?? '';
 
                $this->setMaxMinByOrder($request);
 
index 4757200000fe3ffee98fe63f44099e62e025f13f..9c61e10887a1b1eb1bafbf458a279884f22d4b6e 100644 (file)
@@ -32,7 +32,7 @@ class BBCodeTest extends FixtureTestCase
                $config->set('HTML.Doctype', 'HTML5');
                $config->set('Attr.AllowedRel', [
                        'noreferrer' => true,
-                       'noopener' => true,
+                       'noopener'   => true,
                ]);
                $config->set('Attr.AllowedFrameTargets', [
                        '_blank' => true,
@@ -46,77 +46,77 @@ class BBCodeTest extends FixtureTestCase
                return [
                        /** @see https://github.com/friendica/friendica/issues/2487 */
                        'bug-2487-1' => [
-                               'data' => 'https://de.wikipedia.org/wiki/Juha_Sipilä',
+                               'data'       => 'https://de.wikipedia.org/wiki/Juha_Sipilä',
                                'assertHTML' => true,
                        ],
                        'bug-2487-2' => [
-                               'data' => 'https://de.wikipedia.org/wiki/Dnepr_(Motorradmarke)',
+                               'data'       => 'https://de.wikipedia.org/wiki/Dnepr_(Motorradmarke)',
                                'assertHTML' => true,
                        ],
                        'bug-2487-3' => [
-                               'data' => 'https://friendica.wäckerlin.ch/friendica',
+                               'data'       => 'https://friendica.wäckerlin.ch/friendica',
                                'assertHTML' => true,
                        ],
                        'bug-2487-4' => [
-                               'data' => 'https://mastodon.social/@morevnaproject',
+                               'data'       => 'https://mastodon.social/@morevnaproject',
                                'assertHTML' => true,
                        ],
                        /** @see https://github.com/friendica/friendica/issues/5795 */
                        'bug-5795' => [
-                               'data' => 'https://social.nasqueron.org/@liw/100798039015010628',
+                               'data'       => 'https://social.nasqueron.org/@liw/100798039015010628',
                                'assertHTML' => true,
                        ],
                        /** @see https://github.com/friendica/friendica/issues/6095 */
                        'bug-6095' => [
-                               'data' => 'https://en.wikipedia.org/wiki/Solid_(web_decentralization_project)',
+                               'data'       => 'https://en.wikipedia.org/wiki/Solid_(web_decentralization_project)',
                                'assertHTML' => true,
                        ],
                        'no-protocol' => [
-                               'data' => 'example.com/path',
+                               'data'       => 'example.com/path',
                                'assertHTML' => false
                        ],
                        'wrong-protocol' => [
-                               'data' => 'ftp://example.com',
+                               'data'       => 'ftp://example.com',
                                'assertHTML' => false
                        ],
                        'wrong-domain-without-path' => [
-                               'data' => 'http://example',
+                               'data'       => 'http://example',
                                'assertHTML' => false
                        ],
                        'wrong-domain-with-path' => [
-                               'data' => 'http://example/path',
+                               'data'       => 'http://example/path',
                                'assertHTML' => false
                        ],
                        'bug-6857-domain-start' => [
-                               'data' => "http://\nexample.com",
+                               'data'       => "http://\nexample.com",
                                'assertHTML' => false
                        ],
                        'bug-6857-domain-end' => [
-                               'data' => "http://example\n.com",
+                               'data'       => "http://example\n.com",
                                'assertHTML' => false
                        ],
                        'bug-6857-tld' => [
-                               'data' => "http://example.\ncom",
+                               'data'       => "http://example.\ncom",
                                'assertHTML' => false
                        ],
                        'bug-6857-end' => [
-                               'data' => "http://example.com\ntest",
+                               'data'       => "http://example.com\ntest",
                                'assertHTML' => false
                        ],
                        'bug-6901' => [
-                               'data' => "http://example.com<ul>",
+                               'data'       => "http://example.com<ul>",
                                'assertHTML' => false
                        ],
                        'bug-7150' => [
-                               'data' => html_entity_decode('http://example.com&nbsp;', ENT_QUOTES, 'UTF-8'),
+                               'data'       => html_entity_decode('http://example.com&nbsp;', ENT_QUOTES, 'UTF-8'),
                                'assertHTML' => false
                        ],
                        'bug-7271-query-string-brackets' => [
-                               'data' => 'https://example.com/search?q=square+brackets+[url]',
+                               'data'       => 'https://example.com/search?q=square+brackets+[url]',
                                'assertHTML' => true
                        ],
                        'bug-7271-path-brackets' => [
-                               'data' => 'http://example.com/path/to/file[3].html',
+                               'data'       => 'http://example.com/path/to/file[3].html',
                                'assertHTML' => true
                        ],
                ];
@@ -148,94 +148,94 @@ class BBCodeTest extends FixtureTestCase
                return [
                        'bug-7271-condensed-space' => [
                                'expectedHtml' => '<ol><li> <a href="http://example.com/" target="_blank" rel="noopener noreferrer">example.com/</a></li></ol>',
-                               'text' => '[ol][li] http://example.com/[/ol]',
+                               'text'         => '[ol][li] http://example.com/[/ol]',
                        ],
                        'bug-7271-condensed-nospace' => [
                                'expectedHtml' => '<ol><li><a href="http://example.com/" target="_blank" rel="noopener noreferrer">example.com/</a></li></ol>',
-                               'text' => '[ol][li]http://example.com/[/ol]',
+                               'text'         => '[ol][li]http://example.com/[/ol]',
                        ],
                        'bug-7271-indented-space' => [
                                'expectedHtml' => '<ul><li> <a href="http://example.com/" target="_blank" rel="noopener noreferrer">example.com/</a></li></ul>',
-                               'text' => '[ul]
+                               'text'         => '[ul]
 [li] http://example.com/
 [/ul]',
                        ],
                        'bug-7271-indented-nospace' => [
                                'expectedHtml' => '<ul><li><a href="http://example.com/" target="_blank" rel="noopener noreferrer">example.com/</a></li></ul>',
-                               'text' => '[ul]
+                               'text'         => '[ul]
 [li]http://example.com/
 [/ul]',
                        ],
                        'bug-2199-named-size' => [
                                'expectedHtml' => '<span style="font-size:xx-large;line-height:normal;">Test text</span>',
-                               'text' => '[size=xx-large]Test text[/size]',
+                               'text'         => '[size=xx-large]Test text[/size]',
                        ],
                        'bug-2199-numeric-size' => [
                                'expectedHtml' => '<span style="font-size:24px;line-height:normal;">Test text</span>',
-                               'text' => '[size=24]Test text[/size]',
+                               'text'         => '[size=24]Test text[/size]',
                        ],
                        'bug-2199-diaspora-no-named-size' => [
                                'expectedHtml' => 'Test text',
-                               'text' => '[size=xx-large]Test text[/size]',
-                               'try_oembed' => false,
+                               'text'         => '[size=xx-large]Test text[/size]',
+                               'try_oembed'   => false,
                                // Triggers the diaspora compatible output
                                'simpleHtml' => BBCode::DIASPORA,
                        ],
                        'bug-2199-diaspora-no-numeric-size' => [
                                'expectedHtml' => 'Test text',
-                               'text' => '[size=24]Test text[/size]',
-                               'try_oembed' => false,
+                               'text'         => '[size=24]Test text[/size]',
+                               'try_oembed'   => false,
                                // Triggers the diaspora compatible output
                                'simpleHtml' => BBCode::DIASPORA,
                        ],
                        'bug-7665-audio-tag' => [
                                'expectedHtml' => '<audio src="http://www.cendrones.fr/colloque2017/jonathanbocquet.mp3" controls><a href="http://www.cendrones.fr/colloque2017/jonathanbocquet.mp3">http://www.cendrones.fr/colloque2017/jonathanbocquet.mp3</a></audio>',
-                               'text' => '[audio]http://www.cendrones.fr/colloque2017/jonathanbocquet.mp3[/audio]',
-                               'try_oembed' => true,
+                               'text'         => '[audio]http://www.cendrones.fr/colloque2017/jonathanbocquet.mp3[/audio]',
+                               'try_oembed'   => true,
                        ],
                        'bug-7808-code-lt' => [
                                'expectedHtml' => '<code>&lt;</code>',
-                               'text' => '[code]<[/code]',
+                               'text'         => '[code]<[/code]',
                        ],
                        'bug-7808-code-gt' => [
                                'expectedHtml' => '<code>&gt;</code>',
-                               'text' => '[code]>[/code]',
+                               'text'         => '[code]>[/code]',
                        ],
                        'bug-7808-code-amp' => [
                                'expectedHtml' => '<code>&amp;</code>',
-                               'text' => '[code]&[/code]',
+                               'text'         => '[code]&[/code]',
                        ],
                        'task-8800-pre-spaces-notag' => [
                                'expectedHtml' => '[test] Space',
-                               'text' => '[test] Space',
+                               'text'         => '[test] Space',
                        ],
                        'task-8800-pre-spaces' => [
                                'expectedHtml' => '    Spaces',
-                               'text' => '[pre]    Spaces[/pre]',
+                               'text'         => '[pre]    Spaces[/pre]',
                        ],
                        'bug-9611-purify-xss-nobb' => [
                                'expectedHTML' => '<span>dare to move your mouse here</span>',
-                               'text' => '[nobb]<span onmouseover="alert(0)">dare to move your mouse here</span>[/nobb]'
+                               'text'         => '[nobb]<span onmouseover="alert(0)">dare to move your mouse here</span>[/nobb]'
                        ],
                        'bug-9611-purify-xss-noparse' => [
                                'expectedHTML' => '<span>dare to move your mouse here</span>',
-                               'text' => '[noparse]<span onmouseover="alert(0)">dare to move your mouse here</span>[/noparse]'
+                               'text'         => '[noparse]<span onmouseover="alert(0)">dare to move your mouse here</span>[/noparse]'
                        ],
                        'bug-9611-purify-xss-attributes' => [
                                'expectedHTML' => '<span>dare to move your mouse here</span>',
-                               'text' => '[color="onmouseover=alert(0) style="]dare to move your mouse here[/color]'
+                               'text'         => '[color="onmouseover=alert(0) style="]dare to move your mouse here[/color]'
                        ],
                        'bug-9611-purify-attributes-correct' => [
                                'expectedHTML' => '<span style="color:#FFFFFF;">dare to move your mouse here</span>',
-                               'text' => '[color=FFFFFF]dare to move your mouse here[/color]'
+                               'text'         => '[color=FFFFFF]dare to move your mouse here[/color]'
                        ],
                        'bug-9639-span-classes' => [
                                'expectedHTML' => '<span class="arbitrary classes">Test</span>',
-                               'text' => '[class=arbitrary classes]Test[/class]',
+                               'text'         => '[class=arbitrary classes]Test[/class]',
                        ],
                        'bug-10772-duplicated-links' => [
                                'expectedHTML' => 'Jetzt wird mir klar, warum Kapitalisten jedes Mal durchdrehen wenn Marx und das Kapital ins Gespräch kommt. Soziopathen.<br>Karl Marx - Die ursprüngliche Akkumulation<br><a href="https://wohlstandfueralle.podigee.io/107-urspruengliche-akkumulation" target="_blank" rel="noopener noreferrer">https://wohlstandfueralle.podigee.io/107-urspruengliche-akkumulation</a><br>#Podcast #Kapitalismus',
-                               'text' => "Jetzt wird mir klar, warum Kapitalisten jedes Mal durchdrehen wenn Marx und das Kapital ins Gespräch kommt. Soziopathen.
+                               'text'         => "Jetzt wird mir klar, warum Kapitalisten jedes Mal durchdrehen wenn Marx und das Kapital ins Gespräch kommt. Soziopathen.
 Karl Marx - Die ursprüngliche Akkumulation
 [url=https://wohlstandfueralle.podigee.io/107-urspruengliche-akkumulation]https://wohlstandfueralle.podigee.io/107-urspruengliche-akkumulation[/url]
 #[url=https://horche.demkontinuum.de/search?tag=Podcast]Podcast[/url] #[url=https://horche.demkontinuum.de/search?tag=Kapitalismus]Kapitalismus[/url]
@@ -245,27 +245,27 @@ Karl Marx - Die ursprüngliche Akkumulation
                        ],
                        'task-10886-deprecate-class' => [
                                'expectedHTML' => '<span class="mastodon emoji"><img src="https://fedi.underscore.world/emoji/custom/custom/heart_nb.png" alt=":heart_nb:" title=":heart_nb:"></span>',
-                               'text' => '[emoji=https://fedi.underscore.world/emoji/custom/custom/heart_nb.png]:heart_nb:[/emoji]',
+                               'text'         => '[emoji=https://fedi.underscore.world/emoji/custom/custom/heart_nb.png]:heart_nb:[/emoji]',
                        ],
                        'task-12900-multiple-paragraphs' => [
                                'expectedHTML' => '<h3>Header</h3><ul><li>One</li><li>Two</li></ul><p>This is a paragraph<br>with a line feed.</p><p>Second Chapter</p>',
-                               'text' => "[h4]Header[/h4][ul][li]One[li]Two[/ul]\n\nThis is a paragraph\nwith a line feed.\n\nSecond Chapter",
+                               'text'         => "[h4]Header[/h4][ul][li]One[li]Two[/ul]\n\nThis is a paragraph\nwith a line feed.\n\nSecond Chapter",
                        ],
                        'task-12900-header-with-paragraphs' => [
                                'expectedHTML' => '<h3>Header</h3><p>Some Chapter</p>',
-                               'text' => '[h4]Header[/h4]Some Chapter',
+                               'text'         => '[h4]Header[/h4]Some Chapter',
                        ],
                        'bug-12842-ul-newlines' => [
                                'expectedHTML' => '<p>This is:</p><ul><li>some</li><li>amazing</li><li>list</li></ul>',
-                               'text' => "This is:\r\n[ul]\r\n[li]some\r\n[li]amazing\r\n[li]list\r\n[/ul]",
+                               'text'         => "This is:\r\n[ul]\r\n[li]some\r\n[li]amazing\r\n[li]list\r\n[/ul]",
                        ],
                        'bug-12842-ol-newlines' => [
                                'expectedHTML' => '<p>This is:</p><ol><li>some</li><li>amazing</li><li>list</li></ol>',
-                               'text' => "This is:\r\n[ol]\r\n[li]some\r\n[li]amazing\r\n[li]list\r\n[/ol]",
+                               'text'         => "This is:\r\n[ol]\r\n[li]some\r\n[li]amazing\r\n[li]list\r\n[/ol]",
                        ],
                        'task-12917-tabs-between-linebreaks' => [
                                'expectedHTML' => '<p>Paragraph</p><p>New Paragraph</p>',
-                               'text' => "Paragraph\n\t\nNew Paragraph",
+                               'text'         => "Paragraph\n\t\nNew Paragraph",
                        ],
                ];
        }
@@ -296,23 +296,23 @@ Karl Marx - Die ursprüngliche Akkumulation
                return [
                        'bug-7808-gt' => [
                                'expected' => '&gt;`>`',
-                               'text' => '>[code]>[/code]',
+                               'text'     => '>[code]>[/code]',
                        ],
                        'bug-7808-lt' => [
                                'expected' => '&lt;`<`',
-                               'text' => '<[code]<[/code]',
+                               'text'     => '<[code]<[/code]',
                        ],
                        'bug-7808-amp' => [
                                'expected' => '&amp;`&`',
-                               'text' => '&[code]&[/code]',
+                               'text'     => '&[code]&[/code]',
                        ],
                        'bug-12701-quotes' => [
                                'expected' => '[![abc"fgh](https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png)](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)',
-                               'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abc"fgh[/img][/url]'
+                               'text'     => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abc"fgh[/img][/url]'
                        ],
                        'bug-12701-no-quotes' => [
                                'expected' => '[![abcfgh](https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png "abcfgh")](https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581)',
-                               'text' => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abcfgh[/img][/url]'
+                               'text'     => '[url=https://domain.tld/photos/user/image/86912721086415cdc8e0a03226831581][img=https://domain.tld/photo/86912721086415cdc8e0a03226831581-1.png]abcfgh[/img][/url]'
                        ],
                ];
        }
@@ -367,53 +367,53 @@ Karl Marx - Die ursprüngliche Akkumulation
                return [
                        'no-abstract' => [
                                'expected' => '',
-                               'text' => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'addon' => '',
+                               'text'     => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'addon'    => '',
                        ],
                        'no-abstract-addon' => [
                                'expected' => '',
-                               'text' => 'Tingling of the spine tendrils of gossamer clouds Flatland trillion rich in heavy atoms of brilliant syntheses. Extraordinary claims require extraordinary evidence a very small stage in a vast cosmic arena made in the interiors of collapsing stars kindling the energy hidden in matter vastness is bearable only through love kindling the energy hidden in matter? Dispassionate extraterrestrial observer preserve and cherish that pale blue dot vastness is bearable only through love emerged into consciousness encyclopaedia galactica a still more glorious dawn awaits and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'addon' => 'dfrn',
+                               'text'     => 'Tingling of the spine tendrils of gossamer clouds Flatland trillion rich in heavy atoms of brilliant syntheses. Extraordinary claims require extraordinary evidence a very small stage in a vast cosmic arena made in the interiors of collapsing stars kindling the energy hidden in matter vastness is bearable only through love kindling the energy hidden in matter? Dispassionate extraterrestrial observer preserve and cherish that pale blue dot vastness is bearable only through love emerged into consciousness encyclopaedia galactica a still more glorious dawn awaits and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'addon'    => 'dfrn',
                        ],
                        'abstract' => [
                                'expected' => 'Abstract at the beginning of the text',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract]A very small stage in a vast cosmic arena the ash of stellar alchemy rich in heavy atoms a still more glorious dawn awaits are creatures of the cosmos Orion\'s sword. Brain is the seed of intelligence dream of the mind\'s eye inconspicuous motes of rock and gas extraordinary claims require extraordinary evidence vastness is bearable only through love quasar? Made in the interiors of collapsing stars the carbon in our apple pies cosmic ocean citizens of distant epochs paroxysm of global death dispassionate extraterrestrial observer and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'addon' => '',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract]A very small stage in a vast cosmic arena the ash of stellar alchemy rich in heavy atoms a still more glorious dawn awaits are creatures of the cosmos Orion\'s sword. Brain is the seed of intelligence dream of the mind\'s eye inconspicuous motes of rock and gas extraordinary claims require extraordinary evidence vastness is bearable only through love quasar? Made in the interiors of collapsing stars the carbon in our apple pies cosmic ocean citizens of distant epochs paroxysm of global death dispassionate extraterrestrial observer and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'addon'    => '',
                        ],
                        'abstract-addon-not-present' => [
                                'expected' => 'Abstract at the beginning of the text',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract]With pretty stories for which there\'s little good evidence rogue not a sunrise but a galaxyrise tingling of the spine birth cosmic fugue. Cosmos hundreds of thousands Apollonius of Perga network of wormholes rich in mystery globular star cluster. Another world vastness is bearable only through love encyclopaedia galactica something incredible is waiting to be known invent the universe hearts of the stars. Extraordinary claims require extraordinary evidence the sky calls to us the only home we\'ve ever known the sky calls to us the sky calls to us extraordinary claims require extraordinary evidence and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'addon' => '',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract]With pretty stories for which there\'s little good evidence rogue not a sunrise but a galaxyrise tingling of the spine birth cosmic fugue. Cosmos hundreds of thousands Apollonius of Perga network of wormholes rich in mystery globular star cluster. Another world vastness is bearable only through love encyclopaedia galactica something incredible is waiting to be known invent the universe hearts of the stars. Extraordinary claims require extraordinary evidence the sky calls to us the only home we\'ve ever known the sky calls to us the sky calls to us extraordinary claims require extraordinary evidence and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'addon'    => '',
                        ],
                        'abstract-addon-present' => [
                                'expected' => 'Abstract DFRN in the middle of the text',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract][abstract=dfrn]Abstract DFRN in the middle of the text[/abstract]Kindling the energy hidden in matter hydrogen atoms at the edge of forever vanquish the impossible ship of the imagination take root and flourish. Tingling of the spine white dwarf as a patch of light the sky calls to us Drake Equation citizens of distant epochs. Concept of the number one dispassionate extraterrestrial observer citizens of distant epochs descended from astronomers extraordinary claims require extraordinary evidence something incredible is waiting to be known and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'addon' => 'dfrn',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract][abstract=dfrn]Abstract DFRN in the middle of the text[/abstract]Kindling the energy hidden in matter hydrogen atoms at the edge of forever vanquish the impossible ship of the imagination take root and flourish. Tingling of the spine white dwarf as a patch of light the sky calls to us Drake Equation citizens of distant epochs. Concept of the number one dispassionate extraterrestrial observer citizens of distant epochs descended from astronomers extraordinary claims require extraordinary evidence something incredible is waiting to be known and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'addon'    => 'dfrn',
                        ],
                        'abstract-multiple-addon-present' => [
                                'expected' => 'Abstract DFRN at the end of the text',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract][abstract=ap]Abstract AP in the middle of the text[/abstract]Cambrian explosion rich in heavy atoms take root and flourish radio telescope light years cosmic fugue. Dispassionate extraterrestrial observer white dwarf the sky calls to us another world courage of our questions two ghostly white figures in coveralls and helmets are softly dancing. Extraordinary claims require extraordinary evidence concept of the number one not a sunrise but a galaxyrise are creatures of the cosmos two ghostly white figures in coveralls and helmets are softly dancing white dwarf and billions upon billions upon billions upon billions upon billions upon billions upon billions.[abstract=dfrn]Abstract DFRN at the end of the text[/abstract]',
-                               'addon' => 'dfrn',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract][abstract=ap]Abstract AP in the middle of the text[/abstract]Cambrian explosion rich in heavy atoms take root and flourish radio telescope light years cosmic fugue. Dispassionate extraterrestrial observer white dwarf the sky calls to us another world courage of our questions two ghostly white figures in coveralls and helmets are softly dancing. Extraordinary claims require extraordinary evidence concept of the number one not a sunrise but a galaxyrise are creatures of the cosmos two ghostly white figures in coveralls and helmets are softly dancing white dwarf and billions upon billions upon billions upon billions upon billions upon billions upon billions.[abstract=dfrn]Abstract DFRN at the end of the text[/abstract]',
+                               'addon'    => 'dfrn',
                        ],
                        'bug-11445-code-abstract' => [
                                'expected' => '',
-                               'text' => '[code][abstract]This should not be converted[/abstract][/code]',
-                               'addon' => '',
+                               'text'     => '[code][abstract]This should not be converted[/abstract][/code]',
+                               'addon'    => '',
                        ],
                        'bug-11445-noparse-abstract' => [
                                'expected' => '',
-                               'text' => '[noparse][abstract]This should not be converted[/abstract][/noparse]',
-                               'addon' => '',
+                               'text'     => '[noparse][abstract]This should not be converted[/abstract][/noparse]',
+                               'addon'    => '',
                        ],
                        'bug-11445-nobb-abstract' => [
                                'expected' => '',
-                               'text' => '[nobb][abstract]This should not be converted[/abstract][/nobb]',
-                               'addon' => '',
+                               'text'     => '[nobb][abstract]This should not be converted[/abstract][/nobb]',
+                               'addon'    => '',
                        ],
                        'bug-11445-pre-abstract' => [
                                'expected' => '',
-                               'text' => '[pre][abstract]This should not be converted[/abstract][/pre]',
-                               'addon' => '',
+                               'text'     => '[pre][abstract]This should not be converted[/abstract][/pre]',
+                               'addon'    => '',
                        ],
                ];
        }
@@ -438,35 +438,35 @@ Karl Marx - Die ursprüngliche Akkumulation
                return [
                        'no-abstract' => [
                                'expected' => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'text' => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'text'     => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
                        ],
                        'abstract' => [
                                'expected' => ' A very small stage in a vast cosmic arena the ash of stellar alchemy rich in heavy atoms a still more glorious dawn awaits are creatures of the cosmos Orion\'s sword. Brain is the seed of intelligence dream of the mind\'s eye inconspicuous motes of rock and gas extraordinary claims require extraordinary evidence vastness is bearable only through love quasar? Made in the interiors of collapsing stars the carbon in our apple pies cosmic ocean citizens of distant epochs paroxysm of global death dispassionate extraterrestrial observer and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract]A very small stage in a vast cosmic arena the ash of stellar alchemy rich in heavy atoms a still more glorious dawn awaits are creatures of the cosmos Orion\'s sword. Brain is the seed of intelligence dream of the mind\'s eye inconspicuous motes of rock and gas extraordinary claims require extraordinary evidence vastness is bearable only through love quasar? Made in the interiors of collapsing stars the carbon in our apple pies cosmic ocean citizens of distant epochs paroxysm of global death dispassionate extraterrestrial observer and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract]A very small stage in a vast cosmic arena the ash of stellar alchemy rich in heavy atoms a still more glorious dawn awaits are creatures of the cosmos Orion\'s sword. Brain is the seed of intelligence dream of the mind\'s eye inconspicuous motes of rock and gas extraordinary claims require extraordinary evidence vastness is bearable only through love quasar? Made in the interiors of collapsing stars the carbon in our apple pies cosmic ocean citizens of distant epochs paroxysm of global death dispassionate extraterrestrial observer and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
                        ],
                        'abstract-addon' => [
                                'expected' => ' Kindling the energy hidden in matter hydrogen atoms at the edge of forever vanquish the impossible ship of the imagination take root and flourish. Tingling of the spine white dwarf as a patch of light the sky calls to us Drake Equation citizens of distant epochs. Concept of the number one dispassionate extraterrestrial observer citizens of distant epochs descended from astronomers extraordinary claims require extraordinary evidence something incredible is waiting to be known and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract][abstract=dfrn]Abstract DFRN in the middle of the text[/abstract]Kindling the energy hidden in matter hydrogen atoms at the edge of forever vanquish the impossible ship of the imagination take root and flourish. Tingling of the spine white dwarf as a patch of light the sky calls to us Drake Equation citizens of distant epochs. Concept of the number one dispassionate extraterrestrial observer citizens of distant epochs descended from astronomers extraordinary claims require extraordinary evidence something incredible is waiting to be known and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract][abstract=dfrn]Abstract DFRN in the middle of the text[/abstract]Kindling the energy hidden in matter hydrogen atoms at the edge of forever vanquish the impossible ship of the imagination take root and flourish. Tingling of the spine white dwarf as a patch of light the sky calls to us Drake Equation citizens of distant epochs. Concept of the number one dispassionate extraterrestrial observer citizens of distant epochs descended from astronomers extraordinary claims require extraordinary evidence something incredible is waiting to be known and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
                        ],
                        'abstract-multiple-addon-present' => [
                                'expected' => ' Cambrian explosion rich in heavy atoms take root and flourish radio telescope light years cosmic fugue. Dispassionate extraterrestrial observer white dwarf the sky calls to us another world courage of our questions two ghostly white figures in coveralls and helmets are softly dancing. Extraordinary claims require extraordinary evidence concept of the number one not a sunrise but a galaxyrise are creatures of the cosmos two ghostly white figures in coveralls and helmets are softly dancing white dwarf and billions upon billions upon billions upon billions upon billions upon billions upon billions. ',
-                               'text' => '[abstract]Abstract at the beginning of the text[/abstract][abstract=ap]Abstract AP in the middle of the text[/abstract]Cambrian explosion rich in heavy atoms take root and flourish radio telescope light years cosmic fugue. Dispassionate extraterrestrial observer white dwarf the sky calls to us another world courage of our questions two ghostly white figures in coveralls and helmets are softly dancing. Extraordinary claims require extraordinary evidence concept of the number one not a sunrise but a galaxyrise are creatures of the cosmos two ghostly white figures in coveralls and helmets are softly dancing white dwarf and billions upon billions upon billions upon billions upon billions upon billions upon billions.[abstract=dfrn]Abstract DFRN at the end of the text[/abstract]',
+                               'text'     => '[abstract]Abstract at the beginning of the text[/abstract][abstract=ap]Abstract AP in the middle of the text[/abstract]Cambrian explosion rich in heavy atoms take root and flourish radio telescope light years cosmic fugue. Dispassionate extraterrestrial observer white dwarf the sky calls to us another world courage of our questions two ghostly white figures in coveralls and helmets are softly dancing. Extraordinary claims require extraordinary evidence concept of the number one not a sunrise but a galaxyrise are creatures of the cosmos two ghostly white figures in coveralls and helmets are softly dancing white dwarf and billions upon billions upon billions upon billions upon billions upon billions upon billions.[abstract=dfrn]Abstract DFRN at the end of the text[/abstract]',
                        ],
                        'bug-11445-code-abstract' => [
                                'expected' => '[code][abstract]This should not be converted[/abstract][/code]',
-                               'text' => '[code][abstract]This should not be converted[/abstract][/code]',
+                               'text'     => '[code][abstract]This should not be converted[/abstract][/code]',
                        ],
                        'bug-11445-noparse-abstract' => [
                                'expected' => '[noparse][abstract]This should not be converted[/abstract][/noparse]',
-                               'text' => '[noparse][abstract]This should not be converted[/abstract][/noparse]',
+                               'text'     => '[noparse][abstract]This should not be converted[/abstract][/noparse]',
                        ],
                        'bug-11445-nobb-abstract' => [
                                'expected' => '[nobb][abstract]This should not be converted[/abstract][/nobb]',
-                               'text' => '[nobb][abstract]This should not be converted[/abstract][/nobb]',
+                               'text'     => '[nobb][abstract]This should not be converted[/abstract][/nobb]',
                        ],
                        'bug-11445-pre-abstract' => [
                                'expected' => '[pre][abstract]This should not be converted[/abstract][/pre]',
-                               'text' => '[pre][abstract]This should not be converted[/abstract][/pre]',
+                               'text'     => '[pre][abstract]This should not be converted[/abstract][/pre]',
                        ],
                ];
        }
@@ -489,52 +489,52 @@ Karl Marx - Die ursprüngliche Akkumulation
                return [
                        'no-tag' => [
                                'expected' => [],
-                               'text' => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
+                               'text'     => 'Venture the only home we\'ve ever known laws of physics tendrils of gossamer clouds a still more glorious dawn awaits Sea of Tranquility. With pretty stories for which there\'s little good evidence the ash of stellar alchemy corpus callosum preserve and cherish that pale blue dot descended from astronomers preserve and cherish that pale blue dot. A mote of dust suspended in a sunbeam paroxysm of global death two ghostly white figures in coveralls and helmets are softly dancing descended from astronomers star stuff harvesting star light gathered by gravity and billions upon billions upon billions upon billions upon billions upon billions upon billions.',
                        ],
                        'just-open' => [
                                'expected' => [],
-                               'text' => '[share]',
+                               'text'     => '[share]',
                        ],
                        'empty-tag' => [
                                'expected' => [
-                                       'author' => '',
-                                       'profile' => '',
-                                       'avatar' => '',
-                                       'link' => '',
-                                       'posted' => '',
-                                       'guid' => '',
+                                       'author'     => '',
+                                       'profile'    => '',
+                                       'avatar'     => '',
+                                       'link'       => '',
+                                       'posted'     => '',
+                                       'guid'       => '',
                                        'message_id' => '',
-                                       'comment' => '',
-                                       'shared' => '',
+                                       'comment'    => '',
+                                       'shared'     => '',
                                ],
                                'text' => '[share][/share]',
                        ],
                        'comment-shared' => [
                                'expected' => [
-                                       'author' => '',
-                                       'profile' => '',
-                                       'avatar' => '',
-                                       'link' => '',
-                                       'posted' => '',
-                                       'guid' => '',
+                                       'author'     => '',
+                                       'profile'    => '',
+                                       'avatar'     => '',
+                                       'link'       => '',
+                                       'posted'     => '',
+                                       'guid'       => '',
                                        'message_id' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'comment' => 'comment',
-                                       'shared' => '',
+                                       'comment'    => 'comment',
+                                       'shared'     => '',
                                ],
                                'text' => ' comment
                                [share]https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243[/share]',
                        ],
                        'all-attributes' => [
                                'expected' => [
-                                       'author' => 'Hypolite Petovan',
-                                       'profile' => 'https://friendica.mrpetovan.com/profile/hypolite',
-                                       'avatar' => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
-                                       'link' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'posted' => '2022-06-16 12:34:10',
-                                       'guid' => '735a2029-1062-ab23-42e4-f9c631220243',
+                                       'author'     => 'Hypolite Petovan',
+                                       'profile'    => 'https://friendica.mrpetovan.com/profile/hypolite',
+                                       'avatar'     => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
+                                       'link'       => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
+                                       'posted'     => '2022-06-16 12:34:10',
+                                       'guid'       => '735a2029-1062-ab23-42e4-f9c631220243',
                                        'message_id' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'comment' => '',
-                                       'shared' => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
+                                       'comment'    => '',
+                                       'shared'     => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
 Disney: So a morally grey “choose your side” story, right?
 Lucas: For the right price, yes.',
                                ],
@@ -552,15 +552,15 @@ Lucas: For the right price, yes.[/share]",
                        ],
                        'optional-attributes' => [
                                'expected' => [
-                                       'author' => 'Hypolite Petovan',
-                                       'profile' => 'https://friendica.mrpetovan.com/profile/hypolite',
-                                       'avatar' => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
-                                       'link' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'posted' => '2022-06-16 12:34:10',
-                                       'guid' => '',
+                                       'author'     => 'Hypolite Petovan',
+                                       'profile'    => 'https://friendica.mrpetovan.com/profile/hypolite',
+                                       'avatar'     => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
+                                       'link'       => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
+                                       'posted'     => '2022-06-16 12:34:10',
+                                       'guid'       => '',
                                        'message_id' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'comment' => '',
-                                       'shared' => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
+                                       'comment'    => '',
+                                       'shared'     => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
 Disney: So a morally grey “choose your side” story, right?
 Lucas: For the right price, yes.',
                                ],
@@ -577,15 +577,15 @@ Lucas: For the right price, yes.[/share]",
                        ],
                        'double-quotes' => [
                                'expected' => [
-                                       'author' => 'Hypolite Petovan',
-                                       'profile' => 'https://friendica.mrpetovan.com/profile/hypolite',
-                                       'avatar' => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
-                                       'link' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'posted' => '2022-06-16 12:34:10',
-                                       'guid' => '',
+                                       'author'     => 'Hypolite Petovan',
+                                       'profile'    => 'https://friendica.mrpetovan.com/profile/hypolite',
+                                       'avatar'     => 'https://friendica.mrpetovan.com/photo/20682437145daa4e85f019a278584494-5.png',
+                                       'link'       => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
+                                       'posted'     => '2022-06-16 12:34:10',
+                                       'guid'       => '',
                                        'message_id' => 'https://friendica.mrpetovan.com/display/735a2029-1062-ab23-42e4-f9c631220243',
-                                       'comment' => '',
-                                       'shared' => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
+                                       'comment'    => '',
+                                       'shared'     => 'George Lucas: I made a science-fiction universe with a straightforward anti-authoritarianism plot where even the libertarian joins the rebellion.
 Disney: So a morally grey “choose your side” story, right?
 Lucas: For the right price, yes.',
                                ],
index 3820be4309f9270f48d508b1f7557fb478db6969..0a49e73411b6902788c54143b4517f74b8c2f72f 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: 2025.02-dev\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-01-23 21:29+0000\n"
+"POT-Creation-Date: 2025-01-26 12:50+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -285,7 +285,7 @@ msgstr ""
 #: mod/message.php:188 mod/message.php:344 mod/photos.php:1252
 #: src/Content/Conversation.php:389 src/Content/Conversation.php:1565
 #: src/Module/Item/Compose.php:202 src/Module/Post/Edit.php:136
-#: src/Object/Post.php:604
+#: src/Object/Post.php:607
 msgid "Please wait"
 msgstr ""
 
@@ -307,7 +307,7 @@ msgstr ""
 #: src/Module/Moderation/Report/Create.php:249
 #: src/Module/Profile/Profile.php:265 src/Module/Settings/Profile/Index.php:248
 #: src/Module/Settings/Server/Action.php:65 src/Module/User/Delegation.php:177
-#: src/Object/Post.php:1145 view/theme/duepuntozero/config.php:73
+#: src/Object/Post.php:1148 view/theme/duepuntozero/config.php:73
 #: view/theme/frio/config.php:155 view/theme/quattro/config.php:75
 #: view/theme/vier/config.php:123
 msgid "Submit"
@@ -590,25 +590,25 @@ msgstr ""
 
 #: mod/photos.php:1090 mod/photos.php:1146 mod/photos.php:1226
 #: src/Module/Contact.php:599 src/Module/Item/Compose.php:184
-#: src/Object/Post.php:1142
+#: src/Object/Post.php:1145
 msgid "This is you"
 msgstr ""
 
 #: mod/photos.php:1092 mod/photos.php:1148 mod/photos.php:1228
-#: src/Module/Moderation/Reports.php:105 src/Object/Post.php:598
-#: src/Object/Post.php:1144
+#: src/Module/Moderation/Reports.php:105 src/Object/Post.php:601
+#: src/Object/Post.php:1147
 msgid "Comment"
 msgstr ""
 
 #: mod/photos.php:1094 mod/photos.php:1150 mod/photos.php:1230
 #: src/Content/Conversation.php:403 src/Module/Calendar/Event/Form.php:234
 #: src/Module/Item/Compose.php:197 src/Module/Post/Edit.php:156
-#: src/Object/Post.php:1158
+#: src/Object/Post.php:1161
 msgid "Preview"
 msgstr ""
 
 #: mod/photos.php:1095 src/Content/Conversation.php:357
-#: src/Module/Post/Edit.php:121 src/Object/Post.php:1146
+#: src/Module/Post/Edit.php:121 src/Object/Post.php:1149
 msgid "Loading..."
 msgstr ""
 
@@ -747,6 +747,11 @@ msgstr ""
 msgid "toggle mobile"
 msgstr ""
 
+#: src/App/Page.php:359 src/Module/Admin/Logs/View.php:92
+#: view/theme/frio/php/minimal.php:33 view/theme/frio/php/standard.php:117
+msgid "Close"
+msgstr ""
+
 #: src/App/Router.php:286
 #, php-format
 msgid "Method not allowed for this module. Allowed method(s): %s"
@@ -1230,7 +1235,7 @@ msgid "Visible to <strong>everybody</strong>"
 msgstr ""
 
 #: src/Content/Conversation.php:327 src/Module/Item/Compose.php:196
-#: src/Object/Post.php:1157
+#: src/Object/Post.php:1160
 msgid "Please enter a image/video/audio/webpage URL:"
 msgstr ""
 
@@ -1275,52 +1280,52 @@ msgid "attach file"
 msgstr ""
 
 #: src/Content/Conversation.php:362 src/Module/Item/Compose.php:186
-#: src/Module/Post/Edit.php:162 src/Object/Post.php:1147
+#: src/Module/Post/Edit.php:162 src/Object/Post.php:1150
 msgid "Bold"
 msgstr ""
 
 #: src/Content/Conversation.php:363 src/Module/Item/Compose.php:187
-#: src/Module/Post/Edit.php:163 src/Object/Post.php:1148
+#: src/Module/Post/Edit.php:163 src/Object/Post.php:1151
 msgid "Italic"
 msgstr ""
 
 #: src/Content/Conversation.php:364 src/Module/Item/Compose.php:188
-#: src/Module/Post/Edit.php:164 src/Object/Post.php:1149
+#: src/Module/Post/Edit.php:164 src/Object/Post.php:1152
 msgid "Underline"
 msgstr ""
 
 #: src/Content/Conversation.php:365 src/Module/Item/Compose.php:189
-#: src/Module/Post/Edit.php:165 src/Object/Post.php:1151
+#: src/Module/Post/Edit.php:165 src/Object/Post.php:1154
 msgid "Quote"
 msgstr ""
 
 #: src/Content/Conversation.php:366 src/Module/Item/Compose.php:190
-#: src/Module/Post/Edit.php:166 src/Object/Post.php:1152
+#: src/Module/Post/Edit.php:166 src/Object/Post.php:1155
 msgid "Add emojis"
 msgstr ""
 
 #: src/Content/Conversation.php:367 src/Module/Item/Compose.php:191
-#: src/Object/Post.php:1150
+#: src/Object/Post.php:1153
 msgid "Content Warning"
 msgstr ""
 
 #: src/Content/Conversation.php:368 src/Module/Item/Compose.php:192
-#: src/Module/Post/Edit.php:167 src/Object/Post.php:1153
+#: src/Module/Post/Edit.php:167 src/Object/Post.php:1156
 msgid "Code"
 msgstr ""
 
 #: src/Content/Conversation.php:369 src/Module/Item/Compose.php:193
-#: src/Object/Post.php:1154
+#: src/Object/Post.php:1157
 msgid "Image"
 msgstr ""
 
 #: src/Content/Conversation.php:370 src/Module/Item/Compose.php:194
-#: src/Module/Post/Edit.php:168 src/Object/Post.php:1155
+#: src/Module/Post/Edit.php:168 src/Object/Post.php:1158
 msgid "Link"
 msgstr ""
 
 #: src/Content/Conversation.php:371 src/Module/Item/Compose.php:195
-#: src/Module/Post/Edit.php:169 src/Object/Post.php:1156
+#: src/Module/Post/Edit.php:169 src/Object/Post.php:1159
 msgid "Link or Media"
 msgstr ""
 
@@ -1480,21 +1485,21 @@ msgstr ""
 msgid "Pinned item"
 msgstr ""
 
-#: src/Content/Conversation.php:1524 src/Object/Post.php:541
-#: src/Object/Post.php:542
+#: src/Content/Conversation.php:1524 src/Object/Post.php:543
+#: src/Object/Post.php:544
 #, php-format
 msgid "View %s's profile @ %s"
 msgstr ""
 
-#: src/Content/Conversation.php:1538 src/Object/Post.php:529
+#: src/Content/Conversation.php:1538 src/Object/Post.php:531
 msgid "Categories:"
 msgstr ""
 
-#: src/Content/Conversation.php:1539 src/Object/Post.php:530
+#: src/Content/Conversation.php:1539 src/Object/Post.php:532
 msgid "Filed under:"
 msgstr ""
 
-#: src/Content/Conversation.php:1547 src/Object/Post.php:556
+#: src/Content/Conversation.php:1547 src/Object/Post.php:558
 #, php-format
 msgid "%s from %s"
 msgstr ""
@@ -1909,11 +1914,11 @@ msgid "Ignore %s server"
 msgstr ""
 
 #: src/Content/Item.php:432 src/Module/Settings/Channels.php:188
-#: src/Module/Settings/Channels.php:209 src/Object/Post.php:502
+#: src/Module/Settings/Channels.php:209 src/Object/Post.php:503
 msgid "Languages"
 msgstr ""
 
-#: src/Content/Item.php:435 src/Object/Post.php:582
+#: src/Content/Item.php:435 src/Object/Post.php:585
 msgid "Search Text"
 msgstr ""
 
@@ -2225,11 +2230,11 @@ msgstr ""
 msgid "first"
 msgstr ""
 
-#: src/Content/Pager.php:207
+#: src/Content/Pager.php:207 src/Module/Calendar/Show.php:122
 msgid "prev"
 msgstr ""
 
-#: src/Content/Pager.php:262
+#: src/Content/Pager.php:262 src/Module/Calendar/Show.php:123
 msgid "next"
 msgstr ""
 
@@ -4226,10 +4231,6 @@ msgstr ""
 msgid "Process ID"
 msgstr ""
 
-#: src/Module/Admin/Logs/View.php:92
-msgid "Close"
-msgstr ""
-
 #: src/Module/Admin/Queue.php:36
 msgid "Inspect Deferred Worker Queue"
 msgstr ""
@@ -5740,6 +5741,14 @@ msgstr ""
 msgid "Tips for New Members"
 msgstr ""
 
+#: src/Module/BaseProfile.php:137 src/Module/Contact.php:390
+#: src/Module/Contact.php:537 src/Module/Conversation/Channel.php:98
+#: src/Module/Conversation/Community.php:91
+#: src/Module/Conversation/Network.php:295
+#: src/Module/Moderation/BaseUsers.php:102 src/Object/Post.php:605
+msgid "More"
+msgstr ""
+
 #: src/Module/BaseSearch.php:56
 #, php-format
 msgid "People Search - %s"
@@ -11597,138 +11606,134 @@ msgstr ""
 msgid "Remote comment"
 msgstr ""
 
-#: src/Object/Post.php:506
+#: src/Object/Post.php:508
 msgid "Share via ..."
 msgstr ""
 
-#: src/Object/Post.php:506
+#: src/Object/Post.php:508
 msgid "Share via external services"
 msgstr ""
 
-#: src/Object/Post.php:513
+#: src/Object/Post.php:515
 msgid "Unknown parent"
 msgstr ""
 
-#: src/Object/Post.php:517
+#: src/Object/Post.php:519
 #, php-format
 msgid "in reply to %s"
 msgstr ""
 
-#: src/Object/Post.php:519
+#: src/Object/Post.php:521
 msgid "Parent is probably private or not federated."
 msgstr ""
 
-#: src/Object/Post.php:543
+#: src/Object/Post.php:545
 msgid "to"
 msgstr ""
 
-#: src/Object/Post.php:544
+#: src/Object/Post.php:546
 msgid "via"
 msgstr ""
 
-#: src/Object/Post.php:545
+#: src/Object/Post.php:547
 msgid "Wall-to-Wall"
 msgstr ""
 
-#: src/Object/Post.php:546
+#: src/Object/Post.php:548
 msgid "via Wall-To-Wall:"
 msgstr ""
 
-#: src/Object/Post.php:599
+#: src/Object/Post.php:602
 #, php-format
 msgid "Reply to %s"
 msgstr ""
 
-#: src/Object/Post.php:602
-msgid "More"
-msgstr ""
-
-#: src/Object/Post.php:621
+#: src/Object/Post.php:624
 msgid "Notifier task is pending"
 msgstr ""
 
-#: src/Object/Post.php:622
+#: src/Object/Post.php:625
 msgid "Delivery to remote servers is pending"
 msgstr ""
 
-#: src/Object/Post.php:623
+#: src/Object/Post.php:626
 msgid "Delivery to remote servers is underway"
 msgstr ""
 
-#: src/Object/Post.php:624
+#: src/Object/Post.php:627
 msgid "Delivery to remote servers is mostly done"
 msgstr ""
 
-#: src/Object/Post.php:625
+#: src/Object/Post.php:628
 msgid "Delivery to remote servers is done"
 msgstr ""
 
-#: src/Object/Post.php:647
+#: src/Object/Post.php:650
 #, php-format
 msgid "%d comment"
 msgid_plural "%d comments"
 msgstr[0] ""
 msgstr[1] ""
 
-#: src/Object/Post.php:648
+#: src/Object/Post.php:651
 msgid "Show more"
 msgstr ""
 
-#: src/Object/Post.php:649
+#: src/Object/Post.php:652
 msgid "Show fewer"
 msgstr ""
 
-#: src/Object/Post.php:686
+#: src/Object/Post.php:689
 #, php-format
 msgid "Reshared by: %s"
 msgstr ""
 
-#: src/Object/Post.php:691
+#: src/Object/Post.php:694
 #, php-format
 msgid "Viewed by: %s"
 msgstr ""
 
-#: src/Object/Post.php:696
+#: src/Object/Post.php:699
 #, php-format
 msgid "Read by: %s"
 msgstr ""
 
-#: src/Object/Post.php:701
+#: src/Object/Post.php:704
 #, php-format
 msgid "Liked by: %s"
 msgstr ""
 
-#: src/Object/Post.php:706
+#: src/Object/Post.php:709
 #, php-format
 msgid "Disliked by: %s"
 msgstr ""
 
-#: src/Object/Post.php:711
+#: src/Object/Post.php:714
 #, php-format
 msgid "Attended by: %s"
 msgstr ""
 
-#: src/Object/Post.php:716
+#: src/Object/Post.php:719
 #, php-format
 msgid "Maybe attended by: %s"
 msgstr ""
 
-#: src/Object/Post.php:721
+#: src/Object/Post.php:724
 #, php-format
 msgid "Not attended by: %s"
 msgstr ""
 
-#: src/Object/Post.php:726
+#: src/Object/Post.php:729
 #, php-format
 msgid "Commented by: %s"
 msgstr ""
 
-#: src/Object/Post.php:731
+#: src/Object/Post.php:734
 #, php-format
 msgid "Reacted with %s by: %s"
 msgstr ""
 
-#: src/Object/Post.php:754
+#: src/Object/Post.php:757
 #, php-format
 msgid "Quote shared by: %s"
 msgstr ""
index a0d67b474f719a013fff2299f421d661f69ad846..450d9aedc660037c90fc14f799c406dc7628248a 100644 (file)
@@ -24,15 +24,17 @@ if (!isset($minimal)) {
        $minimal = false;
 }
 
-$basepath = DI::baseUrl()->getPath() ? "/" . DI::baseUrl()->getPath() . "/" : "/";
-$frio = "view/theme/frio";
-$view_mode_class = (DI::mode()->isMobile() || DI::mode()->isMobile()) ? 'mobile-view' : 'desktop-view';
-$is_singleuser = DI::config()->get('system', 'singleuser');
+$basepath            = DI::baseUrl()->getPath() ? "/" . DI::baseUrl()->getPath() . "/" : "/";
+$frio                = "view/theme/frio";
+$view_mode_class     = (DI::mode()->isMobile() || DI::mode()->isMobile()) ? 'mobile-view' : 'desktop-view';
+$is_singleuser       = DI::config()->get('system', 'singleuser');
 $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
 ?>
 <html>
        <head>
-               <title><?php if (!empty($page['title'])) echo $page['title'] ?></title>
+               <title><?php if (!empty($page['title'])) {
+                       echo $page['title'];
+               } ?></title>
                <meta request="<?php echo htmlspecialchars($_REQUEST['pagename'] ?? '') ?>">
                <script  type="text/javascript">var baseurl = "<?php echo (string)DI::baseUrl(); ?>";</script>
                <script type="text/javascript">var frio = "<?php echo 'view/theme/frio'; ?>";</script>
@@ -45,24 +47,23 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
                        echo $page['htmlhead'];
                }
 
-               // Add the theme color meta
-               // It makes mobile Chrome UI match Frio's top bar color.
-               $uid = Profile::getThemeUid($a);
-               $scheme = frio_scheme_get_current_for_user($uid);
-               if ($scheme != FRIO_CUSTOM_SCHEME) {
-                       if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {
-                               $schemefile = 'view/theme/frio/scheme/' . $scheme . '.php';
-                               $scheme_accent =
-                                       DI::pConfig()->get($uid, 'frio', 'scheme_accent') ?:
-                                               DI::config()->get('frio', 'scheme_accent') ?: FRIO_SCHEME_ACCENT_BLUE;
-
-                               require_once $schemefile;
-                       }
-               }
+// Add the theme color meta
+// It makes mobile Chrome UI match Frio's top bar color.
+$uid    = Profile::getThemeUid($a);
+$scheme = frio_scheme_get_current_for_user($uid);
+if ($scheme != FRIO_CUSTOM_SCHEME) {
+       if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {
+               $schemefile    = 'view/theme/frio/scheme/' . $scheme . '.php';
+               $scheme_accent = DI::pConfig()->get($uid, 'frio', 'scheme_accent') ?:
+                               DI::config()->get('frio', 'scheme_accent') ?: FRIO_SCHEME_ACCENT_BLUE;
+
+               require_once $schemefile;
+       }
+}
 
-               $nav_bg = $nav_bg ?? DI::pConfig()->get($uid, 'frio', 'nav_bg', DI::config()->get('frio', 'nav_bg', '#708fa0'));
+$nav_bg = $nav_bg ?? DI::pConfig()->get($uid, 'frio', 'nav_bg', DI::config()->get('frio', 'nav_bg', '#708fa0'));
 
-               echo '<meta name="theme-color" content="' . $nav_bg . '" />';
+echo '<meta name="theme-color" content="' . $nav_bg . '" />';
 ?>
        </head>
 
@@ -81,24 +82,26 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
                );
        };
 
-       // special minimal style for modal dialogs
-       if ($minimal) {
-?>
+// special minimal style for modal dialogs
+if ($minimal) {
+       ?>
                <!-- <?php echo __FILE__ ?> -->
                <section class="minimal">
-                       <?php if (!empty($page['content'])) echo $page['content']; ?>
+                       <?php if (!empty($page['content'])) {
+                               echo $page['content'];
+                       } ?>
                        <div id="page-footer"></div>
                </section>
 <?php
-       } else {
-               // the style for all other pages
-?>
+} else {
+       // the style for all other pages
+       ?>
                <main>
                        <div class="container">
                                <div class="row">
 <?php
-                               if ((empty($_REQUEST['pagename']) || $_REQUEST['pagename'] != "lostpass") && ($_SERVER['REQUEST_URI'] != $basepath)) {
-                                       echo '
+                                       if ((empty($_REQUEST['pagename']) || $_REQUEST['pagename'] != "lostpass") && ($_SERVER['REQUEST_URI'] != $basepath)) {
+                                               echo '
                                        <aside class="col-lg-3 col-md-3 offcanvas-sm offcanvas-xs">';
 
                                                if (!empty($page['aside'])) {
@@ -114,18 +117,18 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
 
                                        <div class="col-lg-7 col-md-7 col-sm-12 col-xs-12" id="content">
                                                <section class="sectiontop ';
-                                                       echo $page['section'] ?? '';
-                                                       echo '-content-wrapper">';
-                                                       if (!empty($page['content'])) {
-                                                               echo $page['content'];
-                                                       }
-                                                       echo '
+                                               echo $page['section'] ?? '';
+                                               echo '-content-wrapper">';
+                                               if (!empty($page['content'])) {
+                                                       echo $page['content'];
+                                               }
+                                               echo '
                                                        <div id="pause"></div> <!-- The pause/resume Ajax indicator -->
                                                </section>
                                        </div>
                                                ';
-                               } else {
-                                       echo '
+                                       } else {
+                                               echo '
                                        <section class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="content" style="margin-top:50px;">';
                                                if (!empty($page['content'])) {
                                                        echo $page['content'];
@@ -133,8 +136,8 @@ $is_singleuser_class = $is_singleuser ? "is-singleuser" : "is-not-singleuser";
                                                echo '
                                        </section>
                                        ';
-                               }
-?>
+                                       }
+       ?>
                                </div><!--row-->
                        </div><!-- container -->
 
index 98d5a69b85fb90fda08002daa0ae42b2ebca9120..f75c6a6ac78d7f8098d5070be05815d29d72189d 100644 (file)
@@ -12,14 +12,20 @@ use Friendica\DI;
 <!DOCTYPE html>
 <html>
 <head>
-       <title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
+       <title><?php if(!empty($page['title'])) {
+               echo $page['title'];
+       } ?></title>
        <script>var baseurl="<?php echo Friendica\DI::baseUrl() ?>";</script>
-       <?php if(!empty($page['htmlhead'])) echo $page['htmlhead'] ?>
+       <?php if(!empty($page['htmlhead'])) {
+               echo $page['htmlhead'];
+       } ?>
 </head>
 <body class="minimal">
        <section>
                <div  class="generic-page-wrapper">
-                       <?php if(!empty($page['content'])) echo $page['content']; ?>
+                       <?php if(!empty($page['content'])) {
+                               echo $page['content'];
+                       } ?>
                </div>
                <div id="page-footer">
                        <?php echo $page['footer'] ?? ''; ?>
index 1799f7f8367d8acd0b2f4e608462e100afc7997a..52f41eb0f48ace5787b8f83e7c9191e8061bafb3 100644 (file)
@@ -16,22 +16,34 @@ $frio = 'view/theme/frio';
 <!DOCTYPE html>
 <html>
 <head>
-       <title><?php if(!empty($page['title'])) echo $page['title'] ?></title>
+       <title><?php if(!empty($page['title'])) {
+               echo $page['title'];
+       } ?></title>
        <meta name="viewport" content="initial-scale=1.0">
        <meta request="<?php echo htmlspecialchars($_REQUEST['pagename']) ?>">
        <script type="text/javascript">var baseurl="<?php echo DI::baseUrl() ?>";</script>
        <script type="text/javascript">var frio="<?php echo $frio; ?>";</script>
-       <?php if(!empty($page['htmlhead'])) echo $page['htmlhead']; ?>
+       <?php if(!empty($page['htmlhead'])) {
+               echo $page['htmlhead'];
+       } ?>
 </head>
 <body id="top">
-<?php if($_SERVER['REQUEST_URI'] == '/'){header('Location: /login');} ?>
+<?php if($_SERVER['REQUEST_URI'] == '/') {
+       header('Location: /login');
+} ?>
 <a href="<?php echo DI::args()->getCommand(); ?>/#content" class="sr-only sr-only-focusable"><?php echo DI::l10n()->t('Skip to main content'); ?></a>
 <?php
        if(!empty($page['nav'])) {
-       echo    str_replace('~config.sitename~', DI::config()->get('config','sitename'),
-                       str_replace('~system.banner~', DI::config()->get('system','banner'),
-                       $page['nav']
-       ));};
+               echo    str_replace(
+                       '~config.sitename~',
+                       DI::config()->get('config', 'sitename'),
+                       str_replace(
+                               '~system.banner~',
+                               DI::config()->get('system', 'banner'),
+                               $page['nav']
+                       )
+               );
+       };
 ?>
        <main>
 
@@ -40,16 +52,26 @@ $frio = 'view/theme/frio';
 <?php
                                        echo '
                                        <aside class="col-lg-3 col-md-3 hidden-sm hidden-xs">
-                                               '; if(!empty($page['aside'])) echo $page['aside']; echo'
-                                               '; if(!empty($page['right_aside'])) echo $page['right_aside']; echo'
-                                               '; include('includes/photo_side.php'); echo'
+                                               ';
+if(!empty($page['aside'])) {
+       echo $page['aside'];
+} echo'
+                                               ';
+if(!empty($page['right_aside'])) {
+       echo $page['right_aside'];
+} echo'
+                                               ';
+include('includes/photo_side.php');
+echo'
                                        </aside>
 
                                        <div class="col-lg-8 col-md-8 col-sm-12 col-xs-12" id="content">
                                                <section class="sectiontop">
                                                                <div class="panel ' . DI::args()->get(0, 'generic') . '-content-wrapper">
                                                                        <div class="panel-body">';
-                                                                               if(!empty($page['content'])) echo $page['content']; echo'
+if(!empty($page['content'])) {
+       echo $page['content'];
+} echo'
                                                                                <div id="pause"></div> <!-- The pause/resume Ajax indicator -->
                                                                        </div>
                                                                </div>