Rev 14796 | Rev 14934 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14297 | guerimand | 1 | <div id="freework_management"> |
2 | !if $jquery_defined=yes |
||
3 | <script> |
||
4 | /*<![CDATA[*/ |
||
5 | jQuery(function($$) { |
||
6 | // Get in sessionStorage if a tab was previously selected, and activate it. |
||
7 | var selectedTabId = sessionStorage.getItem("freework_management_selectedTab"); |
||
8 | selectedTabId = selectedTabId === null ? 0 : selectedTabId; //default tab = 0 |
||
9 | $$("#freework_management").tabs({ |
||
10 | active: selectedTabId, |
||
11 | activate : function( event, ui ) { |
||
12 | selectedTabId = $$("#freework_management").tabs("option", "active"); |
||
13 | sessionStorage.setItem("freework_management_selectedTab", selectedTabId); |
||
14 | } |
||
15 | }); |
||
16 | }); |
||
17 | /*]]>*/ |
||
18 | </script> |
||
19 | <ul> |
||
20 | <li><a href="#freeworkinfo">$name_info</a></li> |
||
21 | !ifval $activetest!=-1 |
||
14537 | guerimand | 22 | <li><a href="#list"> |
23 | !if $type<=2 |
||
24 | $name_content |
||
25 | !else |
||
26 | $name_parametrage |
||
27 | !endif |
||
28 | </a></li> |
||
29 | !if $activetest>=1 and $type>=2 and $type<=3 |
||
14297 | guerimand | 30 | <li><a href="#listwork">$name_listwork</a></li> |
31 | !endif |
||
32 | !endif |
||
33 | </ul> |
||
34 | <div id="freeworkinfo"> |
||
35 | !read proc/freeworkinfo.phtml |
||
36 | </div> |
||
37 | !if $activetest!=-1 |
||
38 | <div id="list"> |
||
14537 | guerimand | 39 | !read proc/freeworkdata$(lpara_type[$type]).phtml |
14297 | guerimand | 40 | </div> |
41 | !endif |
||
14537 | guerimand | 42 | !if $activetest>=1 and $type>=2 and $type<=3 |
14297 | guerimand | 43 | <div id="listwork"> |
14537 | guerimand | 44 | !read proc/listwork$(type).phtml |
14297 | guerimand | 45 | </div> |
46 | !endif |
||
47 | !else |
||
48 | !if $wims_infoshow1=no |
||
49 | <fieldset class="property_fields blockcenter"> |
||
50 | <legend> $name_info [ |
||
51 | !href cmd=resume&infoshow1=yes $wims_name_showall |
||
52 | ] |
||
53 | </legend> |
||
54 | </fieldset> |
||
55 | !else |
||
56 | !read proc/freeworkinfo.phtml |
||
57 | !endif |
||
58 | !if $activetest!=-1 |
||
14572 | bpr | 59 | !if $wims_infoshow2=no |
14808 | obado | 60 | <fieldset class="property_fields blockcenter"> |
61 | <legend> $name_content [ |
||
62 | !href cmd=resume&infoshow2=yes $wims_name_showall |
||
63 | ] |
||
64 | </legend> |
||
65 | </fieldset> |
||
14572 | bpr | 66 | !else |
67 | !read proc/freeworkdata$(lpara_type[$type]).phtml |
||
68 | !endif |
||
14297 | guerimand | 69 | !endif |
14537 | guerimand | 70 | !if $activetest>=1 and $type>=2 and $type<=3 |
71 | !read proc/listwork$(type).phtml |
||
72 | !endif |
||
14297 | guerimand | 73 | !endif |
74 | </div> |
||
75 | |||
14537 | guerimand | 76 | !!tail |