ossp-web/pkg/common.wml
<define-tag pkg_list endtag=required>
<table width=100% cellspacing=1 cellpadding=0 border=0>
%body
<tr>
<td colspan=3 height=1 bgcolor="#b5b5b0"><imgdot height=1></td>
</tr>
<tr>
<td colspan=3>
<b>*</b> derived from external sources
</td>
</tr>
</table>
</define-tag>
<define-tag pkg_item>
<preserve name>
<preserve longname>
<preserve desc>
<preserve done>
<preserve tag>
<preserve stable>
<preserve unstable>
<preserve derived>
<set-var %attributes>
<tr>
<td colspan=3 height=1 bgcolor="#b5b5b0"><imgdot height=1></td>
</tr>
<tr>
<td width=100%>
<a href="<get-var name>/"><b><get-var longname></b></a>
<ifeq "<get-var derived>" "yes" " <b>*</b>">
</td>
<td>stable:
<ifeq "<get-var stable>" "none" "none"
<a href="ftp://ftp.ossp.org/pkg/tool/<get-var name>/<get-var name>-<get-var stable>.tar.gz"><get-var stable></a>
>
</td>
<td>unstable:
<ifeq "<get-var unstable>" "none" "none"
<a href="ftp://ftp.ossp.org/pkg/tool/<get-var name>/<get-var name>-<get-var unstable>.tar.gz"><get-var unstable></a>
>
</td>
</tr>
<tr>
<td><get-var desc></td>
<td colspan=2>
<pbar width=200 pdone="<get-var done>" cdone="#b5b5b0" ctext="#f5f5f0" ctodo="#996666">
</td>
</tr>
<restore name>
<restore longname>
<restore desc>
<restore done>
<restore stable>
<restore unstable>
<restore derived>
</define-tag>