Rev 12490 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
747 | bpr | 1 | !!##language independant |
12490 | bpr | 2 | !if $parm1=$empty |
23 | reyssat | 3 | !exit |
12490 | bpr | 4 | !endif |
23 | reyssat | 5 | !if \ isin $parm1$parm2$parm3$parm4 |
12490 | bpr | 6 | !for p in 1,2,3,4 |
7 | !set parm$p=!slashsubst $(parm$p) |
||
8 | !next p |
||
23 | reyssat | 9 | !endif |
3616 | bpr | 10 | !if / isin $parm1 |
12490 | bpr | 11 | !default parm4=style="width:90%;height:300px;" |
12 | !set parm3=!replace internal &+ by ; in $parm3 |
||
13 | !set parm3=!replace internal & by ; in $parm3 |
||
14 | !set parm3=!replace internal &+ by ; in $parm3 |
||
15 | !set parm3=!replace internal & by ; in $parm3 |
||
16 | <iframe src="wims.cgi?module=adm/raw&job=lightpopup&emod=$parm1&parm=$parm3;cmd=new;&option=noabout" $parm4></iframe> |
||
17 | !exit |
||
3616 | bpr | 18 | !endif |
12490 | bpr | 19 | !reset titb |
16687 | guerimand | 20 | !if $embed_file=$empty |
21 | !set embed_file=$parm1 |
||
22 | !else |
||
23 | !set embed_file=$embed_file.$parm1 |
||
24 | !endif |
||
12490 | bpr | 25 | !read $wims_priv_thisdoc/$parm1.def |
26 | !set prompt=!item 2 to -1 of $parms |
||
27 | !default prompt=$titb |
||
28 | !if $titb=$empty |
||
5971 | bpr | 29 | !default prompt=<span class="tt">$parm1</span> |
23 | reyssat | 30 | $prompt |
31 | !if $editable=yes |
||
6848 | bpr | 32 | <span class="small">[ |
33 | !href cmd=reply&job=edit&block=$parm1 $n_create |
||
34 | ]</span> |
||
12490 | bpr | 35 | !else |
6848 | bpr | 36 | <span class="small">$n_nonavailable</span> |
12490 | bpr | 37 | !endif |
38 | !else |
||
5894 | bpr | 39 | <a id="$parm1"></a> |
23 | reyssat | 40 | $prompt |
41 | !if $editable=yes |
||
12490 | bpr | 42 | <span class="small">[ |
43 | !href cmd=reply&job=edit&doc=$doc&block=$parm1 $wims_name_Edit |
||
44 | ]</span> |
||
23 | reyssat | 45 | !endif |
46 | !read $wims_priv_thisdoc/$parm1.def content |
||
47 | !set gotblock=!append item $parm1 to $gotblock |
||
12490 | bpr | 48 | !endif |
16687 | guerimand | 49 | !if . isin $embed_file |
50 | !let tmp=!replace internal . by , in $embed_file |
||
51 | !let tmp=!item 1 to -2 of $tmp |
||
52 | !let embed_file=!replace internal , by . in $embed_file |
||
53 | !else |
||
54 | !reset embed_file |
||
55 | !endif |