$Log$
+Revision 522.22 2004/08/05 02:47:21 ajc
+* Removed the "pull_quote" style and used the <BLOCKQUOTE> tag instead. It
+ has a more predictable and attractive behavior, and can still be
+ overridden in the style sheet if the site operator wants to.
+
Revision 522.21 2004/08/04 03:52:23 ajc
* Tasks view is now pretty.
* Tasks view now displays date due for each task.
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
buf[strlen(buf) - 1] = 0;
if ((bq == 0) &&
((!strncmp(buf, ">", 1)) || (!strncmp(buf, " >", 2)) || (!strncmp(buf, " :-)", 4)))) {
- wprintf("<SPAN CLASS=\"pull_quote\">");
+ wprintf("<BLOCKQUOTE>");
bq = 1;
} else if ((bq == 1) &&
(strncmp(buf, ">", 1)) && (strncmp(buf, " >", 2)) && (strncmp(buf, " :-)", 4))) {
- wprintf("</SPAN>");
+ wprintf("</BLOCKQUOTE>");
bq = 0;
}
wprintf("<TT>");
intext = 1;
/* Quoted text should be displayed in italics and in a
- * different colour. This code understands both Citadel/UX
- * style " >" quotes and FordBoard-style " :-)" quotes.
+ * different colour. This code understands Citadel/UX
+ * style " >" quotes and will convert to <BLOCKQUOTE> tags.
*/
- if ((bq == 0) &&
- ((!strncmp(buf, " >", 2)) || (!strncmp(buf, " :-)", 4)))) {
- wprintf("<SPAN CLASS=\"pull_quote\">");
+ if ((bq == 0) && (!strncmp(buf, " >", 2))) {
+ wprintf("<BLOCKQUOTE>");
bq = 1;
- } else if ((bq == 1) &&
- (strncmp(buf, " >", 2)) && (strncmp(buf, " :-)", 4))) {
- wprintf("</SPAN>");
+ } else if ((bq == 1) && (strncmp(buf, " >", 2))) {
+ wprintf("</BLOCKQUOTE>");
bq = 0;
}
+ if ((bq == 1) && (!strncmp(buf, " >", 2))) {
+ strcpy(buf, &buf[2]);
+ }
/* Activate embedded URL's */
url(buf);
font-style: italic;
}
-.pull_quote {
- font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif;
- font-size: 7pt;
- font-style: italic;
- color: #000044;
-}
-
.tablabel {
font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif;
font-size: 10pt;