Subversion Repositories wimsdev

Rev

Rev 3796 | Rev 5997 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !set wims_theme_doctail=yes
  3. <!--begin of doctail.phtml-->
  4. !if $wims_class=$empty and $wims_developer=$empty
  5.   !set oneitem=oneitem.phtml
  6. !else
  7.   !set oneitem=./adm/oneitem.phtml
  8. !endif
  9. </div><!--end of wimsbody-->
  10. </div><!--end of wimspagebox-->
  11. !if $wims_lightpopup=yes
  12.    <div id="wimstailbox">
  13.    <div class="wimstail">
  14.    <div class="tailitem">
  15.    </div><!--tailitem-->
  16.  <div class="tailitem">
  17.   $wims_name_devwims
  18.  </div><!--tailitem-->
  19.  <div class="tailitem">
  20.   $wims_name_Author: $module_author
  21.  </div><!--tailitem-->
  22. </div><!--wimstail-->
  23. </div><!--wimstailbox-->
  24.  
  25.  <div class="spacer"></div>
  26.  
  27. </div> <!-- end of wimsbodybox-->
  28. </div> <!-- end of wimslightpopup-->
  29. </div> <!-- end of wimsdoc-->
  30.   !exit
  31. !endif
  32.  
  33. <div id="wimsmenubox">
  34. <div class="wimsmenu">
  35. !if $job=read
  36. !if ($wims_class!=$empty and $wims_user!=supervisor)
  37. </div><!--end of wimsmenu-->
  38. </div><!--end of wimsmenubox-->
  39.  
  40.   <div class="spacer"></div>
  41.  
  42. </div><!-- end ofwimsbodybox-->
  43. </div><!--end of wimsdoc-->
  44.  !exit
  45. !endif
  46. !endif
  47.  
  48. !if help isin $wims_session
  49.  <div class="menuitem">
  50.  !href cmd=reply&job=source $n_source0
  51.  </div>
  52.  !goto end
  53. !endif
  54. !if $wims_rm_0!=$empty
  55. <div id="wimsmenumodubox">
  56. <div class="wimsmenu">
  57.  !for i_=1 to $wims_homeref_n0
  58.   !set 1_=!line $i_ of $wims_rm_0
  59.   !if $(1_[1])=
  60.    <div class="itemsep"></div>
  61.   !else
  62.    <div class="menuitem">
  63.      !read oneitem.phtml $1_
  64.    </div>
  65.   !endif
  66.  !next i_
  67. </div><!--wimsmenu-->
  68. </div><!--wimsmenumodubox-->
  69. !endif
  70.  
  71. !if $editable=yes
  72. <div class="menuitem">
  73.  !read $oneitem properties,1,cmd=reply&job=prop
  74.  !!href cmd=reply&job=prop $n_properties
  75. </div>
  76. <div class="menuitem">
  77. !read $oneitem doch_upload,1,cmd=reply&job=file
  78. !!!href cmd=reply&job=file $wims_name_doch_upload
  79. </div>
  80. !endif
  81.  !!!href cmd=reply&job=source $n_source0
  82. !if $wims_developer!=$empty and COPYING isin $module_copyright
  83.  !set V_=!char 1 of $module
  84.  !set M_=!translate internal / to , in $module
  85.  !set M_=!item 1 of $M_
  86.  !if $V_ isin ABCDEFGHIJKLMNOPQRTSUVWXYZ or $M_ iswordof local contrib tool
  87.   <div class="menuitem">
  88.   !read $oneitem modify,1,module=adm/modtool&original=$module
  89.   !!!href module=adm/modtool&original=$module $wims_name_modify
  90.   </div>
  91.  !endif
  92. !endif
  93. !if ($wims_user=supervisor or $wims_developer!=$empty) and $sheetdata!=$empty and $job!=exosource
  94. <div class="menuitem">
  95.  !read oneitem.phtml shsource,1,cmd=reply&job=exosource
  96. </div>
  97. !endif
  98. !if $wims_user=supervisor and _adm/doc notin _$module and $job!=exosource
  99. <div class="menuitem">
  100.  !read oneitem.phtml adddoc,1,module=adm/class/adddoc&dir=$module
  101. </div>
  102. !endif
  103.  
  104. !goto end
  105. !endif job=read
  106.  
  107. !if $job=exosource
  108. <div class="menuitem">
  109. !read $oneitem doch_back,1,cmd=reply&job=read
  110. </div>
  111. !goto end
  112. !endif job=exosource
  113.  
  114. !if $job=print
  115. <div class="menuitem">
  116. !read $oneitem doch_interactive,1,cmd=reply&job=read&doc=$doc&block=$startblock
  117. </div>
  118. !if $wims_user=supervisor and $sheetdata!=$empty
  119. <div class="menuitem">
  120.  !read $oneitem source,1,cmd=reply&job=exosource&block=$startblock
  121.  </div>
  122. !endif
  123. !goto end
  124. !endif job=print
  125.  
  126. :end
  127. </div><!--end of wimsmenu-->
  128. </div><!--end of wimsmenubox-->
  129.  
  130.  <div class="spacer"></div>
  131.  
  132. </div><!-- end ofwimsbodybox-->
  133. <div id="wimstailbox">
  134. <div class=wimstail>
  135. <div class="tailitem">
  136. !href module=home WIMS
  137.  @
  138. <a href="http://$httpd_HTTP_HOST/">$httpd_HTTP_HOST</a>
  139. </div>
  140. <div class="tailitem">$n_by
  141.  !if $email=$empty
  142.   $author
  143.  !else
  144.   !mailurl $email $author
  145.  !endif
  146.  $n_lastmod $datm
  147. </div>
  148.  
  149. </div><!--end of wimstail-->
  150. </div><!--end of wimstailbox-->
  151. !if $job iswordof read print
  152.  </div><!--end of wimsdoc-->
  153. !endif
  154. <!-- end of doctail.phtml-->
  155.  
  156.