Subversion Repositories wimsdev

Rev

Rev 14719 | Rev 17231 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1185 bpr 1
<h1 class="wims_docu_title">$tit</h1>
23 reyssat 2
 
3
!if $error!=$empty
12490 bpr 4
  <div class="wims_msg alert">
5
  !read docu/$modu_lang/msg.phtml
6
  </div>
6685 bpr 7
 
23 reyssat 8
!endif
9
 
10
!if $edtype=file
12490 bpr 11
  !set wims_form_method=file
23 reyssat 12
!else
12490 bpr 13
  !set wims_form_method=post
23 reyssat 14
!endif
15
!form reply
6235 bpr 16
<input type="hidden" name="doc" value="$doc" />
17
<input type="hidden" name="block" value="$block" />
23 reyssat 18
 
14719 obado 19
<fieldset class="property_fields blockcenter">
13748 obado 20
<legend>
21
  !if $titb=$empty
22
    $name_blockcreation
23
  !else
24
    $name_blockedition
25
  !endif
26
</legend>
14002 bpr 27
<div class="field box fullwidth">
13748 obado 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>
14726 bpr 32
<div id="textDiv" class="field box fullwidth">
13748 obado 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>
1692 bpr 62
 
13748 obado 63
<div class="field box">
14719 obado 64
  $name_dates$wims_punct_colon<br/>
13748 obado 65
  <label for="Dat1">$name_from</label>
14719 obado 66
  !read adm/datepickerform.phtml $dat1\
67
Dat1\
68
"-1d"
13748 obado 69
  <label for="Dat2">$name_to</label>
14719 obado 70
  !read adm/datepickerform.phtml $dat2\
71
Dat2\
72
"-1d"
73
  <div class="formHelp">(aaaammjj)</div>
13748 obado 74
</div>
23 reyssat 75
 
6235 bpr 76
!! $wims_name_Keywords : <input size="50" name="Keyw" value="$keyw" /> <br />
23 reyssat 77
!if $block!=main
13748 obado 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>
23 reyssat 83
!endif
2259 bpr 84
 
13748 obado 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
 
5927 bpr 93
!formend