Rev 2286 | Rev 5971 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
751 | bpr | 1 | !!##language independant |
23 | reyssat | 2 | !set parm1=!text select /$namechars in $parm1 |
3 | !set parm1=!char 1 to $namelim of $parm1 |
||
4 | |||
5 | !if $parm1=$block or $parm1=$empty |
||
6 | !default parm2=?? |
||
7 | !set parm2=!slashsubst $parm2 |
||
8 | !set pp=!item 3 to -1 of $parms |
||
9 | !set pp=!slashsubst $pp |
||
5894 | bpr | 10 | <a id="primi$serial"></a> |
23 | reyssat | 11 | !if $doc/$block.$serial notitemof $foldlist and $printable!=yes |
12 | !href cmd=reply&job=read&foldin=$block.$serial#primi$serial $parm2 |
||
13 | !else |
||
14 | $pp |
||
15 | !if $printable!=yes |
||
16 | <small>[ |
||
747 | bpr | 17 | !href cmd=reply&job=read&foldout=$block.$serial#primi$serial $n_foldout |
23 | reyssat | 18 | ]</small> |
19 | !endif |
||
20 | !endif |
||
21 | !exit |
||
22 | !endif |
||
23 | |||
24 | !reset titb |
||
25 | !read $wims_priv_thisdoc/$parm1.def |
||
26 | !set prompt=!item 2 to -1 of $parms |
||
27 | !default prompt=$titb |
||
28 | !if $titb=$empty |
||
29 | !default prompt=<tt>$parm1</tt> |
||
30 | $prompt |
||
31 | !if $editable=yes |
||
32 | <small>[ |
||
747 | bpr | 33 | !href cmd=reply&job=edit&block=$parm1 $n_create |
23 | reyssat | 34 | ]</small> |
35 | !else |
||
747 | bpr | 36 | <small>$n_nonavailable</small> |
23 | reyssat | 37 | !endif |
38 | !else |
||
5894 | bpr | 39 | <a id="primi$serial"></a> |
23 | reyssat | 40 | $prompt |
41 | !if $printable=yes |
||
42 | !goto alwaysin |
||
43 | !endif |
||
44 | <small>[ |
||
45 | !if $doc/$block.$serial notitemof $foldlist and robot notin $session |
||
1685 | bpr | 46 | !href cmd=reply&job=read&foldin=$block.$serial#primi$serial $wims_name_detail |
23 | reyssat | 47 | ]</small> |
48 | !else |
||
747 | bpr | 49 | !href cmd=reply&job=read&foldout=$block.$serial#primi$serial $n_foldout |
23 | reyssat | 50 | ] |
51 | !if $editable=yes |
||
52 | [ |
||
1685 | bpr | 53 | !href cmd=reply&job=edit&doc=$doc&block=$parm1 $wims_name_Edit |
23 | reyssat | 54 | ] |
55 | !endif |
||
56 | </small> |
||
57 | :alwaysin |
||
58 | !set blocksave=$blocksave $block |
||
59 | !set block=$parm1 |
||
60 | !read $wims_priv_thisdoc/$parm1.def content |
||
61 | !set block=!word -1 of $blocksave |
||
62 | !set blocksave=!word 1 to -2 of $blocksave |
||
63 | !set gotblock=!append item $parm1 to $gotblock |
||
64 | !endif |
||
65 | !endif |