/[webpac]/openisis/current/tcl/detail.tsp
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /openisis/current/tcl/detail.tsp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 237 - (hide annotations)
Mon Mar 8 17:43:12 2004 UTC (20 years, 2 months ago) by dpavlin
File size: 833 byte(s)
initial import of openisis 0.9.0 vendor drop

1 dpavlin 237 <%!
2     # define a procedure to be called
3     proc pr {tag name} {
4     # list of all occurences of $tag
5     set occ [v $tag]
6     if {"" == $occ} {return 0} ;# empty
7     set occ [MHLl $occ]
8     # this section ends with a ! before the %,
9     # so the HTML becomes part of this procedure
10     !%>
11     <tr><td valign="top"><%=name%></td><td><%=join $occ <br>%></td></tr>
12     <%!
13     return 1
14     }
15     %>
16     <font color="#006600" size="+2">
17     <table>
18     <%
19     if [pr 24 TITLE] { # looks like CDS ;)
20     pr 70 AUTHOR(S)
21     pr 12 CONFERENCE
22     pr 25 EDITION
23     pr 26 IMPRINT
24     pr 30 COLLATION
25     pr 44 SERIES
26     pr 50 NOTES
27     pr 71 "CORP. BODY"
28     pr 72 "ADDED CONF"
29     pr 74 "OTHER TITLE"
30     pr 76 "OTHER LANG"
31     pr 69 KEYWORDS
32     } else { # default to "ALL" listing
33     foreach {tag val} [v get -tags] {
34     %>
35     <tr><td valign="top"><%=tag%></td><td><%=MHL $val%></td></tr>
36     <%
37     }
38     }
39     %>
40     </table>
41     </font>

  ViewVC Help
Powered by ViewVC 1.1.26