Subversion Repositories wimsdev

Rev

Rev 10341 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
10204 bpr 1
<!-- _widgets/docheadermenu.phtml -->
10341 bpr 2
 
5998 bpr 3
<div class="wimsmenu">
10341 bpr 4
 !if _mfeed isin $wims_session
6042 obado 5
  <span class="menuitem">
6
   !set wims_ref_class=doch_class
10348 bpr 7
   <a href="#" onclick="window.close()" class="doch_class">$wims_name_back2</a>
8
   !reset wims_ref_class
5998 bpr 9
  </span><!-- menuitem-->
10
 !endif
10341 bpr 11
 !if help notin $wims_session and _mfeed notin $wims_session and $doc!=$helpd
5998 bpr 12
  !if $wims_class=$empty
10015 bpr 13
   !!<span class="menuitem">
14
    !!read $oneitem doch_wims,1,module=home
15
   !!</span><!-- menuitem-->
6042 obado 16
  !else
10341 bpr 17
    !if _doc isin $wims_session
5998 bpr 18
    <span class="menuitem">
6042 obado 19
     !set wims_ref_class=doch_class
20
     <a href="#" onclick="window.close()">$wims_name_doch_class</a>
10348 bpr 21
     !reset wims_ref_class
5998 bpr 22
    </span><!-- menuitem-->
10341 bpr 23
    !else
10265 bpr 24
    !!<span class="menuitem">
10015 bpr 25
     !!read $oneitem doch_class,1,module=home
10265 bpr 26
    !!</span><!-- menuitem-->
10341 bpr 27
    !endif
5998 bpr 28
  !endif
10321 bpr 29
!else
30
   <span class="menuitem">
31
     !set wims_ref_class=doch_class
10348 bpr 32
     <a href="#" onclick="window.close()" class="doch_class">$wims_name_back2</a>
33
     !reset wims_ref_class
10321 bpr 34
    </span><!-- menuitem-->
35
!endif
10204 bpr 36
!!! FIXME mettre dans le menu de gauche ??
37
!!! link on the list of documents.
10321 bpr 38
 !if ..//adm/doc isin ..//$module \
10341 bpr 39
    and ($wims_class=$empty and $wims_developer=$empty) \
40
    and $doctype!=devel and _help notin $wims_session and $doc!=$helpd
5998 bpr 41
  <span class="menuitem">
6042 obado 42
   !read $oneitem doch_docs,1,module=$module&cmd=reply&job=home
5998 bpr 43
  </span><!-- menuitem-->
44
 !endif
10321 bpr 45
 !!if $printable!=yes
6042 obado 46
  !if $job=exosource
47
   <span class="menuitem">
48
    !read $oneitem doch_back,1,cmd=reply&job=read
49
    !reset wims_ref_class
50
   </span><!-- menuitem-->
51
  !endif
10321 bpr 52
  !if $doc!=$helpd
53
     <span class="menuitem">
6042 obado 54
    !!!ne pas utiliser oneitem, ne fonctionne pas
10321 bpr 55
      !set wims_ref_class=doch_help
56
      !if $editable=yes and $printable!=yes
57
        !href target=wims_help module=$module&cmd=new&job=read&doc=$helpd $wims_name_doch_help
58
      !else
59
       !href target=wims_mhelp module=$module&cmd=help&special_parm=doc $wims_name_doch_help
60
      !endif
61
      !reset wims_ref_class
62
    </span><!-- menuitem-->
10341 bpr 63
      !if _mfeed notin $wims_session
10321 bpr 64
    <span class="menuitem">
6042 obado 65
    !!!ne pas utiliser oneitem
10321 bpr 66
      !set wims_ref_class=doch_about
67
      !href target=wims_mhelp module=$module&cmd=help&special_parm=about $wims_name_doch_about
68
      !reset wims_ref_class
69
    </span><!-- menuitem-->
10341 bpr 70
     !endif
6042 obado 71
  !endif
10321 bpr 72
 !!endif
10015 bpr 73
</div> <!--menu -->
9775 bpr 74
<!-- end _widgets/docheadermenu.phtml -->