diff options
author | Squibid <me@zacharyscheiman.com> | 2023-10-30 16:36:30 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2023-10-30 16:36:30 -0400 |
commit | 662df0d550fc94e77e101fe1bbea567ee5096e32 (patch) | |
tree | 4746ab66b890d8f6aa0efac53a793f8d6025ed05 /view.php | |
parent | 0ba2dab8acccb1200df067f290e099eae6c79c45 (diff) | |
download | wallheaven-662df0d550fc94e77e101fe1bbea567ee5096e32.tar.gz wallheaven-662df0d550fc94e77e101fe1bbea567ee5096e32.tar.bz2 wallheaven-662df0d550fc94e77e101fe1bbea567ee5096e32.zip |
keep category, and purity of wallpaper when looking at similar ones
Diffstat (limited to '')
-rw-r--r-- | view.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ ?> </div> <?php - printf("<hr><details id='tags' open><summary>Tags<a id='similar' href='/query.php?q=like:%s'>Similar Wallpapers</a></summary>\n", $matches[0]); + printf("<hr><details id='tags' open><summary>Tags<a id='similar' href='/query.php?q=like:%s&%s=on&%s=on'>Similar Wallpapers</a></summary>\n", $matches[0], ucfirst($res["category"]), toupperpurity($res["purity"])); foreach ($res["tags"] as $tags) printf("<span title='%s' id='%s'><a href='/query.php?q=id:%s'>%s</a></span>\n", $tags["alias"], $tags["purity"], $tags["id"], $tags["name"]); ?> |