dark-shadow: tidy code

This commit is contained in:
Garfield69 2020-10-02 11:10:51 +13:00
parent a75426a876
commit 5673eeab97
1 changed files with 5 additions and 5 deletions

View File

@ -124,18 +124,18 @@ login:
download: download:
before: before:
path: ajax_det_poll.php path: ajax_det_poll.php
method: "post" method: post
inputs: inputs:
set_thanks: "thanks" set_thanks: thanks
det_id: "{{ .DownloadUri.Query.torrent }}" det_id: "{{ .DownloadUri.Query.torrent }}"
ajax: "yes" ajax: yes
search: search:
paths: paths:
- path: selection.php - path: selection.php
inputs: inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 name, 1 descr, 2 both, 4 imdb # 0 name, 1 descr, 2 both, 4 imdb
blah: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}" blah: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
orderby: "{{ .Config.sort }}" orderby: "{{ .Config.sort }}"
@ -283,4 +283,4 @@ search:
minimumseedtime: minimumseedtime:
# 2 days (as seconds = 2 x 24 x 60 x 60) # 2 days (as seconds = 2 x 24 x 60 x 60)
text: 172800 text: 172800
# Engine tbd # Engine n/a