diff --git a/classes/class_torrents.php b/classes/class_torrents.php index 30cccaf5..59aca00c 100644 --- a/classes/class_torrents.php +++ b/classes/class_torrents.php @@ -583,7 +583,7 @@ public static function has_snatched($TorrentID) { // Torrent was not found in the previously inspected snatch lists $CurSnatchedTorrents =& $SnatchedTorrents[$BucketID]; - if (empty($CurSnatchedTorrents)) { + if ($CurSnatchedTorrents === false) { $CurTime = time(); // This bucket hasn't been checked before $CurSnatchedTorrents = $Cache->get_value('users_snatched_'.$UserID.'_'.$BucketID, true); diff --git a/sections/artist/artist.php b/sections/artist/artist.php index 07ccfbf8..8d1994d6 100644 --- a/sections/artist/artist.php +++ b/sections/artist/artist.php @@ -828,7 +828,6 @@ function compare($X, $Y){ $Similar->write_artists(); ?> - + -
diff --git a/sections/collages/browse.php b/sections/collages/browse.php index c834ad6c..cf1c4735 100644 --- a/sections/collages/browse.php +++ b/sections/collages/browse.php @@ -47,14 +47,14 @@ } // Ordering -if(!empty($_GET['order']) && !empty($OrderTable[$_GET['order']])) { - $Order = $OrderTable[$_GET['order']]; +if(!empty($_GET['order_by']) && !empty($OrderTable[$_GET['order_by']])) { + $Order = $OrderTable[$_GET['order_by']]; } else { $Order = 'ID'; } -if(!empty($_GET['way']) && !empty($WayTable[$_GET['way']])) { - $Way = $WayTable[$_GET['way']]; +if(!empty($_GET['order_way']) && !empty($WayTable[$_GET['order_way']])) { + $Way = $WayTable[$_GET['order_way']]; } else { $Way = 'DESC'; } @@ -91,10 +91,20 @@ $SQL .= "%'"; } +if (isset($_GET['tags_type']) && $_GET['tags_type'] == 0) { // Any + $_GET['tags_type'] = 0; +} else { // All + $_GET['tags_type'] = 1; +} + if(!empty($Tags)) { - $SQL.= " AND TagList LIKE '%"; - $SQL .= implode("%' AND TagList LIKE '%", $Tags); - $SQL .= "%'"; + $SQL.= " AND (TagList LIKE '%"; + if ($_GET['tags_type'] == 0) { + $SQL .= implode("%' OR TagList LIKE '%", $Tags); + } else { + $SQL .= implode("%' AND TagList LIKE '%", $Tags); + } + $SQL .= "%')"; } if(!empty($_GET['userid'])) { @@ -153,50 +163,54 @@
- - - + + - - - + + - - - + + - - + + - + + + - @@ -217,15 +231,15 @@ if ($CollageCount == 1) { list($CollageID) = $DB->next_record(); ?> - [My personal collage] + [Personal collage] 1) { ?> - [My personal collages] + [Personal collages] - [My Subscribed Collages] + [Subscribed collages] - [Bookmarked Collages] + [Bookmarked collages][Recover collage] @@ -238,7 +252,7 @@ } ?> [Collages you started] - [Collages you've contributed to] + [Collages you contributed to][Torrents][Artists] diff --git a/sections/collages/new.php b/sections/collages/new.php index f3c0b2c2..101e3344 100644 --- a/sections/collages/new.php +++ b/sections/collages/new.php @@ -50,15 +50,15 @@
@@ -77,7 +77,7 @@ diff --git a/sections/forums/forum.php b/sections/forums/forum.php index fa951f83..4254071d 100644 --- a/sections/forums/forum.php +++ b/sections/forums/forum.php @@ -141,7 +141,7 @@ echo $Pages; ?> -
Search for: +
Search terms:
Tags: - +
Tags (comma-separated): +   + />   + />
Categories: +
Categories: $Cat) { ?> > - +   
Search in:
Search in: - /> Names + /> Names   /> Descriptions Order by:
Order by: - - + - - +
+
- Please ensure your collage will be allowed under the rules + Please ensure your collage will be allowed under the Collage Rules.
+
diff --git a/sections/forums/newthread.php b/sections/forums/newthread.php index 9f103ec8..b251893b 100644 --- a/sections/forums/newthread.php +++ b/sections/forums/newthread.php @@ -83,11 +83,11 @@
Latest
- + - + @@ -132,26 +132,30 @@ function RemoveAnswerField() { - + - + + + +
TitleTitle:
BodyBody:
+ + + +
- - - diff --git a/sections/requests/requests.php b/sections/requests/requests.php index 0f128022..00fc35f4 100644 --- a/sections/requests/requests.php +++ b/sections/requests/requests.php @@ -360,13 +360,13 @@ - + - + - + - +
Search terms:
Tags (comma-separated):   @@ -374,14 +374,14 @@ />
Include filled: checked="checked" />
Include old: checked="checked" /> diff --git a/sections/top10/torrents.php b/sections/top10/torrents.php index 5c16f858..e799db59 100644 --- a/sections/top10/torrents.php +++ b/sections/top10/torrents.php @@ -59,23 +59,18 @@
- + - - - - - - +
Tags (comma-separated): - -
- >  + +   + >   >
FormatFormat: - diff --git a/sections/top10/votes.php b/sections/top10/votes.php index 46458dde..b52d0abf 100644 --- a/sections/top10/votes.php +++ b/sections/top10/votes.php @@ -105,22 +105,17 @@ - + - - - - - - + -
Tags (comma-separated): - -
- >  + +   + >   >
Year: + to diff --git a/sections/torrents/browse2.php b/sections/torrents/browse2.php index 85924bac..fd59bec5 100644 --- a/sections/torrents/browse2.php +++ b/sections/torrents/browse2.php @@ -553,37 +553,37 @@ function header_link($SortKey,$DefaultWay="desc") {
- - - + + - - - + + - - - + + - - - + + - - + - - + - - + - - + - - + - - - + + - - - + + - + - - + - + - + - + diff --git a/static/styles/mono/style.css b/static/styles/mono/style.css index effe0d9f..95fb4da7 100644 --- a/static/styles/mono/style.css +++ b/static/styles/mono/style.css @@ -879,7 +879,7 @@ div.thin .header+.linkbox+div td { padding-left: 10px !important; } -div.thin .header+.linkbox+div table td:first-child,.filter_torrents table:nth-child(1) td:first-child { +td.label { font-size: 10pt; } @@ -910,10 +910,6 @@ div.thin form.search_form table td.label,.filter_torrents table td:first-child { text-align: right; } -div.thin form.search_form table td.label { - width: 12%; -} - .filter_torrents .submit { position: relative; padding-top: 15px;
Artist Name: +
Artist name:
Album/Torrent Name: +
Album/Torrent name:
Record Label: +
Record label:
Catalogue Number: +
Catalogue number: Year: +
[Click here to toggle searching for specific remaster information][Click here to toggle searching for specific remaster information]
Edition Title: + Edition title: Edition Year: + Edition year:
Edition Release Label: + Edition release label:
Edition Catalogue Number: + Edition catalogue number:
File List: +
File list:
Rip Specifics: -
Rip specifics: + - - - $Type) { ?> @@ -649,32 +649,32 @@ function header_link($SortKey,$DefaultWay="desc") {
Misc: - + - - - - @@ -684,7 +684,7 @@ function header_link($SortKey,$DefaultWay="desc") {
Search terms: @@ -694,7 +694,7 @@ function header_link($SortKey,$DefaultWay="desc") {
Tags (comma-separated):   @@ -702,7 +702,7 @@ function header_link($SortKey,$DefaultWay="desc") { />
Order by: