From 3ded0d8fd988868b08511c9f3a90d37c4e9fe983 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Fri, 20 Jun 2003 04:46:54 +0000 Subject: [PATCH] r5165: *** empty log message *** --- base.lisp | 12 +++++++++++- stdsite.lisp | 10 +++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/base.lisp b/base.lisp index 944df66..3105af8 100644 --- a/base.lisp +++ b/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/stdsite.lisp b/stdsite.lisp index bf7773b..49610e0 100644 --- a/stdsite.lisp +++ b/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 -- 2.34.1