Minor improvements (#953)

This commit is contained in:
Roman Kelesidis 2023-10-05 19:46:56 +07:00 committed by GitHub
commit 1c7f13e737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

4
.gitignore vendored
View file

@ -1,5 +1,7 @@
### TorrentPier ###
### IDE ###
.idea
### TorrentPier ###
.env
.php_cs.cache
composer.phar

View file

@ -107,8 +107,8 @@ $this->store('cat_forums', $data);
// jumpbox
//
$data = [
'guest' => get_forum_select('guest', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'viewforum.php?f=\'+this.value;"'),
'user' => get_forum_select('user', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'viewforum.php?f=\'+this.value;"'),
'guest' => get_forum_select('guest', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+this.value;"'),
'user' => get_forum_select('user', 'f', null, null, null, 'id="jumpbox" onchange="window.location.href=\'' . FORUM_URL . '\'+this.value;"'),
];
$this->store('jumpbox', $data);

View file

@ -221,7 +221,7 @@ class Atom
$atom .= " </author>\n";
$atom .= " <updated>" . $date . "T$time+00:00</updated>\n";
$atom .= " <id>tag:rto.feed," . $date . ":/t/$topic_id</id>\n";
$atom .= " <link href=" . TOPIC_URL . $topic_id . " />\n";
$atom .= " <link href=\"" . TOPIC_URL . $topic_id . "\" />\n";
$atom .= "</entry>\n";
}
$atom .= "</feed>";