aboutsummaryrefslogtreecommitdiff
path: root/src/cgi-bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgi-bin')
-rw-r--r--src/cgi-bin/conj.scm43
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgi-bin/conj.scm4 b/src/cgi-bin/conj.scm4
index fec7eca..8c5e317 100644
--- a/src/cgi-bin/conj.scm4
+++ b/src/cgi-bin/conj.scm4
@@ -325,12 +325,14 @@ ifelse(IFACE,[CGI],(cgi:init))
325 WHERE sound LIKE ~Q\ 325 WHERE sound LIKE ~Q\
326 AND (pos & 1048576) <> 0 ORDER BY 1" 326 AND (pos & 1048576) <> 0 ORDER BY 1"
327 (ellinika:sounds-like key)))) 327 (ellinika:sounds-like key))))
328 (cond 328 (cond
329 ((null? result) 329 ((null? result)
330 (search-failure key)) 330 (search-failure key))
331 ((= (length result) 1)
332 (show-conjugation (caar result)))
331 (else 333 (else
332 (format #t 334 (format #t
333 "<div class=\"error\"><p>~A</p></div>" 335 "<div class=\"error\"><p>~A</p></div>"
334 (_ "Στην λέξη εισαγωγής δεν υπάρχει τόνος. Μήπος θέλατε να κλίσετε ένα απ'αυτά τα ρήματα:")) 336 (_ "Στην λέξη εισαγωγής δεν υπάρχει τόνος. Μήπος θέλατε να κλίσετε ένα απ'αυτά τα ρήματα:"))
335 (display "<table width=\"100%\" class=\"noframe\">") 337 (display "<table width=\"100%\" class=\"noframe\">")
336 (let* ((result-length (length result)) 338 (let* ((result-length (length result))
@@ -404,12 +406,13 @@ ifelse(IFACE,[CGI],(cgi:init))
404 (display name) 406 (display name)
405 (display "=") 407 (display "=")
406 (display v))))))) 408 (display v)))))))
407 (cgi:names)))) 409 (cgi:names))))
408 (cons "@@conj@@" 410 (cons "@@conj@@"
409 (lambda () 411 (lambda ()
412 (format #t "<!-- ~A -->" (environ))
410 (dict-connect) 413 (dict-connect)
411 (main-form) 414 (main-form)
412 (do-conj) 415 (do-conj)
413 (if (not (null? unattested)) 416 (if (not (null? unattested))
414 (footnotes))))))) 417 (footnotes)))))))
415 418

Return to:

Send suggestions and report system problems to the System administrator.