Subversion Repositories wimsdev

Rev

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