keep category, and purity of wallpaper when looking at similar ones
This commit is contained in:
parent
0ba2dab8ac
commit
662df0d550
1 changed files with 1 additions and 1 deletions
2
view.php
2
view.php
|
|
@ -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"]);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue