Subversion Repositories wimsdev

Rev

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

  1. <h1 class="wims_docu_title">$tit</h1>
  2.  
  3. !if $error!=$empty
  4.   <div class="wims_msg alert">
  5.   !read docu/$modu_lang/msg.phtml
  6.   </div>
  7.  
  8. !endif
  9.  
  10. !if $edtype=file
  11.   !set wims_form_method=file
  12. !else
  13.   !set wims_form_method=post
  14. !endif
  15. !form reply
  16. <input type="hidden" name="doc" value="$doc">
  17. <input type="hidden" name="block" value="$block">
  18.  
  19. <fieldset class="property_fields blockcenter">
  20. <legend>
  21.   !if $titb=$empty
  22.     $name_blockcreation
  23.   !else
  24.     $name_blockedition
  25.   !endif
  26. </legend>
  27. <div class="field box fullwidth">
  28.   !set titb=!reinput $titb
  29.   <label for="Titb">$wims_name_title</label>
  30.   <input type="text" id="Titb" name="Titb" value="$titb">
  31. </div>
  32. <div id="textDiv" class="field box fullwidth">
  33.   !if $edtype=file
  34.     <div class="float_right">
  35.       !href cmd=reply&edtype=textarea $name_compose
  36.     </div>
  37.     <label for="wims_deposit">$name_file</label><br>
  38.     <input type="file" name="wims_deposit" id="wims_deposit">
  39.     !if $titb!=$empty
  40.       <p>
  41.         <label for="addtype">$name_prompt0</label>
  42.         !formselect addtype list replace,append,prepend prompt\
  43.          $name_prompt
  44.         $name_prompt1.
  45.       </p>
  46.     !endif
  47.   !else
  48.     <div class="float_right">
  49.       !href cmd=reply&edtype=file $name_file
  50.     </div>
  51.     <label for="doc_content">$n_content</label>
  52.     !mexec scripts/textarea.sh
  53.     !!  <div id="handleBottom" style="width:100%; top:222px;"></div>
  54.     <script>
  55.     /*<![CDATA[*/
  56.       markdown_toolbar = new Control.TextArea.ToolBar.Markdown('doc_content');
  57.       markdown_toolbar.toolbar.container.id = 'markdown_toolbar';
  58.     /*]]>*/
  59.     </script>
  60.   !endif
  61. </div>
  62.  
  63. <div class="field box">
  64.   $name_dates$wims_punct_colon<br>
  65.   <label for="Dat1">$name_from</label>
  66.   !read adm/datepickerform.phtml $dat1\
  67. Dat1\
  68. "-1d"
  69.   <label for="Dat2">$name_to</label>
  70.   !read adm/datepickerform.phtml $dat2\
  71. Dat2\
  72. "-1d"
  73.   <div class="formHelp">(aaaammjj)</div>
  74. </div>
  75.  
  76. !! $wims_name_Keywords : <input size="50" name="Keyw" value="$keyw"> <br>
  77. !if $block!=main
  78.   <div class="field box">
  79.     <label for="Prev">$name_prev</label> <input size="12" name="Prev" id="Prev" value="$prev">
  80.     <label for="Next">$name_next</label> <input size="12" name="Next" id="Next" value="$next">
  81.     <label for="Upbl">$name_up</label> <input size="12" name="Upbl" id="Upbl" value="$upbl">
  82.   </div>
  83. !endif
  84.  
  85. </fieldset>
  86.  
  87. <div class="wimscenter">
  88.   <input type="submit" name="preview" value="$n_preview">
  89.   <input type="submit" name="rEg" value="$wims_name_tosave">
  90.   <input type="submit" name="abandon" value="$wims_name_giveup" class="wims_secondary_button">
  91. </div>
  92.  
  93. !formend
  94.