Rev 15987 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13178 | czzmrn | 1 | !if $(module_description_$moduclass_lang)!=$empty |
2 | !set module_description=$(module_description_$moduclass_lang) |
||
3 | !endif |
||
1406 | bpr | 4 | !read adm/title.phtml 1\ |
4025 | bpr | 5 | $classname\ |
1406 | bpr | 6 | $module_description\ |
7 | $wims_name_sequence $seq |
||
8 | |||
9 | $name_addseq |
||
10 | |||
12004 | obado | 11 | !! Read some translation vars (like $C_A) |
12 | !readproc adm/search_engine/names.$lang |
||
13 | |||
11851 | bpr | 14 | !set data=!record 1 of wimshome/log/classes/$wims_class/seq/.sequence$seq |
15 | !form reply |
||
11848 | bpr | 16 | <label for="seq_title">$wims_name_title</label>: <input id="seq_title" name="seq_title" size="12" value="$(data[1;])" /> |
12004 | obado | 17 | $ |
18 | <label for="seq_desc"> $wims_name_Description</label>: <input id="seq_desc" name="seq_desc" size="20" value="$(data[2;])" /> |
||
19 | $ |
||
20 | <label for="visible">$wims_name_Status</label>: |
||
14268 | obado | 21 | !set visible=$(data[4;]) |
16156 | guerimand | 22 | !formselect visible list 0,1 prompt $wims_name_shstatus[0..1] |
11851 | bpr | 23 | $table_header |
12004 | obado | 24 | <caption>$wims_name_Docs, $wims_name_Votes & $C_A</caption> |
14268 | obado | 25 | |
12338 | bpr | 26 | $table_hdtr<th scope="col">$wims_name_title</th> |
27 | <th scope="col">$wims_name_Status</th> |
||
14268 | obado | 28 | <th scope="col">$wims_name_Position</th></tr> |
13669 | bpr | 29 | |
14268 | obado | 30 | !set listc=!filelist $wims_home/log/classes/$wims_class/doc |
31 | !set listc=!replace internal c by in $listc |
||
32 | !set listc=!lines2items $listc |
||
33 | !set listc=!sort numeric items $listc |
||
34 | |||
12335 | bpr | 35 | !for i=1 to $doccnt |
36 | !set ci_=!item $(wims_sort_order[$i]) of $listc |
||
37 | !set sh=!record $ci_ of wimshome/log/classes/$wims_class/doc/.index |
||
38 | !distribute lines $sh into s_,t_,bidon,bidon,bidon,o_ |
||
39 | !set ss_=!replace internal c by c$ $ in $s_ |
||
40 | !set c_$i=!positionof item $ss_ in $(data[3;]) |
||
41 | !set ss_=!replace internal c by c_ in $s_ |
||
13669 | bpr | 42 | !if $s_!= |
43 | $table_tr |
||
44 | <td> |
||
45 | <label for="$ss_"> |
||
14268 | obado | 46 | !set wims_ref_class=wims_doc_item |
47 | !href module=adm/doc&job=read&doc=$s_&block=main $t_ |
||
13669 | bpr | 48 | </label> |
49 | </td><td class="wims_status_$o_"> |
||
14268 | obado | 50 | !item $[$o_+1] of $wims_name_status |
51 | !set wims_ref_class=wims_button |
||
52 | !href module=adm/doc&job=prop&doc=$s_ $wims_name_change |
||
13669 | bpr | 53 | </td><td> |
54 | <input type="number" name="$ss_" size="5" value="$(c_$i)" id="$ss_" /> |
||
55 | </td> |
||
56 | </tr> |
||
57 | !endif |
||
12335 | bpr | 58 | !next i |
14268 | obado | 59 | |
12335 | bpr | 60 | !for i=1 to $docpubliccnt |
61 | !set sh=!record $i of wimshome/log/classes/$wims_class/doc/.docindex |
||
62 | !distribute lines $sh into s_,t_,ti,d_,o_ |
||
63 | $table_tr |
||
64 | <td> |
||
14268 | obado | 65 | !set wims_ref_class=wims_doc_item |
12335 | bpr | 66 | <label for="doc_$i"> |
14268 | obado | 67 | !href module=$s_&$t_ $ti |
68 | </label> |
||
69 | </td><td class="wims_status_$o_"> |
||
70 | !item $[$o_+1] of $wims_name_status |
||
71 | !set wims_ref_class=wims_button |
||
72 | !href module=adm/class/adddoc&job=prop&doc=$i $wims_name_change |
||
73 | </td><td> |
||
74 | !set doc_$i=!positionof item doc $i in $(data[3;]) |
||
75 | <input type="number" name="doc_$i" size="5" value="$(doc_$i)" id="doc_$i" /> |
||
76 | </td> |
||
77 | </tr> |
||
12335 | bpr | 78 | !next i |
14268 | obado | 79 | |
12335 | bpr | 80 | !for i=1 to $sheetcnt |
81 | !set sh=!record $i of wimshome/log/classes/$wims_class/sheets/.sheets |
||
82 | !distribute lines $sh into ac,t_,ti |
||
83 | $table_tr |
||
84 | <td> |
||
14268 | obado | 85 | !set wims_ref_class=wims_sheet_item |
12335 | bpr | 86 | <label for="sheet_$i"> |
14268 | obado | 87 | !href module=adm/class/sheet&sheet=$i $ti |
12335 | bpr | 88 | </label> |
89 | </td><td class="wims_status_$ac"> |
||
90 | $(wims_name_shstatus[$ac+1]) |
||
91 | </td><td> |
||
14268 | obado | 92 | !set sheet_$i=!positionof item sheet $i in $(data[3;]) |
12335 | bpr | 93 | <input type="number" name="sheet_$i" size="5" value="$(sheet_$i)" id="sheet_$i" /> |
94 | </td> |
||
95 | </tr> |
||
96 | !next i |
||
14268 | obado | 97 | |
14769 | guerimand | 98 | !!set examcnt=!recordcnt wimshome/log/classes/$wims_class/exams/.exams |
12335 | bpr | 99 | !for i=1 to $examcnt |
100 | !set sh=!record $i of wimshome/log/classes/$wims_class/exams/.exams |
||
101 | !distribute lines $sh into ac,t_,d_,ti |
||
102 | $table_tr |
||
14268 | obado | 103 | <td> |
104 | <label for="exam_$i"> |
||
105 | !set wims_ref_class=wims_exam_item |
||
106 | !href module=adm/class/exam&exam=$i $ti |
||
107 | </label> |
||
108 | </td><td class="wims_status_$ac"> |
||
109 | $(wims_name_shstatus[$ac+1]) |
||
110 | </td><td> |
||
111 | !set exam_$i=!positionof item exam $i in $(data[3;]) |
||
112 | <input type="number" name="exam_$i" size="5" value="$(exam_$i)" id="exam_$i"/> |
||
113 | </td> |
||
114 | </tr> |
||
12335 | bpr | 115 | !next i |
14268 | obado | 116 | |
14769 | guerimand | 117 | !!set votecnt=!recordcnt wimshome/log/classes/$wims_class/vote/.votes |
12335 | bpr | 118 | !for i=1 to $votecnt |
119 | !set sh=!record $i of wimshome/log/classes/$wims_class/vote/.votes |
||
120 | !distribute lines $sh into st_,ti_,op_,re_ |
||
121 | $table_tr |
||
122 | <td> |
||
123 | <label for="vote_$i"> |
||
14268 | obado | 124 | !set wims_ref_class=wims_vote_item |
125 | !href module=adm/vote&job=read&vote=$i $ti_ |
||
12335 | bpr | 126 | </label> |
127 | </td><td class="wims_status_$st_"> |
||
128 | $(wims_name_status[$st_+1]) |
||
129 | </td><td> |
||
14268 | obado | 130 | !set vote_$i=!positionof item vote $i in $(data[3;]) |
12335 | bpr | 131 | <input type="number" name="vote_$i" size="5" value="$(vote_$i)" id="vote_$i"/> |
132 | </td> |
||
133 | </tr> |
||
134 | !next i |
||
14268 | obado | 135 | |
12338 | bpr | 136 | !for i=1 to $toolcnt |
137 | !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.toolindex |
||
138 | !distribute lines $sh into s_,t_,ti,d_,o_ |
||
139 | $table_tr |
||
140 | <td> |
||
141 | <label for="tool_$i"> |
||
14268 | obado | 142 | !set wims_ref_class=wims_tool_item |
143 | !href module=$s_&$t_ $ti |
||
12338 | bpr | 144 | </label> |
145 | </td><td class="wims_status_$o_"> |
||
14268 | obado | 146 | !item $[$o_+1] of $wims_name_status |
147 | !set wims_ref_class=wims_button |
||
148 | !href module=adm/class/adddoc&job=prop&tool=$i $wims_name_change |
||
12338 | bpr | 149 | </td><td> |
14268 | obado | 150 | !set doc_$i=!positionof item tool $i in $(data[3;]) |
151 | <input type="number" name="tool_$i" size="5" value="$(tool_$i)" id="tool_$i" /> |
||
152 | </td> |
||
153 | </tr> |
||
12338 | bpr | 154 | !next i |
14268 | obado | 155 | |
12569 | bpr | 156 | !for i=1 to $glossarycnt |
157 | !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.glossaryindex |
||
158 | !distribute lines $sh into o_,ti |
||
159 | $table_tr |
||
160 | <td> |
||
161 | <label for="glossary_$i"> |
||
14268 | obado | 162 | !set wims_ref_class=wims_glossary_item |
163 | !href module=adm/tool/glossary&gl=$i $ti |
||
12569 | bpr | 164 | </label> |
165 | </td><td class="wims_status_$o_"> |
||
14268 | obado | 166 | !item $[$o_+1] of $wims_name_status |
167 | !set wims_ref_class=wims_button |
||
168 | !href module=adm/class/glossary&job=chstatus&gl=$i $wims_name_change |
||
12569 | bpr | 169 | </td><td> |
14268 | obado | 170 | !set glossary_$i=!positionof item glossary $i in $(data[3;]) |
171 | <input type="number" name="glossary_$i" size="5" value="$(glossary_$i)" id="glossary_$i" /> |
||
172 | </td> |
||
12569 | bpr | 173 | </tr> |
174 | !next i |
||
14268 | obado | 175 | |
14769 | guerimand | 176 | !for i=1 to $freeworkcnt |
177 | !set sh=!record $i of wimshome/log/classes/$wims_class/freeworks/.freeworks |
||
178 | !distribute lines $sh into o_,bl,ti |
||
179 | $table_tr |
||
180 | <td> |
||
181 | <label for="freework_$i"> |
||
182 | !set wims_ref_class=wims_freework_item |
||
183 | !href module=adm/class/freework/&freework=$i $ti |
||
184 | </label> |
||
185 | </td><td class="wims_status_$o_"> |
||
186 | $(wims_name_shstatus[$o_+1]) |
||
187 | </td><td> |
||
188 | !set freework_$i=!positionof item freework $i in $(data[3;]) |
||
189 | <input type="number" name="freework_$i" size="5" value="$(freework_$i)" id="freework_$i" /> |
||
190 | </td> |
||
191 | </tr> |
||
192 | !next i |
||
193 | |||
194 | |||
14268 | obado | 195 | $table_end |
196 | <div class="wimscenter wimsform"><input type="submit" value="$wims_name_tosave" /></div> |
||
5926 | bpr | 197 | !formend |