From: Kevin M. Rosenberg Date: Fri, 20 Jun 2003 04:46:54 +0000 (+0000) Subject: r5165: *** empty log message *** X-Git-Tag: v2.5.5~77 X-Git-Url: http://git.kpe.io/?p=lml.git;a=commitdiff_plain;h=21657b49ea30c2d34d598258257fea8ec06fff31 r5165: *** empty log message *** --- diff --git a/2/base.lisp b/2/base.lisp index 944df66..3105af8 100644 --- a/2/base.lisp +++ b/2/base.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: base.lisp,v 1.1 2003/06/20 04:12:29 kevin Exp $ +;;;; $Id: base.lisp,v 1.2 2003/06/20 04:46:54 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -69,3 +69,13 @@ ,@body)))) + +(defmacro alink (url desc) + `(html + ((:a :href ,url) ,desc))) + +(defmacro alink-c (class url desc) + `(html + ((:a :class ,class :href ,url) ,desc))) + +(export '(alink alink-c)) diff --git a/2/stdsite.lisp b/2/stdsite.lisp index bf7773b..49610e0 100644 --- a/2/stdsite.lisp +++ b/2/stdsite.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: stdsite.lisp,v 1.1 2003/06/20 04:12:29 kevin Exp $ +;;;; $Id: stdsite.lisp,v 1.2 2003/06/20 04:46:54 kevin Exp $ ;;;; ;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -50,13 +50,13 @@ (defmacro std-body (file &body body) - `(body - (lml-load "banner.lml_") - (html + `(html + (:body + (lml-load "banner.lml_") ((:table :class "stdbodytable" :border "0" :cellpadding "3") (:tbody ((:tr :valign "top") - ((td :class "stdcontentcell") + ((:td :class "stdcontentcell") (lml-load "contents.lml_")) ((:td :valign "top") ,@body