Subversion Repositories wimsdev

Rev

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

Rev Author Line No. Line
23 reyssat 1
!if class = $doctype
2
 !defread wimshome/log/classes/$wims_class/.def
3
 !default author=$class_supervisor
4
 !default email=$class_email
5
!endif
6
 
7
!set wims_form_method=post
8
!form reply
7242 obado 9
<fieldset class="property_fields halfwidth blockcenter">
10
        <legend>Document properties</legend>
11
        <div class="field box">
12
                <label for="titr">$wims_name_title</label>
13
                <div class="formHelp"><!--here a small help for this field--></div>
14
                <input type="text" size="40" id="titr" name="titr" value="$tit" />
15
        </div>
16
        <div class="field box">
17
                <label for="descr">$wims_name_Description</td>
18
                <div class="formHelp"><!--here a small help for this field--></div>
19
                <input type="text" size="40" id="descr" name="descr" value="$desc" />
20
        </div>
21
        <div class="field box">
22
                <label for="authorr">$wims_name_Author</td>
23
                <div class="formHelp">($wims_name_firstname,$wims_name_lastname)</div>
24
                <input type="text" size="40" id="authorr" name="authorr" value="$author" />
25
        </div>
26
        <div class="field box">
27
                <label for="emailr">$wims_name_email</td>
28
                <div class="formHelp"><!--here a small help for this field--></div>
29
                <input type="text" size="40" id="emailr" name="emailr" value="$email" />
30
        </div>
31
        <div class="field box">
32
                <label for="headerr">$n_header</label>
33
                <div class="formHelp">(css, js, etc.)</div>
34
                !set header=!translate internal $       $ to $\
23 reyssat 35
$ in $header
7242 obado 36
                !set hl=!linecnt $header
37
                !set hr=$[max(3,min($hl+2,10))]
38
                !set header=!reinput $header
39
                <textarea cols="40" rows="$hr" id="headerr" name="headerr">$header</textarea>
40
        </div>
41
 
42
        !reset headerr
43
        !set doctocr=$doctoc
44
        <div class="field box">
45
                <strong class="radio_label">$n_doctoc</strong>
46
                        !set wims_target=wims_internal
47
                !set wims_ref_class=wims_button_help float_right
48
                        !href cmd=reply&doc=$helpd&block=main&job=read&block=toc $wims_name_help
49
                <div class="formHelp"><!--here a small help for this field--></div>
50
                !formradio doctocr list yes,no prompt $wims_name_yes,$wims_name_no
51
        </div>
52
        !set docopenr=$docopen
53
        !default docopenr=0
54
 
7243 obado 55
!if class != $doctype
7242 obado 56
        <div class="field box">
57
                <label for="copyrightr">$wims_name_Copyright:</label>
58
                <div class="formHelp"><!--here a small help for this field--></div>
59
                !set copyrightr=$copyright
60
                !default copyrightr=gnu
61
                !formselect copyrightr list gnu,opl,private prompt\
62
                        GNU Free Documentation License,\
63
                        Open Publication License,\
64
                        $n_copyright2
65
        </div>
66
        <div class="field box">
67
                <label for="docopenr">$name_public</label>
68
                <div class="formHelp"><!--here a small help for this field--></div>
69
                !formselect docopenr list yes,no prompt $wims_name_yes, $wims_name_no
70
        </div>
71
        <div class="field box">
72
                <label for="dlangr">$wims_name_Language:</label>
73
                <div class="formHelp">(all en fr es it de cn ca nl)</div>
74
                !default dlang=all
75
                <input size="14" id="dlangr" name="dlangr" value="$dlang" />
76
        </div>
77
        !if $job=creat
78
                <div class="field box">
79
                        <label for="coder">$n_codedoc:</label>
80
                        <input type="password" size="$codemax" maxlength="$codemax" id="coder" name="coder" />
81
                        <label for="coder2">$name_code5:</label>
82
                        <input type="password" size="$codemax" maxlength="$codemax" id="coder2" name="coder2" />
83
                        <div class="formHelp">$name_code4</div>
84
                </div>
85
        !endif
7243 obado 86
!else
7242 obado 87
        <div class="field box">
88
                <label for="docopenr">$name_participant</label>
89
                <div class="formHelp"><!--here a small help for this field--></div>
90
                !formselect docopenr list 0,1,2 prompt \
91
$wims_name_Docstatus
92
        </div>
7243 obado 93
!endif
7242 obado 94
 
95
</fieldset>
5894 bpr 96
<p class="wimscenter wimsform">
7242 obado 97
 <input type="submit" id="rEg" name="rEg" value="$wims_name_tosave" />&nbsp;
98
 <input type="submit" id="abandon" name="abandon" value="$wims_name_giveup" />
5894 bpr 99
</p>
23 reyssat 100
 
5927 bpr 101
!formend
102
 
23 reyssat 103
<p>
7242 obado 104
        !if class != $doctype
105
                !read lang/names.phtml.$modu_lang public
106
        !else
107
                $name_visible
108
        !endif
109
</p>