Subversion Repositories wimsdev

Rev

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