diff options
Diffstat (limited to 'src/cgi-bin/nea.scm4')
-rw-r--r-- | src/cgi-bin/nea.scm4 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/cgi-bin/nea.scm4 b/src/cgi-bin/nea.scm4 index f64aca2..e366a7c 100644 --- a/src/cgi-bin/nea.scm4 +++ b/src/cgi-bin/nea.scm4 | |||
@@ -1,3 +1,3 @@ | |||
1 | ;;;; News page for Ellinika | 1 | ;;;; News page for Ellinika |
2 | ;;;; Copyright (C) 2004, 2005, 2006, 2007, 2010, 2011 Sergey Poznyakoff | 2 | ;;;; Copyright (C) 2004, 2005, 2006, 2007, 2010, 2011, 2015 Sergey Poznyakoff |
3 | ;;;; | 3 | ;;;; |
@@ -32,3 +32,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
32 | (define tmpl (if (and monima-nea-template-file-name | 32 | (define tmpl (if (and monima-nea-template-file-name |
33 | (cgi:value "timestamp")) | 33 | (cgi:value-u8 "timestamp")) |
34 | monima-nea-template-file-name | 34 | monima-nea-template-file-name |
@@ -179,3 +179,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
179 | (lambda () | 179 | (lambda () |
180 | (let ((x (string->number (cgi:value "from")))) | 180 | (let ((x (string->number (cgi:value-u8 "from")))) |
181 | (if (< x count) | 181 | (if (< x count) |
@@ -185,3 +185,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
185 | 0))) | 185 | 0))) |
186 | (fwd (let ((dir (cgi:value "dir"))) | 186 | (fwd (let ((dir (cgi:value-u8 "dir"))) |
187 | (or (not dir) | 187 | (or (not dir) |
@@ -201,3 +201,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
201 | (end (if fwd start from)) | 201 | (end (if fwd start from)) |
202 | (id (cgi:value "id"))) | 202 | (id (cgi:value-u8 "id"))) |
203 | 203 | ||
@@ -275,3 +275,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
275 | (display "</span>") | 275 | (display "</span>") |
276 | (if (not (cgi:value "timestamp")) | 276 | (if (not (cgi:value-u8 "timestamp")) |
277 | (permalink "span" (list-ref item 1))) | 277 | (permalink "span" (list-ref item 1))) |
@@ -339,3 +339,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
339 | (else | 339 | (else |
340 | (let ((v (cgi:value name))) | 340 | (let ((v (cgi:value-u8 name))) |
341 | (cond ((and v (not (string-null? v))) | 341 | (cond ((and v (not (string-null? v))) |
@@ -437,3 +437,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
437 | (cond | 437 | (cond |
438 | ((cgi:value "rss") | 438 | ((cgi:value-u8 "rss") |
439 | ifelse(IFACE,[CGI], | 439 | ifelse(IFACE,[CGI], |
@@ -449,6 +449,6 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
449 | (cond | 449 | (cond |
450 | ((or (cgi:value "timestamp") (cgi:value "id")) | 450 | ((or (cgi:value-u8 "timestamp") (cgi:value-u8 "id")) |
451 | (let ((tuples | 451 | (let ((tuples |
452 | (cond | 452 | (cond |
453 | ((cgi:value "timestamp") => | 453 | ((cgi:value-u8 "timestamp") => |
454 | (lambda (ts) | 454 | (lambda (ts) |
@@ -457,3 +457,3 @@ ifelse(IFACE,[CGI],(cgi:init)) | |||
457 | FROM news WHERE unix_timestamp(date)=~Q" ts))) | 457 | FROM news WHERE unix_timestamp(date)=~Q" ts))) |
458 | ((cgi:value "id") => | 458 | ((cgi:value-u8 "id") => |
459 | (lambda (id) | 459 | (lambda (id) |