Subversion Repositories wimsdev

Rev

Rev 14719 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <h1 class="wims_docu_title">$tit</h1>
  2. <div class="wims_content">
  3.   !if $editable=yes
  4.     <span class="float_right">
  5.     !if $block=main
  6.       !set wims_ref_class=wims_button icon_button
  7.       !href cmd=reply&job=prop <span class="properties">$n_properties</span>
  8.       !set wims_ref_class=wims_button icon_button wims_warning
  9.       !href cmd=reply&job=erase <span class="trash">$wims_name_erase</span>
  10.     !else
  11.       !set wims_ref_class=wims_button
  12.       !href cmd=reply&job=list $n_otherblocks
  13.     !endif
  14.     </span>
  15.   !endif
  16.   !if $error!=$empty
  17.     <div class="wims_msg alert">
  18.       !read docu/$modu_lang/msg.phtml
  19.     </div>
  20.   !endif
  21.  
  22.   !if $titb=$empty
  23.     <p>
  24.     $name_noncreate
  25.     !if $editable=yes
  26.       !href cmd=reply&job=edit&block=$block $n_create2
  27. .
  28.     !endif
  29.     </p>
  30.     !goto end
  31.   !endif
  32.  
  33.   !if $datetest!=0
  34.     <div class="wims_msg warning">
  35.       !if $datetest<0
  36.         $name_noread
  37.       !endif
  38.       !if $datetest>0
  39.         $name_expired
  40.       !endif
  41.     </div>
  42.     !goto end
  43.   !endif
  44.  
  45.   <h2 class="wims_docu_titleb">$titb
  46.   !if $editable=yes
  47.     <span class="small">[
  48.     !href cmd=reply&job=edit&doc=$doc&block=$block $wims_name_Edit
  49.     ]</span>
  50.   !endif
  51.   </h2>
  52.  
  53.   !read $docdir/$doc/$block.def content
  54. :end
  55. </div>
  56.  
  57. !if $doctype=class and $editable=yes
  58.   !set wims_menu_items=!append line properties,1,cmd=reply&job=prop\
  59. doch_upload,1,cmd=reply&job=file\
  60. to $wims_menu_items
  61. !endif
  62.  
  63.