mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
Minor improvements (#953)
This commit is contained in:
parent
1ac777c1f7
commit
1c7f13e737
3 changed files with 6 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,5 +1,7 @@
|
||||||
### TorrentPier ###
|
### IDE ###
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
### TorrentPier ###
|
||||||
.env
|
.env
|
||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
composer.phar
|
composer.phar
|
||||||
|
|
|
@ -107,8 +107,8 @@ $this->store('cat_forums', $data);
|
||||||
// jumpbox
|
// jumpbox
|
||||||
//
|
//
|
||||||
$data = [
|
$data = [
|
||||||
'guest' => get_forum_select('guest', '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=\'viewforum.php?f=\'+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);
|
$this->store('jumpbox', $data);
|
||||||
|
|
|
@ -221,7 +221,7 @@ class Atom
|
||||||
$atom .= " </author>\n";
|
$atom .= " </author>\n";
|
||||||
$atom .= " <updated>" . $date . "T$time+00:00</updated>\n";
|
$atom .= " <updated>" . $date . "T$time+00:00</updated>\n";
|
||||||
$atom .= " <id>tag:rto.feed," . $date . ":/t/$topic_id</id>\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 .= "</entry>\n";
|
||||||
}
|
}
|
||||||
$atom .= "</feed>";
|
$atom .= "</feed>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue