Subversion Repositories wimsdev

Rev

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