Rev 7680 | Rev 12973 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
67 | bpr | 1 | !if $wims_read_parm=help |
3298 | bpr | 2 | !read help/$lang/special/tooltip.phtml |
2071 | zjchen | 3 | !exit |
67 | bpr | 4 | !endif |
5 | |||
756 | bpr | 6 | !set parms=$wims_read_parm |
7 | !if $parms issametext |
||
8 | !set special_out= <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script> |
||
9 | $special_out |
||
10 | !exit |
||
11 | !endif |
||
12 | !set parm1=!item 1 of $parms |
||
13 | !set text=!item 3 to -1 of $parms |
||
10976 | bpr | 14 | !if $text=$empty |
15 | !set text=!item 2 of $parms |
||
16 | !else |
||
17 | !set option=!item 2 of $parms |
||
18 | !endif |
||
756 | bpr | 19 | !if nojs iswordof $option |
20 | !set option=!replace internal nojs by in $option |
||
21 | !set special_out= |
||
67 | bpr | 22 | !else |
7680 | bpr | 23 | !set special_out= <script type="text/javascript" src="scripts/js/wz_tooltip.js"></script> |
67 | bpr | 24 | !endif |
10976 | bpr | 25 | |
756 | bpr | 26 | !set option=!trim $option |
27 | !set option=!declosing $option |
||
67 | bpr | 28 | !if $option=$empty |
756 | bpr | 29 | !set option=FONTSIZE, '12pt', ABOVE, 'true' |
67 | bpr | 30 | !endif |
756 | bpr | 31 | !if $parm1 != $empty |
421 | bpr | 32 | !set text=!replace internal ' by \' in $text |
3655 | bpr | 33 | !set text=!replace internal " by in $text |
4429 | bpr | 34 | !set text=!replace internal ; by ; in $text |
35 | !set text=!replace internal , by , in $text |
||
3591 | bpr | 36 | !! !set text=!replace internal " by &#quot; in $text |
37 | !! !set text=!replace internal < by &#lt; in $text |
||
38 | !! !set text=!replace internal > by &#gt; in $text |
||
756 | bpr | 39 | !set text=!replace internal $\ |
10976 | bpr | 40 | $ by $ in $text |
756 | bpr | 41 | !set special_out=$special_out\ |
3591 | bpr | 42 | <span class="tooltip"><a onmouseover="Tip('$text', $option)" onmouseout="UnTip()">$parm1</a></span> |
7680 | bpr | 43 | !else |
756 | bpr | 44 | !set special_out=$text |
45 | !endif |
||
67 | bpr | 46 | $special_out |