!read adm/title.phtml 2\
$title
!set taxo=keywords
!set cat=A
<div class="job_desc spacer">$job_desc</div>
!! what follows is not useful, I keep it for a while.
!goto newmethod
!if $parm=$empty
$name_domain
<div class="wims_widget_box">
<ul class="box_content inline">
!for dom in $Tot_dom
!set dom_n=!lookup $dom in $dir_lang
!default dom_n=$dom
<li>
!set wims_ref_class=wims_button
!href module=$module&cmd=new&job=subject&parm=$dom $dom_n
</li>
</ul>
</div>
!else
$name_available
!set wims_menu_items=!append line other,1,module=$module&cmd=new&job=subject\
to $wims_menu_items
!set search_and=yes
<ul>
!for t in $list
<li id="$t">
!read script.phtml $t,$name
!if $cnt > 1
<ul>
!for ttt in $tt
<li id="$ttt">
!read script.phtml $ttt,$name
!if $cnt > 1
<ul>
!for tttt in $tt
<li id="$tttt">
!read script.phtml $tttt,$name
</li>
</ul>
!endif
</li>
</ul>
!endif
</li>
</ul>
!endif
:newmethod
!set search_and=yes
<div id="taxonomy_list">
<ul class="tabs">
!for dom in $Tot_dom
!set dom_title=!defof title in taxo/$dom.phtml.$lang
<li><a href="#$dom">$dom_title</a></li>
</ul>
!distribute items 0,0 into i, active_index
!for dom in $Tot_dom
<div id="$dom">
!read taxo/$dom.phtml.$lang
!if $dom isitemof $parm
!set active_index = $i
!endif
!increase i
</div>
</div>
<!-- JS for dynamic tree display -->
<script src="scripts/js/tree_JS/tree.js"></script>
<!-- JS for Tabs display -->
<script>
/*<![CDATA[*/
jQuery(function($$) {
$$( "#taxonomy_list" ).tabs({
active: $active_index
});
});
/*]]>*/
</script>
$table_header
!for t in $list
$table_tr
!!keep
key - use in search_addr
.
!set
key=!lookup
$t in
$dir
!set key_l=!lookup $t in $dir_lang
!set name_$t=!lookup $t in $dir_lang
!default name_$t=$t
!set
key=!replace internal _ by $ $ in
$t
!set more=!lookup $t in $dir
<th>
!if $more!=$empty
!href module=$module&cmd=new&job=$job&parm=$t $(name_$t)
!else
$(name_$t)
!endif
</th>
!for i in A,T,P,X,S
!set cat=$i
<td >
!if $i!=A
<span class="small">
!href $search_addr $(name_$i)
</span>
!else
!href $search_addr $(name_$i)
!endif
</td>
</tr>
</table>
!endif