Rev 8997 | Rev 9063 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8618 | bpr | 1 | |
2728 | bpr | 2 | !read adm/title.phtml 3\ |
3 | $title |
||
8631 | bpr | 4 | !set taxo=keywords |
8942 | obado | 5 | !set cat=A |
8997 | bpr | 6 | |
7 | !! what follows is not useful, I keep it for a while. |
||
8 | !goto newmethod |
||
23 | reyssat | 9 | !if $parm=$empty |
2392 | bpr | 10 | $name_domain |
8645 | obado | 11 | <div class="wims_widget_box"> |
6458 | bpr | 12 | <ul class="box_content inline"> |
13 | !for dom in $Tot_dom |
||
14 | !set dom_n=!lookup $dom in $dir_lang |
||
15 | !default dom_n=$dom |
||
16 | <li> |
||
17 | !set wims_ref_class=wims_button |
||
18 | !href module=$module&cmd=new&job=subject&parm=$dom $dom_n |
||
19 | </li> |
||
20 | !next |
||
21 | </ul> |
||
22 | </div> |
||
23 | reyssat | 23 | !else |
2392 | bpr | 24 | $name_available |
2622 | bpr | 25 | !set wims_menu_items=!append line other,1,module=$module&cmd=new&job=subject\ |
26 | to $wims_menu_items |
||
6910 | bpr | 27 | !set search_and=yes |
6458 | bpr | 28 | <ul> |
29 | !for t in $list |
||
30 | <li id="$t"> |
||
6910 | bpr | 31 | !read script.phtml $t,$name |
6458 | bpr | 32 | !if $cnt > 1 |
33 | <ul> |
||
34 | !for ttt in $tt |
||
35 | <li id="$ttt"> |
||
6910 | bpr | 36 | !read script.phtml $ttt,$name |
6458 | bpr | 37 | !if $cnt > 1 |
38 | <ul> |
||
39 | !for tttt in $tt |
||
40 | <li id="$tttt"> |
||
6910 | bpr | 41 | !read script.phtml $tttt,$name |
6458 | bpr | 42 | </li> |
43 | !next |
||
44 | </ul> |
||
45 | !endif |
||
46 | </li> |
||
47 | !next |
||
48 | </ul> |
||
49 | !endif |
||
50 | </li> |
||
51 | !next t |
||
52 | </ul> |
||
8971 | bpr | 53 | !endif |
54 | |||
8997 | bpr | 55 | :newmethod |
9005 | bpr | 56 | !set search_and=yes |
8971 | bpr | 57 | <div id="taxonomy_list"> |
58 | <ul class="tabs"> |
||
59 | !for dom in $Tot_dom |
||
60 | !set dom_title=!defof title in taxo/$dom.phtml.$lang |
||
61 | <li><a href="#$dom">$dom_title</a></li> |
||
62 | !next |
||
63 | </ul> |
||
64 | |||
8987 | obado | 65 | !set i = 0 |
66 | !set active_index = 0 |
||
8971 | bpr | 67 | !for dom in $Tot_dom |
68 | <div id="$dom"> |
||
69 | !read taxo/$dom.phtml.$lang |
||
8996 | bpr | 70 | !if $dom isitemof $parm |
8987 | obado | 71 | !set active_index = $i |
72 | !endif |
||
73 | !increase i |
||
8971 | bpr | 74 | </div> |
75 | !next |
||
76 | </div> |
||
77 | <!-- JS for dynamic tree display --> |
||
78 | |||
79 | <script type="text/javascript" src="scripts/js/tree_JS/tree.js"></script> |
||
80 | <!-- JS for Tabs display --> |
||
81 | <script type="text/javascript"> |
||
82 | /*<![CDATA[*/ |
||
83 | jQuery(function($$) { |
||
8987 | obado | 84 | $$( "#taxonomy_list" ).tabs({ |
85 | active: $active_index |
||
86 | }); |
||
8971 | bpr | 87 | }); |
88 | /*]]>*/ |
||
89 | </script> |
||
90 | |||
8586 | bpr | 91 | !exit |
5917 | bpr | 92 | $table_header |
23 | reyssat | 93 | !for t in $list |
2622 | bpr | 94 | $table_tr |
6384 | bpr | 95 | !!keep key - use in search_addr. |
96 | !reset key |
||
97 | !set key=!lookup $t in $dir |
||
6385 | bpr | 98 | !default key=$t |
6384 | bpr | 99 | !set key_l=!lookup $t in $dir_lang |
100 | !set name_$t=!lookup $t in $dir_lang |
||
6385 | bpr | 101 | !default name_$t=$t |
6384 | bpr | 102 | !set key=!replace internal _ by $ $ in $t |
103 | !set key=$key,$key_l |
||
6435 | bpr | 104 | !set more=!lookup $t in $dir |
105 | <th> |
||
106 | !if $more!=$empty |
||
107 | !href module=$module&cmd=new&job=$job&parm=$t $(name_$t) |
||
108 | !else |
||
109 | $(name_$t) |
||
110 | !endif |
||
111 | </th> |
||
2622 | bpr | 112 | !for i in A,T,P,X,S |
23 | reyssat | 113 | !set cat=$i |
6385 | bpr | 114 | <td > |
2622 | bpr | 115 | !if $i!=A |
6146 | bpr | 116 | <span class="small"> |
23 | reyssat | 117 | !href $search_addr $(name_$i) |
6146 | bpr | 118 | </span> |
2622 | bpr | 119 | !else |
120 | !href $search_addr $(name_$i) |
||
121 | !endif |
||
122 | </td> |
||
23 | reyssat | 123 | !next i |
6384 | bpr | 124 | </tr> |
23 | reyssat | 125 | !next t |
5917 | bpr | 126 | </table> |
23 | reyssat | 127 | !endif |
6435 | bpr | 128 |