X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=downloads.lisp;h=4223820269707f28ab96e37c3de86cdf41c9094c;hb=a172835de847276a772b8f980fb2866d0a715e30;hp=affe2c63a4ca1c54cb8d563eab0083130904c675;hpb=75603625f58acaa4e23baca99712d4d098be43d0;p=lml.git diff --git a/downloads.lisp b/downloads.lisp index affe2c6..4223820 100644 --- a/downloads.lisp +++ b/downloads.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: downloads.lisp,v 1.6 2002/10/31 18:52:23 kevin Exp $ +;;;; $Id: downloads.lisp,v 1.7 2003/01/24 08:51:41 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -53,28 +53,28 @@ (when (plusp (length basename)) (with-open-file (strm file :direction :input) (setq size (round (/ (file-length strm) 1024)))) - (lml-print "~A" *ftp-url* ftp-name basename) - (lml-print "") - (lml-print " (~A, ~:D KB)" modtime size) + (lml-format "~A" *ftp-url* ftp-name basename) + (lml-princ "") + (lml-format " (~A, ~:D KB)" modtime size) (when (probe-file sig-path) (setq *signed* t) - (lml-print " [Signature]" *ftp-url* ftp-name)) + (lml-format " [Signature]" *ftp-url* ftp-name)) (br)))) (defun display-header (name url) - (lml-print "

Download

") - (lml-print "
") - (lml-print "

Browse ~A FTP Site

" name) - (lml-print "~A" url url)) + (lml-princ "

Download

") + (lml-princ "
") + (lml-format "

Browse ~A FTP Site

" name) + (lml-format "~A" url url)) (defun display-footer () (when *signed* - (lml-print "

GPG Public Key

") - (lml-print "Use this key to verify file signtatures")) - (lml-print "
")) + (lml-princ "

GPG Public Key

") + (lml-princ "Use this key to verify file signtatures")) + (lml-princ "
")) (defun print-sect-title (title) - (lml-print "~A" *section-indent* title *section-indent*)) + (lml-format "~A" *section-indent* title *section-indent*)) (defun match-base-name? (name) (let ((len-base-name (length *base-name*))) @@ -102,9 +102,9 @@ (let ((files (filter-against-base (directory pat)))) (when files (print-sect-title title) - (lml-print "
") + (lml-princ "
") (list-files files) - (lml-print"
")))) + (lml-princ "
")))) (defun display-sections (sects)